runOneFilter¶
-
lsst.validate.drp.validate.
runOneFilter
(repo, visitDataIds, brightSnr=100, medianAstromscatterRef=25, medianPhotoscatterRef=25, matchRef=500, makePrint=True, makePlot=True, makeJson=True, filterName=None, outputPrefix=None, verbose=False, **kwargs)[source]¶ Main executable for the case where there is just one filter.
- Plot files and JSON files are generated in the local directory
- prefixed with the repository name (where ‘_’ replace path separators),
unless overriden by specifying outputPrefix. E.g., Analyzing a repository “CFHT/output”
will result in filenames that start with “CFHT_output_”.Parameters: repo : string
The repository. This is generally the directory on disk that contains the repository and mapper.
dataIds : list of dict
List of butler data IDs of Image catalogs to compare to reference. The calexp cpixel image is needed for the photometric calibration.
brightSnr : float, optional
Minimum SNR for a star to be considered bright
medianAstromscatterRef : float, optional
Expected astrometric RMS [mas] across visits.
medianPhotoscatterRef : float, optional
Expected photometric RMS [mmag] across visits.
matchRef : int, optional
Expectation of the number of stars that should be matched across visits.
makePrint : bool, optional
Print calculated quantities (to stdout).
makePlot : bool, optional
Create plots for metrics. Saved to current working directory.
makeJson : bool, optional
Create JSON output file for metrics. Saved to current working directory.
outputPrefix : str, optional
Specify the beginning filename for output files.
filterName : str, optional
Name of the filter (bandpass).
verbose : bool, optional
Output additional information on the analysis steps.