uvex_transients.utils.luminosity_function_archive.LuminosityFunctionArchive.table#

LuminosityFunctionArchive.table(transient_type: str, source: str | None = None, band: str = 'V') → QTable[source]#

Return one luminosity function as a ~astropy.table.QTable.

Parameters:
  • transient_type (str) – One of types(), such as "supernovae/Ia".

  • source (str, optional) – One of sources(). It may be left out when the type has only one.

  • band (str, optional) – The band, such as "V".

Returns:

Columns M (peak absolute magnitude, ascending, in ~astropy.units.mag) and dNdM (rate per magnitude, in Mpc^-3 yr^-1 mag^-1). .meta holds the attributes of the source group: the label it has in the source file and the header that says what the axes are.

Return type:

astropy.table.QTable

Raises:

ValueError – If source is left out and the type has more than one.