wrapper_calculate_full_table_set
- deprojected_sersic_models.table_generation.wrapper_calculate_full_table_set(output_path=None, filename_base='deproj_sersic_model', overwrite=False, f_log=None, indChunk=None, nChunk=None, invqstart=None, cumulative=None)[source]
Wrapper function to calculate the full set of Sersic profile tables.
- Parameters:
output_path (str) – Path to directory where the Sersic profile table will be saved. If not set, system variable
DEPROJECTED_SERSIC_MODELS_DATADIR
must be set. Default: system variableDEPROJECTED_SERSIC_MODELS_DATADIR
, if specified.filename_base (str, optional) – Base filename to use, for the default naming convention:
<filename_base>_nX.X_invqX.XX.fits
. Default:deproj_sersic_model
overwrite (bool, optional) – Option to overwrite the FITS file, if a previous version exists. Default: False (will throw an error if the file already exists).
f_log (str, optional) – Filename of log file, to save information output while calculation is in progress. Default: None
indChunk (int, optional) – Index of chunk to run. Default: None (only one chunk)
nChunk (int, optional) – Total number of chunks. Default: None (only one chunk)
invqstart (int, optional) – Where to start with invq array. Default: None (start at beginning)
cumulative (bool, optional) – Shortcut option to only calculate the next annulus, then add to the previous Menc(r-rdelt). Default: Uses cumulative if n >= 2.