galplane_nvisits_thresholds

rubin_sim.maf.metrics.galplane_nvisits_thresholds(tau_obs, nyears=10)

“Return estimated nvisits required to well-sample lightcurves that need sampling every tau_obs (days).

This does a very basic estimate, just counting how many visits you would have if you distributed them at tau_obs intervals for a period of nyears, assuming a season length of 6.5 years and that visits in each night are in pairs.

Parameters:
tau_obsnp.ndarray or list of float

Timescale that variability must be sampled at, in days.

nyearsfloat, opt

Number of years in the survey (as sampled). Default 10.

Returns:
n_visits_thresholdsnp.ndarray

Estimated number of visits required to well sample lightcurves which require sampling on tau_obs