Closed sweverett closed 3 years ago
Note: This PR hasn't incorporated shear-profiles
into the pipeline runner yet. Once I understand how to run it independently I will add it to the framework.
Hey Spencer, the updates have been merged, so you are welcome to delete the restructure
branch if and when you like
This PR implements large changes to the repo. The most important of which are:
python setup.py install
. The module is calledsuperbit_lensing
and allows for easy imports in the various submodules & test files without the need for any nasty relative imports or modifications toPATH
orPYTHONPATH
. Submodule names have been changed slightly to conform to standards & be a bit more descriptive.utils.py
file in the root dir of the module provide lots of helper classes & functions for running the pipeline as a whole. A few examples:LogPrint
that automatically handles log and / or terminal printspipe.py
file in the module root dir provides classes for each submodule that handles all of the necessary bookkeeping for running the whole pipeline (or subsets of it) sequentially through a single yaml config. This is run with theSuperBITPipeline
classpipe.main()
pipe.MODULE_TYPES
and implement the inherited abstractrun()
methodCloses #11, #22, #24. Implements most of #23.