Commit graph

259 commits

Author SHA1 Message Date
rstiskalek
b49d9852ff Add new flags 2023-10-20 14:48:12 +01:00
rstiskalek
5fcf10ba19 Fix flipping 2023-10-20 14:48:00 +01:00
rstiskalek
b756a72251 Add ordered caching 2023-10-20 10:28:15 +01:00
rstiskalek
afb5ace871 Updates to halo catalogues 2023-10-19 22:08:01 +01:00
rstiskalek
05650346fc Add flipping of X and Z 2023-10-19 22:04:50 +01:00
rstiskalek
4edee593d0 Remove 0th index HID 2023-10-19 21:59:16 +01:00
rstiskalek
f7ebb05567 Add basic reading 2023-10-19 21:53:43 +01:00
rstiskalek
630c64cc11 Delete boring comments 2023-10-19 16:25:48 +01:00
rstiskalek
692a50ee1a Improve ultimate clumps for PHEW 2023-10-19 16:23:59 +01:00
rstiskalek
e5815b83be Delete boring comments 2023-10-19 14:11:38 +01:00
rstiskalek
154e7375d1 Bug fixing 2023-10-19 14:05:49 +01:00
rstiskalek
637b31cf44 Fix key bug 2023-10-19 13:57:15 +01:00
rstiskalek
6eaeff2c7c Fix little typos 2023-10-19 13:40:51 +01:00
rstiskalek
58b47547e3 Simplify print statements 2023-10-18 19:37:45 +01:00
rstiskalek
ab3ad46128 Enforce dtype and add mass to quijote 2023-10-18 19:37:27 +01:00
rstiskalek
7f67c99fbb Clean up imports 2023-10-18 19:25:13 +01:00
rstiskalek
1f5b9ea57d Add new ordering 2023-10-18 19:24:19 +01:00
rstiskalek
861c463b5f Disable boundscheck 2023-10-18 19:23:49 +01:00
rstiskalek
2ee1367ab4 Update readers 2023-10-18 19:23:36 +01:00
rstiskalek
4b038e8d01 Add printing 2023-10-18 16:30:45 +01:00
rstiskalek
960c8b5945 Move old scripts 2023-10-18 16:30:31 +01:00
rstiskalek
162524e969 Simplify box units 2023-10-18 10:41:17 +01:00
Richard Stiskalek
5500fbd2b9
Matching paper plots (#91)
* Fix calculations of expected mass

* Add paper plots

* Edits to pltos

* Add overlap summary

* Add imports

* Add import

* Add binned stat

* Add fit

* Add more plots

* Add basic env

* Add histogram mode

* Edit expected mass

* Improve expected plots

* Clean up plot

* Improve separation plot

* Update plots

* Edit expected calculation

* Update plotting

* Update plots

* Update plots

* Update plots

* Add conc fraction

* Add halo maker sorting

* Renaming

* Add import

* Add NaN treatment

* add import

* Move cosine smi

* Update plots

* Move similarity

* Fix little bugs

* Shorten documentation

* Update plots
2023-10-17 12:11:15 +01:00
rstiskalek
136c552369 Update dumping 2023-09-05 14:55:31 +01:00
rstiskalek
a63b51bef1 Edit pos 2023-09-05 14:14:28 +01:00
Richard Stiskalek
9a2188348b
Quick environmental dependence (#90)
* Improve field interpolator

* Update imports
2023-09-05 14:05:34 +01:00
rstiskalek
8f3220bff7 Update dumping 2023-09-05 10:36:15 +01:00
rstiskalek
f135a69b40 Little bug 2023-09-04 14:27:14 +01:00
Richard Stiskalek
9ae93bed14
Add dumping to ASCII of halos (#89)
* Rename file

* Add argument

* Add ASCII positions paths

* Add halo positions dumping

* Update halo catalogues
2023-09-03 12:11:39 +01:00
Richard Stiskalek
eccd8e3507
Add galaxy sampling (#88)
* Improve calculations

* Improve flags

* Add smoothed options

* Remove some old comments

* Edit little things

* Save smoothed

* Move files

* Edit imports

* Edit imports

* Renaming imports

* Renaming imports

* Sort imports

* Sort files

* Sorting

* Optionally make copies of the field

* Add quijote backup check

* Add direct field smoothing

* Shorten stupid documentation

* Shorten stupid docs

* Update conversion

* Add particles to ASCII conversion

* Add a short comment

* Add SDSS uncorrected distance

* Adjust comment

* Add FITS index to galaxies

* Remove spare space

* Remove a stupid line

* Remove blank line

* Make space separated

* Add interpolated field path

* Add field sampling

* Sort imports

* Return density in cells

* Clear out observer velocity

* Add 170817 sampling

* Fix normalization

* Update plot
2023-09-01 16:29:50 +01:00
Richard Stiskalek
0af925e26a
Minor code improvements (#87)
* Shorten docs

* Renames
2023-08-31 09:57:53 +01:00
Richard Stiskalek
ae92fd9b72
Velocity observer (#86)
* Continue if r200c not defined

* Remove smooth scale

* Remove smooth scale

* Edit Max Matching plot

* Add peculiar velocity

* Add Vobs calculation

* Edit docs

* Add Vobs plot

* Improve plotting

* Edit naming convention

* Make a note

* Add new cat options

* Update density field RSP calculation

* Update field 2 rsp

* Move functions and shorten documentation

* Improve transforms and comments

* Update docs

* Update imports

* Edit calculation

* Add docs

* Remove imports

* Add Quijote flags

* Edit documentation

* Shorten documentation

* Edit func calls

* Shorten

* Docs edits

* Edit docs

* Shorten docs

* Short docs edits

* Simplify docs a little bit

* Save plotting

* Update env
2023-08-30 23:27:20 +01:00
Richard Stiskalek
8e3127f4d9
New plots (#85)
* Update verbosity messages

* Update verbosity messags

* Update more verbosity flags

* Update the iterator settings

* Add basic plots

* Update verbosity flags

* Update arg parsre

* Update plots

* Remove some older code

* Fix some definitions

* Update plots

* Update plotting

* Update plots

* Add support functions

* Update nb

* Improve plots, move back to scripts

* Update plots

* pep8

* Add max overlap plot

* Add blank line

* Upload changes

* Update changes

* Add weighted stats

* Remove

* Add import

* Add Max's matching

* Edit submission

* Add paths to Max's matching

* Fix matching

* Edit submission

* Edit plot

* Add max overlap separation plot

* Add periodic distance

* Update overlap summaries

* Add nsim0 for Max matvhing

* Add Max's agreement plot

* Add Quijote for Max method

* Update ploitting

* Update name
2023-08-18 19:20:47 +01:00
rstiskalek
ca3772ac6f Make copy 2023-08-08 12:15:59 +01:00
rstiskalek
36f4177f6b Add some blank spaces 2023-08-08 11:48:31 +01:00
rstiskalek
7ef36c7ac0 Add mass to name 2023-08-08 11:46:56 +01:00
rstiskalek
6ba0c04ab8 Add mass to name 2023-08-08 11:46:46 +01:00
Richard Stiskalek
c7b600d0ad
Periodic neighbours (#84)
* Edit the HMF plot

* Add periodic dist 2 points

* Add boxsize to RVSSphere

* Add periodic distance

* Adding periodic distance

* Add imports

* Change arguments

* Update bounds

* Lower min number of particles

* Change kwargs

* Add paths overlap quijote

* Add some comments
2023-08-08 12:19:40 +02:00
rstiskalek
c7e447df01 Add blank line 2023-08-07 10:38:37 +01:00
Richard Stiskalek
f4a7cb0d16
Remove halo fitting. (#83)
* Rename file

* Remove old content

* Remove halo fit

* Completely remove fits

* Add utils here

* Account for renaming
2023-08-07 11:33:27 +02:00
rstiskalek
ff395af148 Little changes to plotting 2023-08-04 09:26:28 +01:00
Richard Stiskalek
99d0232d7d
Update plots (#82) 2023-07-31 21:44:58 +02:00
rstiskalek
46848a86eb Edit docs 2023-07-31 20:23:56 +01:00
rstiskalek
f21abc28e7 Add lower and upper limits 2023-07-31 20:13:10 +01:00
harrydesmond
f6ad3b152d
Update README.md (#81) 2023-07-31 20:41:51 +02:00
Richard Stiskalek
344ff8e091
Fixing overlaps and halo definitions. (#80)
* Add imports

* Refactor code

* Rename fof velocities

* Clean up and add Quijote

* Edit docstrings

* Update submission script

* Fix bug

* Start loading fitted properties

* Edit docstrings

* Update fitting for new `halo`

* Update CM definition and R200c

* Tune the minimum number of particles

* Enforce crossing threshold & tune hypers

* Fix periodiity when calculating angmom

* Doc strings

* Relax checkip

* Minor edit

* Fix old kwarg bug

* Fix CSiBORG bounds

* Catch warnings!

* Add `mass_kind` and new boundaries
2023-07-31 16:13:21 +02:00
rstiskalek
169a5e5bd7 Fix a small bug in paths 2023-07-29 09:27:45 +01:00
rstiskalek
a1141408ea Add subselection of Quijote snapshots 2023-07-29 09:25:03 +01:00
rstiskalek
ab9002a45a Delete unused import 2023-07-29 09:18:57 +01:00
Richard Stiskalek
5acc4684bb
Edits paths (#79) 2023-07-29 10:16:43 +02:00