rubin_sim MAF: Available metrics#
Core LSST MAF metrics#
AbsMaxMetricCalculate the max of the absolute value of a simData column slice.
AbsMaxPercentMetricReturn the percent of data which matches the absolute value of the
AbsMeanMetricCalculate the mean of the absolute value of a simData column slice.
AbsMedianMetricCalculate the median of the absolute value of a simData column slice.
AccumulateCountMetricCalculate the accumulated stat
AccumulateM5MetricCalculate the accumulated stat
AccumulateMetricCalculate the accumulated stat
AccumulateUniformityMetricMake a 2D version of UniformityMetric
ActivityOverPeriodMetricCount fraction of object period we could identify activity
ActivityOverTimeMetricCount fraction of survey we could identify activity for an SSobject.
AgeMetricBase class for the metrics.
AgnTimeLagMetricBase class for the metrics.
AngularSpreadMetricCompute the angular spread statistic which measures
AreaSummaryMetricFind the min/max of a value over the area with the ‘best’ results
AreaThresholdMetricFind the amount of area on the sky that meets a given threshold value.
BDParallaxMetricCalculate the distance to which one could reach a parallax SNR for a
BaseMetricBase class for the metrics.
BaseMoMetricBase class for the moving object metrics.
BinaryMetricReturn 1 if there is data,
badvalotherwise.
BruteOSFMetricAssume I can’t trust the slewtime or visittime colums.
CampaignLengthMetricCalculate the number of seasons (roughly, years) a pointing is observed.
CheckColorSlopeCheck if the data has a color and a slope
ChipVendorMetricSee what happens if we have chips from different vendors
CoaddM5PerNightMetricHistogram the coadded depth of visits in each night.
Coaddm5MetricCalculate the coadded m5 value.
ColRegistryColRegistry tracks the columns needed for all metric objects
ColorAsteroidMetricCalculate the likelihood of being able to calculate the color of an
ColorSlope2NightMetricLike ColorSlopeMetric, but span over 2 nights
ColorSlopeMetricHow many times do we get a color and slope in a night
CountBeyondThresholdCount the number of entries in a data column above or below
CountExplimMetricCount the number of x second visits.
CountMetricCount the length of a simData column slice.
CountRatioMetricCount the length of a column slice, then divide by
norm_val.
CountSubsetMetricCount the length of a column slice which matches
subset.
CountUniqueMetricReturn the number of unique values.
CrowdingM5MetricCalculate the magnitude at which the photometric error exceeds
CrowdingMagUncertMetricCalculate the mean uncertainty in magnitude due to crowding.
CumulativeMetricFor plotting up the cumulative number of observations.
DcrPrecisionMetricDetermine how precise a DCR correction could be made
DiscoveryDistanceMetricReturns the distance of the first discovery track of an SSobject.
DiscoveryEclonlatMetricReturns the ecliptic lon/lat and solar elong of the first discovery
DiscoveryMetricIdentify the discovery opportunities for an SSobject.
DiscoveryNChancesMetricCalculate total number of discovery opportunities for an SSobject.
DiscoveryNObsMetricCalculates the number of observations in the first discovery
DiscoveryRadecMetricReturns the RA/Dec of the first discovery track of an SSobject.
DiscoveryTimeMetricReturns the time of the first discovery track of an SSobject.
DiscoveryVelocityMetricReturns the sky velocity of the first discovery track of an SSobject.
ExgalM5Calculate co-added five-sigma limiting depth after dust extinction.
ExgalM5WithCutsCalculate co-added five-sigma limiting depth, but apply dust extinction and
FOAreaGiven an n_visit threshold, how much AREA receives at least that many
FONvGiven asky area, what is the minimum and median NVISITS obtained over
FftMetricCalculate a truncated FFT of the exposure times.
FootprintFractionMetricCalculate fraction of a desired footprint got covered.
FracAboveMetricFind the fraction of data values above a given
cutoff.
FracBelowMetricFind the fraction of data values below a given
cutoff.
FullRangeAngleMetricCalculate the full range of an angular (degrees) column slice.
FullRangeMetricCalculate the range of a simData column slice.
GalPlaneFootprintMetricEvaluate the survey overlap with desired regions in the
GalPlaneSeasonGapsTimescaleMetricEvaluate the gap between sequential seasonal gaps in
GalPlaneTimePerFilterMetricEvaluate the fraction of exposure time spent in each filter as a
GalPlaneVisitIntervalsTimescaleMetricEvaluate the intervals between sequential observations in a
GapsMetricCompute the number of times a gaps of a specified timescale
GeneralUniformityMetricCalculate how uniformly any values are distributed.
HighVelocityMetricCount number of times an SSobject appears trailed.
HighVelocityNightsMetricCount the number of discovery opportunities (via trailing) for an
HistogramM5MetricCalculate the coadded depth for each bin (e.g., per night).
HistogramMetricA wrapper to stats.binned_statistic
HourglassMetricPlot the filters used as a function of time.
IdentityMetricReturn the metric value.
InstantaneousColorMetricIdentify SSobjects which could have observations suitable to
InterNightGapsMetricCalculate the (reduce_func) of the gap between consecutive
IntraNightGapsMetricCalculate the (reduce_func) of the gap between consecutive
KnownObjectsMetricIdentify SSobjects which could be classified as ‘previously known’
KuiperMetricFind the Kuiper V statistic for a distribution, useful for angles.
LightcurveColorOuterMetricCalculate the liklihood of being able to calculate a color and
LightcurveInversionAsteroidMetricEvaluate the liklihood that the detections could be used to enable
MagicDiscoveryMetricCount the number of nights with discovery opportunities
MaxGapMetricFind the maximum gap (in days) in between successive observations.
MaxMetricCalculate the maximum of a simData column slice.
MaxPercentMetricReturn the percent of data which matches the maximum value
MaxStateChangesWithinMetricCompute the maximum number of changes of state that occur
MeanAngleMetricCalculate the mean of an angular (degree) column slice.
MeanCampaignFrequencyMetricCalculate the mean separation between nights, within a season -
MeanMetricCalculate the mean of a simData column slice.
MeanValueAtHMetricReturn the mean value of a metric at a given H.
MedianMetricCalculate the median of a simData column slice.
MetricRegistryMeta class for metrics, to build a registry of metric classes.
MinMetricCalculate the minimum of a simData column slice.
MinTimeBetweenStatesMetricCompute the minimum time between changes of state in a column value.
MoCompletenessAtTimeMetricCalculate the completeness (relative to the entire population)
MoCompletenessMetricCalculate the fraction of the population that meets
thresholdvalue
MultibandMeanzBiasMetricRun as summary metric on MultibandExgalM5.
NChangesMetricCompute the number of times a column value changes.
NNightsMetricCount the number of distinct nights an SSobject is observed.
NObsMetricCount the total number of observations where an SSobject was ‘visible’.
NObsNoSinglesMetricCount the number of observations for an SSobject, without singles.
NRevisitsMetricCalculate the number of consecutive visits with
NStateChangesFasterThanMetricCompute the number of changes of state that happen faster than ‘cutoff’.
NVisitsPerNightMetricHistogram the number of visits in each night.
NestedLinearMultibandModelMetricCalculate multiple linear combinations of depths.
NgalScaleMetricApproximate number of galaxies, scaled by median seeing.
NightPointingMetricGather relevant information for a night to plot.
NightTimespanMetricCalculate the maximum time span covered in each night,
NightgapsMetricHistogram the number of nights between observations.
NlcPointsMetricNumber of points in stellar light curves
NormalizeMetricReturn a metric values divided by ‘norm_val’.
NoutliersNsigmaMetricCalculate the # of visits less than n_sigma below the mean (n_sigma<0)
NstarsMetricCalculate the number of stars detectable above some uncertainty
ObsArcMetricCalculate the difference in time between the first and last observation
OpenShutterFractionMetricCompute the fraction of time the shutter is open
OptimalM5MetricCompare the co-added depth of the survey to one where
PairFractionMetricWhat fraction of observations are part of a pair.
PairMetricCount the number of pairs of visits that could be used for
ParallaxCoverageMetricCheck how well the parallax factor is distributed.
ParallaxDcrDegenMetricUse the full parallax and DCR displacement vectors to find if they
ParallaxMetricCalculate the uncertainty in a parallax measurement
PassMetricPass the entire dataslice array back to the MetricBundle.
PeakVMagMetricPull out the peak V magnitude of all observations of the SSobject.
PercentileMetricFind the value of a column at a given
percentile.
PeriodicDetectMetricDetermine if we would be able to classify an object as
PeriodicQualityMetricEvaluate phase coverage over a given period.
PhaseGapMetricMeasure the maximum gap in phase coverage for
ProperMotionMetricCalculate the uncertainty in the returned proper motion.
QSONumberCountsMetricCalculate the number of quasars expected with SNR>=5
RIZDetectionCoaddExposureTimeA metric computing the total exposure time of an riz coadd.
RadiusObsMetricEvaluate slice point radial position in the focal plane of each visit,
RapidRevisitMetricBase class for the metrics.
RapidRevisitUniformityMetricCalculate uniformity of time between consecutive visits on
RealMeanMetricCalculate the mean of a column with no nans or infs.
RelRmsMetricCalculate the relative scatter metric (RMS divided by median).
RmsAngleMetricCalculate the standard deviation of an angular (degrees) column slice.
RmsMetricCalculate the standard deviation of a simData column slice.
RobustRmsMetricUse the inter-quartile range of the data to estimate the RMS.
SFUncertMetricStructure Function (SF) Uncertainty Metric.
SNCadenceMetricMetric to estimate the redshift limit for faint supernovae
SNNSNMetricMeasure zlim of type Ia supernovae.
SNSLMetricCalculate the number of expected well-measured strongly lensed SN
SNSNRMetricMetric to estimate the detection rate for faint supernovae
SeasonLengthMetricCalculate the length of LSST seasons, in days.
SingleLinearMultibandModelMetricCalculate a single linear combination of depths.
SkySaturationMetricCheck if the sky would saturate a visit in an exposure
SnrWeightedMetricTake the SNR weighted average of a column.
StarDensityMetricInterpolate the stellar luminosity function to return the number of
StaticProbesFoMEmulatorMetricSimpleThis calculates the Figure of Merit for the combined
StringCountMetricCount up the number of times each string appears in a column.
StripinessMetricRun as summary metric on NestedRIZExptimeExgalM5Metric.
SumMetricCalculate the sum of a simData column slice.
SurfaceBrightLimitMetricGaussian limit, ignoring systematic errors in photometry
TdcMetricCalculate the Time Delay Challenge metric,
TemplateExistsMetricCalculate the fraction of images with a previous template
TemplateTimeFind the time at which we expect to hit incremental template
TgapsMetricHistogram the times of the gaps between observations.
TgapsPercentMetricCompute the fraction of the time gaps between observations that occur
TomographicClusteringSigma8biasMetricCompute bias on sigma8 due to spurious contamination of density maps.
TotalNumberSSOCalculate the total number of objects of a given population
TotalPowerMetricCalculate the total power in the angular power spectrum,
TransientMetricCalculate what fraction of the transients would be detected. Best paired
UDropoutsAreaRun as summary metric on MultibandExgalM5.
UDropoutsNumbersShallowestDepthRun as summary metric on MultibandExgalM5.
UniformAreaFoMFractionMetricRun as summary metric on NestedRIZExptimeExgalM5Metric.
UniformityMetricCalculate how uniformly the observations are spaced in time.
UniqueRatioMetricReturn the number of unique values divided by the
UseMetricMetric to classify visits by type of visits
ValueAtHMetricReturn the metric value at a given H value.
VisitGapMetricCalculate the (reduce_func) of the gap between any
VisitGroupsMetricCount the number of visits per night within delta_t_min and delta_t_max.
VolumeSumMetricCompute the total volume assuming a metric has values of distance.
WeakLensingNvisitsA proxy metric for WL systematics. Higher values indicate better
YearCoverageMetricCount the number of
binscovered by night_col.
ZeropointMetricReturn a metric values with the addition of ‘zp’.
Contributed maf_contrib metrics#
DepthLimitedNumGalMetricThis metric calculates the number of galaxies while accounting for the
FilterPairTGapsMetricFigure of merit to measure the coverage the time gaps in same
GRBTransientMetricEvaluate the likelihood of detecting a GRB optical counterpart.
GW170817DetMetricWrapper metric class for GW170817-like kilonovae based on the
GalaxyCountsMetricEstimate the number of galaxies expected at a particular (extragalactic)
KNePopMetricBase class for the metrics.
LVDwarfsMetricEstimate the detection limit in total dwarf luminosity for
MicrolensingMetricQuantifies detectability of Microlensing events.
NYoungStarsMetricCalculate the distance or number of stars with
PeriodicMetricFrom a set of observation times, uses code provided by Robert Siverd
PeriodicStarMetricAt each slice_point, run a Monte Carlo simulation to see how
PeriodicStarModulationMetricEvaluate how well a periodic source can be fit on a short baseline,
PhotometricSelfCalUniformityMetricBase class for the metrics.
PrestoColorKNePopMetricBase class for the metrics.
StarCountMassMetricFind the number of stars in a given field in the mass range
StarCountMetricFind the number of stars in a given field between d1 and d2 in parsecs.
StaticProbesFoMEmulatorMetricThis calculates the Figure of Merit for the combined
TdePopMetricBase class for the metrics.
TripletBandMetricFind the number of ‘triplets’ of three images taken in the same band,
TripletMetricFind the number of ‘triplets’ of three images taken in any band,
XRBPopMetricEvaluate whether a given XRB would be detectable.