Commit graph

141 commits

Author SHA1 Message Date
Richard Stiskalek
13a9d11afe
Particle init CM separation (#17)
* Rename

* rename module

* add new_ic_ids

* Add to_new support

* rm unnecessary comment

* Remove JUlia!

* add new package attempt

* add dump script

* simplify positions getter

* Remove unused code

* change dumpdirs

* update project

* Add sorting

* fix indexing bug

* add comment

* Add particle dumping

* Delete blank line

* Delete Julia things

* Update README

* add working script

* fix assignment bug

* fix bug

* save temp to temp folder

* fix indexing bug & path

* do not always crreate folder

* Rename file

* add initcm reader

* add x0, y0, z0 transforms

* add initcm to halo cat

* docs update

* add initial KNN

* add attempt at init match

* add initial fiducial radius

* rm blank space

* Add further KNN Init pos support

* Add init radius support

* Remove message about the bug

* Get rid of an error msg

* purge mention of knn_init

* Add init CM distance calc
2022-12-16 11:18:16 +01:00
Richard Stiskalek
c3c686fa60
Power spectrum stuff (#16)
* add autok1d

* update TODO

* add basic cross pk

* del blank line

* fix small bugs

* fix loop bug

* rm nbs

* edit docstring

* Update TODO

* get rid of verbose flag

* take all ICs

* attempt better memory

* simplify ASCII dump

* rm verbose statement to get rid of bugs!

* close fortran files

* add MAS options

* add boxsize setter

* Move comment up

* paths chagne

* Update TODO

* Update TODO

* Forgotten units in Xpk

* Attempt at fixing the distance bug

* Update TODO

* Update TODO

* Remove comment

* add summary reader

* Update gitignore
2022-12-12 14:42:44 +00:00
Richard Stiskalek
1bb4255874
SDSS galaxies and catalogs rework (#15)
* add SDSS skeleton

* rm nb

* update gitignore

* add docs

* add survey volume

* add masking

* add SDSS mask

* add SDSS comments

* add reference

* rm

* move planck to fits clusters

* Rm comment

* update masking routines

* rm masks

* Update docs

* rm data

* make MCXC fits surv

* change MCXC name

* Move to extrasapce

* Update paths
2022-12-05 11:36:41 +00:00
Richard Stiskalek
91beb4df50
Angular momentum (#14)
* add ang mom

* Update TODO

* add ascii dump script

* add comment

* Updating TODO

* add angmom

* add garbage collector
2022-11-30 16:12:39 +00:00
rstiskalek
92699bfb0a update TODO 2022-11-30 13:42:00 +00:00
rstiskalek
5435781e8d add the grav field 2022-11-30 13:41:35 +00:00
Richard Stiskalek
6aa3721c83
Potential (#13)
* add basic density field

* Add TODO

* add field smoothing

* update how pos are calculated

* add transforms both ways

* add import

* add sky density

* add make skymap func

* update TODO

* update gitignore

* add potential field calculation

* delete boxsize setter

* add tidal tensor
2022-11-27 07:53:38 +00:00
rstiskalek
ea73dfcd56 Update TODO 2022-11-25 16:46:28 +00:00
rstiskalek
2a5d6a03b6 add distance cut 2022-11-25 16:45:27 +00:00
rstiskalek
d8adf56614 edit TODO 2022-11-25 15:07:53 +00:00
Richard Stiskalek
ca45fbd5d9
add ascii writing (#12) 2022-11-25 15:06:10 +00:00
rstiskalek
469f4988fa update TODO 2022-11-25 12:45:47 +00:00
rstiskalek
4e87a96b97 fix bug(again) 2022-11-25 12:42:49 +00:00
rstiskalek
8d68f35cf9 swithc to own G 2022-11-25 12:28:46 +00:00
rstiskalek
a3c7d03ceb fix bug 2022-11-25 12:28:41 +00:00
rstiskalek
377d6ebb7e add lambda200c support 2022-11-25 12:24:06 +00:00
rstiskalek
69d1f28fcc add lambda200c calc 2022-11-25 12:23:43 +00:00
rstiskalek
e5208ed070 add note 2022-11-25 11:52:31 +00:00
rstiskalek
91bddb1d3a remove not good comments 2022-11-25 11:45:47 +00:00
rstiskalek
9fe745b0b4 add center of mass 2022-11-25 10:54:09 +00:00
Richard Stiskalek
161c27d995
Particle match & file system & phase space (#11)
* Create file system

* add doc

* add n_sim n_snap directly to paths

* Move things to a single particle reader for consistency

* add docstring

* add srdcir, dumpdir and mmain_path

* make boxunits work with paths

* switch to using paths

* add tempdumpdir

* rm dependence on old functions

* rm comment

* rm unused import

* go back to all imports

* fix import bug

* rm dependence on old functions

* modernize code!

* fix typo

* fix typo

* update fits to new data structureing

* change docs

* add julia repo

* add setup

* add install commands

* ignore install files

* add array flattening

* update dependene

* add positions reader

* update manifest and projects

* add func

* update gitignore

* pos matching progress

* move file

* rm comment

* add velocities getter

* fix bug

* fix name bug

* fix path bug

* fix args func

* add redshift calculation to catalogues

* add shortcut to set n_sim and n_snap

* if cond bug

* add the cosine similarity

* add verbosit iterator

* add docs

* update README

* update README

* update README
2022-11-25 10:44:08 +00:00
Richard Stiskalek
c748c87e45
New filesystem, basic neighbours calculation (#10)
* simplify Planck catalogue

* add MCXC and base survey

* Add 2MPP classes

* move match to MCXC to Planck

* add halo catalogue

* rm comment

* rm unused imports

* Move conversion to box

* add min mass

* Run on all simulations

* rm old function

* add combined catalogue

* add halo positions

* add knn neighbors

* set to 5 sims for testing

* add docstring

* Switch to neighbours in a catalogue

* rename io to read

* fix indentation

* rename to read

* io -> read

* add import

* add RealisationMatcher

* io -> read

* add docstrings

* add search_sim_indiices

* update todo

* keep make_cat at 10 for now

* update nb
2022-11-22 10:00:01 +00:00
rstiskalek
f5bf04c46e update nb 2022-11-20 14:11:35 +00:00
rstiskalek
6a9db75549 add pec redshift 2022-11-20 14:11:32 +00:00
rstiskalek
3352b06c1c add units 2022-11-20 14:11:25 +00:00
rstiskalek
1d9789c08e add vx 2022-11-20 14:11:19 +00:00
rstiskalek
1037aa4db9 add velocity conversion 2022-11-18 10:53:06 +00:00
rstiskalek
858a153fad add box2cosmoredshift 2022-11-18 10:44:41 +00:00
rstiskalek
06d3fede95 add max snapshot 2022-11-14 16:24:53 +00:00
rstiskalek
f33bf0c3b2 add the maximum snapshot 2022-11-14 16:22:45 +00:00
rstiskalek
76349bab3f add MPI and do for all boxes 2022-11-14 15:52:52 +00:00
Richard Stiskalek
17badf2652
X-ray data (#9)
* add xray reading

* add import

* add more comments

* add data

* add nb

* add MCXC shortcut

* add match indxs to Planck of MCXC

* add import

* update TODO

* update readme

* add famous clusters

* add 2mpp_groups

* shorten paths

* add 2M++ groups

* add import

* Update TODO
2022-11-10 07:40:44 +00:00
rstiskalek
f69def9878 Merge branch 'master' of https://github.com/Richard-Sti/galomatch 2022-11-06 21:02:57 +00:00
Richard Stiskalek
f0821c54bf
Clean up old functions (#8)
* update nbs

* rm unused functions

* simplify loading

* optionally return counts as well

* update TODO

* update TODO
2022-11-06 21:02:24 +00:00
rstiskalek
a3ccc029cd update TODO 2022-11-06 21:01:43 +00:00
rstiskalek
760ba06689 update TODO 2022-11-06 20:59:39 +00:00
rstiskalek
d4f89fc343 optionally return counts as well 2022-11-06 20:58:57 +00:00
rstiskalek
d69012424e simplify loading 2022-11-06 20:55:49 +00:00
rstiskalek
e4ec1c4daa rm unused functions 2022-11-06 20:55:34 +00:00
rstiskalek
9291414572 update nbs 2022-11-06 20:53:58 +00:00
rstiskalek
a0f187d660 update TODO 2022-11-06 10:28:32 +00:00
Richard Stiskalek
d32eb5c134
Data loading shortcut (#7)
* add load_processed

* update TODO
2022-11-06 10:26:24 +00:00
rstiskalek
364f3b2137 rm blank 2022-11-06 10:06:48 +00:00
rstiskalek
859e3f4eb2 change density to mass/mpc^3 2022-11-06 10:06:40 +00:00
rstiskalek
5fa429ceb0 Update TODO 2022-11-06 09:11:21 +00:00
rstiskalek
91ad3166f8 Update TODO 2022-11-06 09:07:27 +00:00
rstiskalek
0baa81a4f4 centre coords at 0 2022-11-06 09:06:03 +00:00
rstiskalek
1cd3f10848 add num density 2022-11-06 09:05:51 +00:00
rstiskalek
3979650663 add boxunits transform on array 2022-11-06 06:32:28 +00:00
Richard Stiskalek
7f58b1f78c
JAX and fix conc (#6)
* change to log10 initlogRs

* add uncertainty

* add check if hessian negative

* update TODO

* update TODO

* output the error too

* save e_logRs

* add concentration calculation

* calcul concentration

* missed comma in a list

* Update TODO

* fix bug

* add box units and pretty status

* make uncertainty optional

* add BIC function

* remove BIC again

* add new overdensity calculation

* change defualt values to max dist and mass

* change to r200

* new halo find

* speed up the calculation

* add commented fucn

* update TODO

* add check whether too close to outside boundary

* Update TODO

* extract velocity as well

* calculate m200 and m500

* update nb

* update TODO
2022-11-05 21:17:05 +00:00