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
rstiskalek
fcd1a6b321
Remove comments
2023-07-03 15:37:22 +01:00
Richard Stiskalek
28e93e917f
More plotting ( #74 )
...
* Add a new plot
* Add a binned trend
* Fix bug
* Improve plot further
* Add new plotting
* add max overlap
* edit get_overlap
* Add max overlap plot
* Update plot
* Add max overlap key
* add max dist flag
* Improve plotting
2023-07-03 15:35:10 +01:00
Richard Stiskalek
fbf9c2a4b7
Better plots ( #73 )
...
* Edits paths of saved files
* Add upper threshold options
* Add upper threshold options
* add latex_float option
* Add weighted stats
* add new plot
2023-06-28 15:22:42 +01:00
Richard Stiskalek
de7def61d5
New RSP density distinction ( #72 )
...
* Edit docs
* Fix kernel units
* Add NGP interpolation
* Add Vobs but not implemented
* Add BORG density option
* Add BORG mcmc path
* Organise imports
* Add new density field distinction
2023-06-26 20:41:07 +01:00
Richard Stiskalek
cd6d448874
Update plotting ( #71 )
2023-06-23 15:31:48 +01:00
rstiskalek
1b0773de7f
Update stup
2023-06-18 13:36:23 +01:00
Richard Stiskalek
27e1c181a2
Moving environment to RS ( #70 )
...
* Drag several fields at once
* add env in RSP
* Add docstrings
* Make __main__
* Fix bug
* Fix plotting little bug
2023-06-18 11:42:21 +01:00
Richard Stiskalek
35ccfb5c67
New matches ( #69 )
...
* Remove old file
* Add velocity plotting
* add smooth scale
* Fix bug
* Improve paths
* Edit plotting
* Add smoothed density
* Update boundaries
* Add basics
* Further docs
* Remove blank
* Better catalog broadcasting
* Update high res size
* Update plotting routines
* Update routine
* Update plotting
* Fix field saving name
* Add better colormap for environemnt
2023-06-17 19:52:26 +01:00
Richard Stiskalek
73687fd8cc
Add comment
2023-06-16 20:57:07 +01:00
Richard Stiskalek
cbfd1cbc99
Fixing tidal field calculation ( #68 )
...
* Add import
* Fix tidal calculation
* Add env to paths
* Improve plot routines
* Add env classification
2023-06-16 18:31:43 +01:00
Richard Stiskalek
ccbbbd24b4
Add better diagnostics & plotting ( #67 )
...
* Add caching functions
* Add limts
* Add new mass runs
* Update .gitignore
* Edit which CDFs are loaded
* Stop saving cross hindxs
* Change dist to half precision
* New nearest path
* Add neighbour counting
* Add neighbour kwargs
* Update work in progress
* Add new counting
* Add how dist is built
* Collect dist to 1 file
* Update reading routine
* Delete Quijote files
* Remove file
* Back to float32
* Fix bugs
* Rename utils
* Remove neighbuor kwargs
* Rename file
* Fix bug
* Rename plt utils
* Change where nghb kwargs from
* line length
* Remove old notebooks
* Move survey
* Add white space
* Update TODO
* Update CDF calculation
* Update temporarily plotting
* Merge branch 'add_diagnostics' of github.com:Richard-Sti/csiborgtools into add_diagnostics
* Start adding documentation to plotting
* Remove comments
* Better code documentation
* Some work on tidal tensor
* Better plotting
* Add comment
* Remove nb
* Remove comment
* Add documentation
* Update plotting
* Update submission
* Update KL vs KS plots
* Update the plotting routine
* Update plotting
* Update plotting routines
2023-06-16 14:33:27 +01:00
rstiskalek
004d9629a2
Add better colorbar
2023-06-06 08:41:39 +01:00
rstiskalek
70b173ccc5
Edit plotting routine
2023-06-05 22:29:51 +01:00
rstiskalek
524434c7de
Small updates
2023-06-05 22:28:37 +01:00
rstiskalek
07bb03b15d
Update doc
2023-06-05 17:11:30 +01:00
rstiskalek
e89edf0af4
Remove unused import
2023-06-05 17:09:32 +01:00
Richard Stiskalek
63b6cdbe72
Forward model fields to RSP ( #66 )
...
* Add radial velocity field
* Add overdensity plot
* Flip velocities too
* Add field calculations
* Add RSP mapping
* Add potential in RSP
* Add projected field plotting
2023-06-05 17:24:20 +02:00
rstiskalek
f7b8b782a0
Add note
2023-06-02 12:51:34 +01:00
rstiskalek
015e6fb596
Fix units
2023-06-02 12:50:15 +01:00
rstiskalek
060ccf4feb
Fix labels
2023-06-02 12:48:38 +01:00
rstiskalek
ed47d77dc1
Fix label
2023-06-02 11:53:29 +01:00
rstiskalek
d5b14ebd97
Add sky map
2023-06-01 22:57:55 +01:00
rstiskalek
e7e1015279
Fix bug
2023-06-01 22:57:46 +01:00
rstiskalek
e28739835b
Fix bug
2023-06-01 22:57:36 +01:00
rstiskalek
64bacc20db
Add nside2radec
2023-06-01 22:57:29 +01:00
rstiskalek
c9829c0acc
Fix bugs
2023-06-01 19:10:18 +01:00
rstiskalek
b8c58c7f82
Add import
2023-06-01 19:09:38 +01:00
Richard Stiskalek
dbf93b9416
Lagrangian patch + HMF calculation ( #65 )
...
* Rename lagpatch
* Fix old bug
* Fix small bug
* Add number of cells calculation
* Fix a small bug
* Rename column
* Move file
* Small changes
* Edit style
* Add plot script
* Add delta2ncells
* Add HMF calculation
* Move definition around
* Add HMF plot
* pep8
* Update HMF plotting routine
* Small edit
2023-06-01 14:45:52 +01:00
Richard Stiskalek
f1dbe6f03f
Add plotting ( #64 )
...
* Add verbosity statements
* More verbosity
* Save masses too
* Add CDF new plot
* Blank line
* Fix RVS sampling bug
* Add R200 conversion
* Simplify plotting routines
* Remove imoprt
2023-05-27 00:08:39 +01:00
rstiskalek
7c2d7a86f5
Merge plotting scritps
2023-05-25 15:54:24 +01:00
rstiskalek
48cd5da88c
Add KL vs KS plot
2023-05-25 15:47:15 +01:00
rstiskalek
10fdf6d40e
Remove limit
2023-05-25 15:19:28 +01:00
rstiskalek
4eed5e1cc2
Do not return log p
2023-05-24 11:25:30 +01:00
rstiskalek
371b4bd057
Update plotting routines
2023-05-24 11:25:22 +01:00
rstiskalek
f82633f816
Add KL divergence
2023-05-24 10:35:50 +01:00
rstiskalek
14dc8f85af
Edit xlabel
2023-05-22 13:42:48 +01:00
rstiskalek
10b355954b
Add 1NN histogram
2023-05-22 13:42:10 +01:00
rstiskalek
fa2b3551c1
Add the sigma value calculation
2023-05-22 13:27:58 +01:00
rstiskalek
9b4c02f3b0
pep8
2023-05-21 22:47:09 +01: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
rstiskalek
369438f881
Correct limits
2023-05-16 00:13:44 +01:00
rstiskalek
616b903aec
Remove nb
2023-05-15 23:32:42 +01:00
Richard Stiskalek
255bec9710
Quijote kNN adding ( #62 )
...
* Fix small bug
* Add fiducial observers
* Rename 1D knn
* Add new bounds system
* rm whitespace
* Add boudns
* Add simname to paths
* Add fiducial obserevrs
* apply bounds only if not none
* Add TODO
* add simnames
* update script
* Fix distance bug
* update yaml
* Update file reading
* Update gitignore
* Add plots
* add check if empty list
* add func to obtaining cross
* Update nb
* Remove blank lines
* update ignroes
* loop over a few ics
* update gitignore
* add comments
2023-05-15 23:30:10 +01:00
rstiskalek
7971fe2bc1
update nbs
2023-05-14 12:48:24 +01:00
rstiskalek
afb7c515bd
Add README
2023-05-14 12:48:18 +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
b3fd14b81f
Gravitational potential calculation ( #60 )
...
* Rename file
* add velocity field
* Add velcoity field
* Move smoothening
* Add verbosity flags
* remove blank
* Simplify paths
* Add potential calculation
* Update paths
* Add potential field
* Add potential calculation
* Move away sky matching
* Move interpolation functions
* Update nbs
2023-05-12 13:07:58 +01:00