Richard Stiskalek
acb8d9571c
Update units to be consistent. ( #78 )
...
* Fix Quijote units
* Updates to units
* Fix how things are loaded
* Updating definitions & conventions
* Clear up how fiducial observers in quijote work
* Refactorize array manip
* Move function definition
* More code refactoring
* Remove unused argument
* Remove `convert_from_box`
* Make a note
* Converting particle units
* Add notes about units
* Remove box constants
* Add rho_crit0
* Fix spherical overdensity mass units
* Refactor more code
* Edit catalogue kwargs
* Edit the docstring
* Edit bounds
* Add new checks for empty array
* Remove unused import
* Remove old code
* Remove old function
* Update real 2 redshift
* Clear up the RSP conv
* Add comments
* Add some units
2023-07-28 21:07:28 +02:00
Richard Stiskalek
fb4b4edf19
Quijote snapshots support ( #77 )
...
* Renaming
* Edit docs
* Delete old function
* Add a blank space
* Rename particle reader
* Add comments
* Rename
* Rename
* edit get_snapshots
* More renaming
* Remove old correction
* Add import
* Add basics of the Quijote reader
* Add a blank space
* Fix paths
* Rename function
* Fix HID and path
* Add more FoF reading
* Move definition
* Adding arguments
* Renaming
* Add kwargs for backward comp
* FoF Quijote return only hids
* Add sorting of quijote
* Add path to CSiBORG ICs snapshot
* Add support for Quijote
* initmatch paths for quijote
* Add kwargs
* Fix blank lines
* Rename kwarg
* Remove unused import
* Remove hardcoded numbers
* Update for Quijote
* Do not store velocities in QUijote ICs
* Box units mass Quijote
* Fix typo
* Ensure particles are not right at the edge
* Add structfit paths for QUuijote
* Basic CSiBORG units
* Add more quijote halo reading
* Add Quijote fitting
* Docs changes
* Docs changes
2023-07-27 18:41:00 +02:00
Richard Stiskalek
e08c741fc8
Improving halo fits ( #76 )
...
* Add periodic distances
* Little corrections
* Fix little bug
* Modernise the script
* Small updates
* Remove clump
* Add new halo routines
* Fix weights
* Modernise the script
* Add check ups on convergence
* More convergence check ups
* Edit bounds
* Add default argument
* Update fit heuristic and NaNs
* Change maxiter
* Switch NFW minimization to log-sapce
* Remove print statement
* Turn convert_from_box abstract property required for all boxes.
* Move files
* Simplify script
* Improve the argument parser
* Remove optinal argument
* Improve argument parser
* Add a minimum concentration limit
2023-07-25 16:12:58 +02:00
Richard Stiskalek
eb8d070fff
CSiBORG FoF switch ( #75 )
...
* Add moving FoF membership files
* add FoF membership path
* Add notes where its PHEW
* Add FoF catalogue path
* Correct typo
* Add more functionalities
* Make work with halo IDs from FoF
* Edit print statement
* Fix copy bug
* copy
* Add FoF catalogue reading
* Clean up script
* Fix typo
* Little edits
* Fix naming convention
* Rename key
* Remove loading substructure particles
* Rename CSiBORG Cat
* Rename clumps cat
* Rename cat
* Remove misplaced import
* Switch to halos
* rm import
* structfit of only halos
* Add FoF halo reading
* Add a short comment
* Fix __getitem__ to work with int
* Fix problems
* Improve __getitem__
* Add more conversion
* Fix indexing
* Fix __getitem__ assertion
* Fix numbers
* Rename
* Fix verbosity flags
* Add full Quijote HMF option
* Add plot of Quijote only
* Add quijote full paths
* Fix the fit_init script
* Renam arg
* Update .gitignore
* add default argument name
* Change default verbosity flag
* Modernise script structure
* Fix dictionary
* Fix reading to include m200c
* Modernise script
* Add args
2023-07-24 14:10:21 +02:00
Richard Stiskalek
2185846e90
CDF for nearest neighbour ( #63 )
...
* Updat ebounds
* fix mistake
* add plot script
* fix which sims
* Add Poisson
* Just docs
* Hide things to __main__
* Rename paths
* Move old script
* Remove radpos
* Paths renaming
* Paths renaming
* Remove trunk stuff
* Add import
* Add nearest neighbour search
* Add Quijote fiducial indices
* Add final snapshot matching
* Add fiducial observer selection
* add boxsizes
* Add reading functions
* Little stuff
* Bring back the fiducial observer
* Add arguments
* Add quijote paths
* Add notes
* Get this running
* Add yaml
* Remove Poisson stuff
* Get the 2PCF script running
* Add not finished htings
* Remove comment
* Verbosity only on 0th rank!
* Update plotting style
* Add nearest neighbour CDF
* Save radial distance too
* Add centres
* Add basic plotting
2023-05-21 22:46:28 +01:00
Richard Stiskalek
1d847cbd06
Add Quijote ( #61 )
...
* Rename paths object
* Remove redshift calculation
* Explicit keywrod arg
* Rename box units
* Basic renaming
* Little docs
* Rename paths
* add imports
* Sort imports
* Add Quijote cat
* Split boxes
* add Quijote path
* Add origin argument
* Update nbs
2023-05-13 17:37:34 +01:00
Richard Stiskalek
b710b8e89c
Add new ICs ( #59 )
...
* edit IC paths
* Remove import
* Edit path
* Change naming
* Add __main__
* Script to match everything
* Edit docs
* Remove test statement
* Move import
* Update nb
2023-05-09 16:18:01 +01:00
Richard Stiskalek
56e39a8b1d
Overlapper improvements ( #53 )
...
* Store indices as f32
* Fix init sorting
* Organise imports
* Rename pathing
* Add particle loading
* Improve particle reading
* Add h5py reader
* edit particle path
* Update particles loading
* update particles loading
* Fix particle dumping
* Add init fitting
* Fix bug due to insufficient precision
* Add commnet
* Add comment
* Add clumps catalogue to halo cat
* Add comment
* Make sure PIDS never forced to float32
* fix pid reading
* fix pid reading
* Update matching to work with new arrays
* Stop using cubical sub boxes, turn off nshift if no smoothing
* Improve caching
* Move function definitions
* Simplify calculation
* Add import
* Small updates to the halo
* Simplify calculation
* Simplify looping calculation
* fix tonew
* Add initial data
* Add skip condition
* Add unit conversion
* Add loading background in batches
* Rename mmain index
* Switch overlaps to h5
* Add finite lagpatch check
* fix column name
* Add verbosity flags
* Save halo IDs instead.
* Switch back to npz
* Delte nbs
* Reduce size of the box
* Load correct bckg of halos being matched
* Remove verbosity
* verbosity edits
* Change lower thresholds
2023-05-06 16:52:48 +01:00
Richard Stiskalek
1a9e6177d7
Switch to h5py format ( #52 )
...
* Edit the particle paths
* Remove script
* Add h5py to dumping
* Minor adjustments
* add h5py support
* remove split path
* h5py support
* Type
* Edit initmatch paths
* Shorten func
* dist_centmass to work with 2D arrays
* Forgot to return the centre of mass
* Fixed code
* Fix halo bug
* Start MPI broadcasting
* Mini bug
* Remove commenting
* Remove test statement
* Fix index
* Printing from rank 0 only
* Move where clump index stored
* Add dtype options
* Add dtype options
2023-05-02 13:57:13 +01:00
Richard Stiskalek
f48eb6dcb0
Dump radial profile information ( #48 )
...
* add radial position path
* pep8
* Add basic fit profile dumping
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* Update TODO
* Fix parts is None bug
* Update nb
2023-04-27 00:18:30 +01:00
rstiskalek
1a115f481d
Rename file
2023-04-21 00:40:11 +01:00
Richard Stiskalek
fdb0df8d4c
Add mmain and other major updates ( #44 )
...
* Move paths to a separate file
* Add mmain reader
* Add a verbosity flag
* Fix imports
* Fix bug
* Rename files
* Return ultimate parents
* Add script to generate mmain
* Remove mmain path
* edit path
* Add mmain path
* Change function name
* Rename function
* Turn off verbose
* Fix list requirement
* Edit init match paths
* Fix init pathing
* Edit paths docs
* Edit dumpdir name
* Rename path
* Fix split paths
* Remove unused import
* Add comment
* Update readme
* remove read mmain
* Rename haloatalogue
* Fix minor bugs
* Update nbs
* Add create directory option
* Move split jobs
* Move spliot jobs
* Remove splitting
* Add import
* Edit script
* Deeper split folder
* Fix paths bug
* Rename catalogue
* Rename Catalogue
* Add new clumpread
* Edit paths
* add knn paths
* Update commenting
* Update imports
* Add more conversions
* Update temp file
* Add a note
* Add catalogue
* Cooment
* Update TODO
* Update script
* add nb
* Update
* pep8
* edit paths & pep8
* Fix knn auto paths
* add paths docs
* Add auto and cross knn paths
* Add new paths
* Simplify tpcf reading
* pep8 patch
* update readme
* Update progress
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* pep8
* Pep 8 and restructure
* add lambda spin
* add clump and halo
* add checks
* Edit halo profile fit
* Update gitignore
* backup script
2023-04-18 11:02:36 +02:00
Richard Stiskalek
e0d3854277
Add cleaner paths ( #43 )
...
* ignore venv
* ignore pylians if unavaible
* Edit loading paths
* Edit paths
* Stop having default paths
* Add nb
* Add glamdring paths
---------
Co-authored-by: Richard Stiskalek <dc-stis1@login8b.pri.cosma7.alces.network>
Co-authored-by: Richard Stiskalek <dc-stis1@login8a.pri.cosma7.alces.network>
2023-04-14 23:24:52 +01:00
Richard Stiskalek
5784011de0
kNN-CDF secondary halo bias ( #40 )
...
* Add seperate autoknn script & config file
* edit ics
* Edit submission script
* Add threshold values
* Edit batch sizign
* Remove print
* edit
* Rename files
* Rename
* Update nb
* edit runs
* Edit submit
* Add median threshold
* add new auto reader
* editt submit
* edit submit
* Edit submit
* Add mean prk
* Edit runs
* Remove correlation file
* Move split to clutering
* Add init
* Remove import
* Add the file
* Add correlation reading
* Edit scripts
* Add below and above median permutation for cross
* Update imports
* Move rvs_in_sphere
* Create utils
* Split
* Add import
* Add normalised marks
* Add import
* Edit readme
* Clean up submission file
* Stop tracking submit files
* Update gitignore
* Add poisson field analytical expression
* Add abstract generators
* Add generators
* Pass in the generator
* Add a check for if there are any files
* Start saving average density
* Update nb
* Update readme
* Update units
* Edit jobs
* Update submits
* Update reader
* Add random crossing
* Update crossing script
* Add crossing with random
* Update readme
* Update notebook
2023-04-09 20:57:05 +01:00