read_profile_table

deprojected_sersic_models.io.read_profile_table(n=None, invq=None, path=None, filename_base='deproj_sersic_model', filename=None)[source]

Read the table of Sersic profile values from the binary FITS table.

Parameters:
  • n (float) – Sersic index

  • invq (float) – Inverse intrinsic axis ratio

  • path (str or None, optional) – Path to directory containing the saved Sersic profile tables. If not set, system variable DEPROJECTED_SERSIC_MODELS_DATADIR must be set. Default: system variable DEPROJECTED_SERSIC_MODELS_DATADIR, if specified.

  • filename_base (str, optional) – Base filename to use, when combined with default naming convention: <filename_base>_nX.X_invqX.XX.fits. Default: deproj_sersic_model

  • filename (str, optional) – Option to override the default filename convention and instead directly specify the file location.

Returns:

table – Slice of AstroPy table containing the Sersic profile curves and values

Return type:

AstroPy table