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
rstiskalek
26ef1661a4
Add verbosity flag
2023-05-09 17:43:18 +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
rstiskalek
ab8199be2c
Rename folder
2023-05-08 14:24:15 +01:00
Richard Stiskalek
cb5d35b1be
Density field calculation ( #58 )
...
* Add iterative density field generation
* Edit particle halfwidth selection
* Update import
* Remove old file
* Add position wrapping
* Add RSD support
* Add density field calculation
* Edit paths to the density field
* Flip argument order
* Edit documentation
* Edit docs
* update nb
2023-05-08 14:02:20 +01:00
Richard Stiskalek
4265315b47
Revert "Run density field estimator ( #56 )" ( #57 )
...
This reverts commit 98d0578fa7
.
2023-05-08 13:59:55 +01:00
Richard Stiskalek
98d0578fa7
Run density field estimator ( #56 )
...
* Add iterative density field generation
* Edit particle halfwidth selection
* Update import
* Remove old file
* Add position wrapping
* Add RSD support
* Add density field calculation
* Edit paths to the density field
* Flip argument order
2023-05-08 13:58:12 +01:00
rstiskalek
1d871e7109
Clean up README
2023-05-07 23:30:03 +01:00
Richard Stiskalek
65564849f4
Add redshift space position ( #55 )
...
* Add docs
* Delete blank
* Add real to redshift space function
* RSD move back observer
* Convert velocoties to km/s
* Add units to RSP calculation
* Add RSP to catalogues
* Add RSD to angular neighbour search
2023-05-07 19:07:35 +01:00
rstiskalek
3df771f1ee
Blank line
2023-05-07 16:36:42 +01:00
Richard Stiskalek
51b670d30b
Updates to the overlap reader. ( #54 )
...
* Flag for loading clumps_cat
* Optionally load clumps catalogues
* Update single pair reading
* Edit reading many pairs
2023-05-07 16:34:55 +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
rstiskalek
1c9dacfde5
Merge branch 'master' of github.com:Richard-Sti/csiborgtools
2023-05-02 14:09:42 +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
rstiskalek
7d947f5421
Edit the particle paths
2023-04-30 12:12:37 +01:00
Richard Stiskalek
553eec8228
Update field calculations ( #51 )
...
* Update density field routines
* Add utils
* Add possibility to return 2d array
* Styling
* Fixed density field
* Fix bugs
* add mpc2box
* Fix evaluating sky
* Fix sky map making
* Rename file
* Add paths if only positions
* Add option to dump particles only
* Add comments
2023-04-29 22:57:05 +01:00
Richard Stiskalek
b5fefe4196
Update init matching procedure ( #50 )
...
* pep8
* fix convention
* Update script
* enforce optimisation boundaries to be finite
* Update TODO
* Remove sky matching
* FIx a small bug
* fix bug
* Remove import
* Add halo fitted quantities
* Update nbs
* update README
* Add load_initial comments
* Rename nbs
* Delete nb
* Update imports
* Rename function
* Update matcher
* Add overlap paths
* Update the matching script
* Update verbosity
* Add verbosity flags
* Simplify make_bckg_delta
* bug fix
* fix bug
* lala
* la
* Add overlap paths
* Update limit
* pep8
* Some pep8 stuff
* pep8
* Minor corrections
* Update paths
* Add number of particles check
* Fix bug
* pep8 comments
2023-04-29 14:38:21 +01:00
Richard Stiskalek
c14be720b5
Particle dumping ( #49 )
...
* Add paths
* Add dumping script
* Remove snap from density fields
* Add progress statement
* Update import ordering
* Update nb
2023-04-28 13:57:23 +01:00
rstiskalek
4f8335e0a3
Merge branch 'master' of github.com:Richard-Sti/csiborgtools
2023-04-27 10:40:35 +01:00
rstiskalek
8d5ea287d8
Remove old files
2023-04-27 10:40:18 +01:00
Richard Stiskalek
b7ea2ce28b
Create LICENSE
2023-04-27 10:38:59 +01:00
rstiskalek
b0752efdf4
fix indexing bug
2023-04-27 09:21:00 +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
04119a5314
Update initial matching & overlaps ( #47 )
...
* pep8
* fix convention
* Update script
* enforce optimisation boundaries to be finite
* Update TODO
* Remove sky matching
* FIx a small bug
* fix bug
* Remove import
* Add halo fitted quantities
* Update nbs
* update README
* Add load_initial comments
* Rename nbs
* Delete nb
* Update imports
* Rename function
* Update matcher
* Add overlap paths
* Update the matching script
* Update verbosity
* Add verbosity flags
* Simplify make_bckg_delta
* bug fix
* fix bug
2023-04-21 01:35:06 +02:00