The following is a huge update to the entire suite for Fruitbat to
enable adding custom methods.
Deleted module estimate. Instead this module is directly incorporated
into the calc_redshift() function in Frb. This was deleted since it
only contained the redshift estimating function.
Renamed module cosmology to cosmologies to avoid clashing name spaces.
Now cosmologies=module, cosmology=string, cosmo=instance.
New cosmology functions: add_cosmology(), available_cosmologies(),
reset_cosmologies() all available from root fruitbat.
New module: methods, this contains most of the old utils functions for
calculating quantities relating to methods. This is where additional
methods will be added in the future.
New method functions: add_method(), available_methods(),
reset_methods() all available from root fruitbat.
New module: table, this contains all the functions relating the
creating and loading lookup tables. Renamed to simply create and load.
Creating a table now creates the table by default in the 'data'
directory with a prefix 'custom'.
Removed duplicate utils functions that have been moved to different
directories. The only function left in units is dictionary checking.
Updated plotting for new module structure.
Added docstrings to all functions that were missing or incomplete.
Fixed docstrings to mostly comply to 72 characters through fruitbat.
Fixed the formating of some equations in doctrings.
Added relevent functions to all in modules
Renamed planck18 to PLANCK18 in cosmologies
Creating tables now use kwargs to allow for custom functions that
dont require a cosmology.
The following is a huge update to the entire suite for Fruitbat to enable adding custom methods.
Deleted module estimate. Instead this module is directly incorporated into the calc_redshift() function in Frb. This was deleted since it only contained the redshift estimating function.
Renamed module cosmology to cosmologies to avoid clashing name spaces. Now cosmologies=module, cosmology=string, cosmo=instance.
New cosmology functions: add_cosmology(), available_cosmologies(), reset_cosmologies() all available from root fruitbat.
New module: methods, this contains most of the old utils functions for calculating quantities relating to methods. This is where additional methods will be added in the future.
New method functions: add_method(), available_methods(), reset_methods() all available from root fruitbat.
New module: table, this contains all the functions relating the creating and loading lookup tables. Renamed to simply create and load.
Creating a table now creates the table by default in the 'data' directory with a prefix 'custom'.
Removed duplicate utils functions that have been moved to different directories. The only function left in units is dictionary checking.
Updated plotting for new module structure.
Added docstrings to all functions that were missing or incomplete.
Fixed docstrings to mostly comply to 72 characters through fruitbat.
Fixed the formating of some equations in doctrings.
Added relevent functions to all in modules
Renamed planck18 to PLANCK18 in cosmologies
Creating tables now use kwargs to allow for custom functions that dont require a cosmology.
Fix spelling of available