LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
23 #ifndef LSST_AFW_IMAGE_TRANSMISSIONCURVE_H_INCLUDED
24 #define LSST_AFW_IMAGE_TRANSMISSIONCURVE_H_INCLUDED
26 #include "ndarray_fwd.h"
83 ndarray::Array<double const, 1>
const &throughput,
84 ndarray::Array<double const, 1>
const &wavelengths,
double throughputAtMin = 0.0,
106 ndarray::Array<double const, 2>
const &throughput,
107 ndarray::Array<double const, 1>
const &wavelengths, ndarray::Array<double const, 1>
const &radii,
182 ndarray::Array<double const, 1, 1>
const &wavelengths,
183 ndarray::Array<double, 1, 1>
const &out)
const = 0;
195 ndarray::Array<double const, 1, 1>
const &wavelengths)
const;
236 #endif // !LSST_AFW_IMAGE_TRANSMISSIONCURVE_H_INCLUDED
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
virtual std::shared_ptr< TransmissionCurve const > _transformedByImpl(std::shared_ptr< geom::TransformPoint2ToPoint2 > transform) const
Polymorphic implementation for transformedBy().
TransmissionCurve()=default
static std::shared_ptr< TransmissionCurve const > makeIdentity()
Create a new TranmissionCurve that has unit thoughput at all wavelengths everywhere.
std::shared_ptr< TransmissionCurve const > transformedBy(std::shared_ptr< geom::TransformPoint2ToPoint2 > transform) const
Return a view of a TransmissionCurve in a different coordinate system.
virtual void sampleAt(lsst::geom::Point2D const &position, ndarray::Array< double const, 1, 1 > const &wavelengths, ndarray::Array< double, 1, 1 > const &out) const =0
Evaluate the throughput at a position into a provided output array.
Interface supporting iteration over heterogenous containers.
std::string getPythonModule() const override
Return the fully-qualified Python module that should be imported to guarantee that its factory is reg...
static std::shared_ptr< TransmissionCurve const > makeRadial(ndarray::Array< double const, 2 > const &throughput, ndarray::Array< double const, 1 > const &wavelengths, ndarray::Array< double const, 1 > const &radii, double throughputAtMin=0.0, double throughputAtMax=0.0)
Create a new TransmissionCurve with throughput varying as function of radius.
virtual std::pair< double, double > getWavelengthBounds() const =0
Return the wavelength interval on which this TransmissionCurve varies.
TransmissionCurve & operator=(TransmissionCurve const &)=delete
static std::shared_ptr< TransmissionCurve const > makeSpatiallyConstant(ndarray::Array< double const, 1 > const &throughput, ndarray::Array< double const, 1 > const &wavelengths, double throughputAtMin=0.0, double throughputAtMax=0.0)
Create a new TransmissionCurve with spatially-constant throughput.
table::Key< double > throughputAtMax
ItemVariant const * other
~TransmissionCurve() override=default
TransmissionCurve & operator=(TransmissionCurve &&)=delete
TransmissionCurve(TransmissionCurve const &)=delete
std::shared_ptr< TransmissionCurve const > multipliedBy(TransmissionCurve const &other) const
Return a new TransmissionCurve that simply multiplies the values of two others.
A base class for image defects.
virtual std::shared_ptr< TransmissionCurve const > _multipliedByImpl(std::shared_ptr< TransmissionCurve const > other) const
One-way polymorphic implementation for multipliedBy().
A spatially-varying transmission curve as a function of wavelength.
A CRTP facade class for subclasses of Persistable.
table::Key< double > throughputAtMin
TransmissionCurve(TransmissionCurve &&)=delete
virtual std::pair< double, double > getThroughputAtBounds() const =0
Return the throughput value that will be returned for wavelengths below and above getWavelenthBounds(...