Commit Graph

380 Commits

Author SHA1 Message Date
rstiskalek
9b8fc5c573 Update params 2024-07-03 09:50:33 +01:00
rstiskalek
cec54ec629 Update params 2024-07-03 09:50:21 +01:00
rstiskalek
4e25091c23 Update bulkflow calculation 2024-07-03 09:50:02 +01:00
rstiskalek
2e6fa68154 Update params 2024-07-03 09:49:05 +01:00
rstiskalek
4b1bfb4d3c Update script 2024-07-03 09:48:18 +01:00
rstiskalek
12c25a0742 Update to linear interpolation 2024-07-03 09:48:13 +01:00
rstiskalek
dcea9a305e Add sript 2024-07-01 14:19:06 +01:00
Richard Stiskalek
c6f49790bf
Plots of VF (#134)
* Add VF plots

* Update nb

* Add CMB velocity note

* rm nb

* Add option to return alllikelihood

* Add simulation weights

* Update nb

* Add bulkflow

* Update nb

* Add values of beta

* Update imports

* Update imports

* Add paths to Carrick and Lilow fiels

* Add Carrick and Lilow fields

* Add support for more fields

* Update bulkflow comp

* Update nb

* Update script
2024-07-01 11:48:50 +01:00
rstiskalek
7dad6885e8 Update nb 2024-06-28 22:58:56 +01:00
rstiskalek
d4a0a74207 Clear up TODO 2024-06-28 13:33:42 +01:00
rstiskalek
a94a6f32b6 Update script 2024-06-28 13:32:55 +01:00
rstiskalek
4b93f36017 Update script 2024-06-28 13:24:20 +01:00
rstiskalek
1bfe658f2d Update submit script 2024-06-28 13:23:32 +01:00
rstiskalek
006b5c3b40 Update script 2024-06-28 13:23:26 +01:00
rstiskalek
cc8075b159 Remove blanks 2024-06-28 12:46:47 +01:00
rstiskalek
19630cbc60 Update nb 2024-06-28 12:44:37 +01:00
rstiskalek
6c27e36716 Update script 2024-06-28 12:44:16 +01:00
Richard Stiskalek
84a1609d77
Add Lilow2024 velocity fields (#133)
* Add Lilow data

* Fix Lilow NaNs

* Update nb

* Update nb
2024-06-28 11:55:42 +01:00
Richard Stiskalek
301ff61e89
Add CF4 mean & std (#132)
* Add observer velocity

* Add radec to supergalactic

* Update script

* Add CF4 params

* Add paths to CF4

* Add CF4 but not sth wrong

* Update nb

* Remove errors

* Update nb

* Update scripts
2024-06-27 15:02:33 +01:00
rstiskalek
76e8f71556 Update nb 2024-06-26 10:46:33 +01:00
Richard Stiskalek
ce55a2b47e
Add marginalization over boxes (#131)
* Parallelize over simulations

* Update docs

* Update dependency

* Update imports

* Add adtitional dependencies

* Update .gitignore

* Update ERADME

* Simplify numpyro GOF

* Speed up GOF

* Deepcopy samples

* Update scripts

* Add GPU acceleration

* Select boxes

* Update script

* Optionally sample beta

* Fix old code

* Simplify code

* Start saving log posterior

* Start popping log_likeliood

* Add imports

* Add converting samples

* Fix sctipt name

* Add evidence with harmonic

* Remove comment

* Update imports

* Update imports so that pylians not required

* Stop requiring Pylians to be installed

* Update submission scripts for loops

* Update nb

* Update nb

* Add Manticore boxes

* Add verbosity flag

* Add bulk flow

* Update script

* Update nb

* Update normalization

* Update submit

* Update nb
2024-06-26 10:43:26 +01:00
Richard Stiskalek
ffaf92cd4b
Add Manticore (#130)
* Add CB2X paths

* Update imports

* Add CB2 params

* Add CB2x fields

* Add CB2X field

* Add parallelized

* Add **kwargs

* Update nb

* Minor updates
2024-06-21 19:21:06 +01:00
Richard Stiskalek
d3b4bfd29c
Remove overly verbose code (#129)
* Remove not necessary comments

* Simplify

* Remove unnecessary comments

* Remove verbose comments

* Remove unnecessary verbosity

* Update params

* Remove verbose

* Simplify verbosity

* Simploify comments

* Remove more silly verbosity
2024-06-21 13:35:45 +01:00
Richard Stiskalek
779f2e76ac
Calculate upglade redshifts (#128)
* Update redshift reading

* Add helio to CMB redshift

* Update imports

* Update nb

* Run for Quijote

* Add script

* Update

* Update .gitignore

* Update imports

* Add Peery estimator

* Add bulk flow scripts

* Update typs

* Add comment

* Add blank space

* Update submission script

* Update description

* Add barriers

* Update nb

* Update nb

* Rename script

* Move to old

* Update imports

* Add nb

* Update script

* Fix catalogue key

* Update script

* Update submit

* Update comment

* Update .gitignore

* Update nb

* Update for stationary obsrevers

* Update submission

* Add nb

* Add better verbose control

* Update nb

* Update submit

* Update nb

* Add SN errors

* Add draft of the script

* Update verbosity flags

* Add submission script

* Debug script

* Quickfix

* Remove comment

* Update nb

* Update submission

* Update nb

* Processed UPGLADE
2024-06-20 14:33:00 +01:00
rstiskalek
c447d2e7b0 Add nbs 2024-05-09 16:29:34 +01:00
rstiskalek
b7d8d3da4d Add nb 2024-05-09 16:29:22 +01:00
rstiskalek
13a10ccedd pep8 2024-04-23 12:03:47 +01:00
Richard Stiskalek
c4557cf35b
Matching of observations (#127)
* Rename file

* Add indents

* Update imports

* Add counting

* Docs

* Add nb

* Rename nb

* Update nb

* Add PV processing

* Update nb

* Add Pantheon+groups

* Update submission scripts

* Add Pantheon+zSN

* Update nb

* Edit param

* Matchin SFI

* Update nb

* Fix path bug

* Add list of clusters

* Update imports

* Update imports

* Add cartesian & mass of clusters

* Add observation to halo matching

* Add nb

* Add inverse CDF

* Add import

* Update nb

* Add comments
2024-04-23 12:02:09 +01:00
Richard Stiskalek
3876985f26
Extend enclosed density to all CB2 (#126)
* Add borg2 flag

* add borg2_all

* Undo a comment?

* ADd borg2

* Update notebook

* Update nb

* Add external halo catalogue

* Add MDPL2

* Add BORG2 density profile plot

* Add more params

* Add comments
2024-04-10 11:34:07 +02:00
rstiskalek
7330e535f7 Update notebook 2024-04-08 23:14:43 +01:00
rstiskalek
096f2055c9 Add MDPL2 HMF 2024-04-08 10:39:41 +01:00
Richard Stiskalek
ee222cd010
Fix overlap runs (#125)
* Update nb

* Update script

* Update script

* Rename

* Update script

* Update script

* Remove warning

* Ignore minors when extracting MAH

* Fix paths bug

* Move notebooks

* Move files

* Rename and delete things

* Rename file

* Move file

* Rename things

* Remove old print statement

* Add basic MAH plot

* Add random MAH path

* Output snapshot numbers

* Add MAH random extraction

* Fix redshift bug

* Edit script

* Add extracting random MAH

* Little updates

* Add CB2 redshift

* Add some caching

* Add diagnostic plots

* Add caching

* Minor updates

* Update nb

* Update notebook

* Update script

* Add Sorce randoms

* Add CB2 varysmall

* Update nb

* Update nb

* Update nb

* Use catalogue HMF

* Move definition of radec2galactic

* Update nb

* Update import

* Update import

* Add galatic coords to catalogues

* Update nb
2024-04-08 11:23:21 +02:00
rstiskalek
c71f5a8513 Upgrade nb 2024-04-03 13:44:55 +01:00
Richard Stiskalek
380c2f8df0
Stacking p(zcosmo | ... ) (#124)
* Update nb

* Add import

* Add posterior stacking
2024-04-02 11:45:18 +02:00
rstiskalek
24cab8555a Update nb 2024-04-02 09:28:57 +01:00
Richard Stiskalek
da43031877
Tests on mock PV catalogues (#123)
* Rename nb

* Add nb

* Update scrtip

* Update script

* Add reading of CB2 mocks

* CB2 mocks support

* Add mock generator

* Add mock support

* Add CB2 mock support

* Update nb for mocks

* Update script

* Update nb

* Update nbs
2024-04-02 00:19:14 +02:00
rstiskalek
7259993524 Rename file 2024-04-01 14:49:24 +01:00
Richard Stiskalek
0842f12741 Add script 2024-04-01 15:48:23 +02:00
Richard Stiskalek
8e9645e202
Add p(z_cosmo | z_obs) (#122)
* Add import

* Add draft of the p(zcosmo)

* Add option for additional uncertainty

* Variable renaming

* Add zcosmo predict for flow calibration

* Add flow map notebook

* Update notebook

* Add posterior mean & std

* Edit docstring
2024-04-01 15:44:20 +02:00
rstiskalek
e3a645c935 Update nb 2024-03-28 12:23:52 +00:00
Richard Stiskalek
29b37172fa
Add SFI groups (#121)
* Update LOS sampling

* Bring SD back to speed

* Update nb

* Update script

* Update requirements

* Update flow chi2 calc

* Update script

* Add support for SFI groups

* Update plot

* Update script

* Update script
2024-03-26 15:11:04 +01:00
Richard Stiskalek
27c1f9249b
Observer velocity script (#120)
* Rename script

* Delete scripts

* Add script

* Edit script

* Add script

* Update nb

* Update plotting

* Update .gitignore

* Update nb

* Update nb

* Add option to keep beta fixed
2024-03-26 10:42:53 +01:00
Richard Stiskalek
4093186f9a
Add z_obs output (#119)
* Update SN model to output zobs too

* Add TF predicted zobs

* Add imoprt

* Update nb

* Calculate chi2

* Update nb

* Update script
2024-03-22 18:10:40 +01:00
Richard Stiskalek
f7285b2600
More flow (#118)
* Add GoF calculation

* Add import

* Add base flow

* Add reading of ndata

* Update nb

* Update plotting

* Update script

* Update plots

* Updaet plo

* Add script

* Update nb

* Update nb

* Update script

* Update script

* Update nb

* Remove imports

* Improve labelling

* Improve flow calibration

* Add bulk flow plots

* Update flow

* Update scrit

* Calculate more radial steps

* Update bulk

* Update script

* Update nb
2024-03-21 16:50:37 +01:00
rstiskalek
a9cb8943d6 Update script 2024-03-19 14:36:09 +00:00
Richard Stiskalek
0a859a9a06
Write particles to ASCII (#117)
* Add option to output high-resolution particles only

* Add ASCII writing of simulatios
2024-03-19 09:23:52 +01:00
Richard Stiskalek
d0266584fa
CSiBORG2 subhalo catalogue (#116)
* Add import

* Add CSiBORG2 subfind catalogue

* Add parent mass

* Update nb
2024-03-18 16:37:58 +01:00
rstiskalek
0f94457b7f Update nb 2024-03-16 17:16:22 +00:00
rstiskalek
0d1c262df0 Merge branch 'master' of github.com:Richard-Sti/csiborgtools 2024-03-16 17:14:03 +00:00
Richard Stiskalek
fb4abebeb6
Add more flow modelling (#115)
* Add SN calibration model

* Update imports

* Scale Carrick field

* Minor updates to flow validation

* Update script

* Update flow model

* Add CSiBORG2

* Add CSiboRG2 params

* Update imports

* Add regular grid interpolator to LOS

* Add nb

* Remove old code

* Update scripts

* Minor updates

* Minor updates

* Add TF

* Minor update

* Update notebook

* Update imports

* Add scan and loss of numpyro

* Add Pantheon

* Update svript

* Updaten b

* Add model loader

* Add jackknife

* Add evidence

* Update dr

* Add BIC to the flow model

* Update srcipt

* Update nb

* Update nb

* Update scripts
2024-03-16 17:02:00 +00:00