maho3 / ltu-cmass

A modular simulator of CMASS-NGC galaxy clustering
9 stars 1 forks source link

Remove cfg parameters in module routines #31

Closed maho3 closed 2 months ago

maho3 commented 5 months ago

Currently, we use hydra's OmegaConf to keep track of configurations in the command-line version of ltu-cmass.

However, if we want to use any of these functions in jupyter notebooks, it becomes quite a pain if we need to reconstruct OmegaConf to give the function params.

This task is simply to move the parameterizations of subroutines in ltu-cmass to the outermost level (i.e. inside the __main__ routine. We should avoid using any OmegaConf objects within the subroutines. This may make things a little more messy, but makes the jupyter tests easier.

maho3 commented 2 months ago

Finished with PR #48