uvex_transients.phase_space.sampling.canonical.RedshiftLimit.is_clipped#

RedshiftLimit.is_clipped(log_luminosity: ArrayLike) → NDArray[bool][source]#

Return whether the limit of each luminosity lies beyond the table, so that it was clipped.

Such a limit is one that __call__() held at the end of its table.

Parameters:

log_luminosity (array-like) – The log10 luminosity, in the same units as for __call__().

Returns:

Boolean array, true where the luminosity is outside the range the table covers.

Return type:

numpy.ndarray