uvex_transients.transients.LFBOTs.LuminousFastBlueOpticalTransient.get_detection_horizon#
- LuminousFastBlueOpticalTransient.get_detection_horizon(mag_limits, bandpasses, *, confidence: float = 0.95, tolerance: float = 0.01, n_samples: int = 1000, n_z: int = 30, n_time: int = 60, t_min: Quantity = <Quantity 0.001 d>, z_min: float = 0.003, z_max: float = 1.0, rng=None, progress: bool = True, interpolate: bool = False, **kwargs) tuple[QTable, EffectivePeakGrid]#
Derive the redshift beyond which this population is undetectable, for each magnitude limit.
The population is the SED’s priors, observed from t_min to duration_limit. The result is the number to use as
redshift_limit. The arguments, and the method, are those of ~uvex_transients.models.core.detection_horizon.detection_horizon. The horizon does not depend on redshift_limit: it is the other way round.- Parameters:
mag_limits (
floatorarray-like) – AB magnitude limit(s).bandpasses (
Mapping[str,SpectralElement]orsequenceofSpectralElement) – The bands in which an event may be detected.confidence (
float, optional) – The guarantee; see ~uvex_transients.models.core.detection_horizon.observability_curve.tolerance (
float, optional) – The guarantee; see ~uvex_transients.models.core.detection_horizon.observability_curve.n_samples (
int, optional) – Number of draws from the priors.n_z (
int, optional) – Numbers of logarithmically spaced redshifts and times.n_time (
int, optional) – Numbers of logarithmically spaced redshifts and times.t_min (
Quantity, optional) – Earliest rest-frame time.z_min (
float, optional) – Smallest redshift of the grid, and largest of the first attempt, which is doubled until it brackets the horizon.z_max (
float, optional) – Smallest redshift of the grid, and largest of the first attempt, which is doubled until it brackets the horizon.rng (
numpy.random.Generator,intorNone, optional) – Random-number source; give an integer for reproducible output.progress (
bool, optional) – Whether to show a progress bar. The default is True.interpolate (
bool, optional) – Whether to interpolate each crossing instead of rounding it up to a grid point.**kwargs – Further arguments of ~uvex_transients.models.core.detection_horizon.detection_horizon, such as
criterionorlyman_limit. By default the horizon is capped at the redshift where the Lyman limit enters the reddest band,lyman_limit=Falseremoves the cap.
- Returns:
curve (
QTable) – One row per magnitude limit, withmag_limit,z_limit,n_censoredandcappedcolumns.grid (
EffectivePeakGrid) – The evaluated grid, which can be reused for further limits.