25#ifndef LSST_MEAS_EXTENSIONS_TRAILEDSOURCES_VERES_MODEL_H
26#define LSST_MEAS_EXTENSIONS_TRAILEDSOURCES_VERES_MODEL_H
31#include "lsst/pex/config.h"
38namespace trailedSources {
122 double getSigma() const noexcept {
return _sigma; }
138 double _computeModel(
double x,
double y,
double xc,
double yc,
139 double flux,
double length,
double theta)
const noexcept;
155 double flux,
double length,
double theta)
const noexcept;
typename ndarray::Array< PixelT, 2, 1 > Array
Implementation of an axisymmetric 2D Gaussian convolved with a line – a model for a fast-moving,...
std::vector< double > gradient(std::vector< double > const ¶ms) const
Compute the gradient of chi-squared of the model given the data.
VeresModel & operator=(VeresModel &&)=default
std::shared_ptr< ImageF > computeModelImage(std::vector< double > const ¶ms) const
Compute an image for a trail generated from the Veres model.
VeresModel(VeresModel const &)=default
VeresModel & operator=(VeresModel const &)=default
std::tuple< double, std::vector< double > > computeFluxWithGradient(std::vector< double > const ¶ms) const
Computes the flux and the gradient with respect to the other model parameters.
double operator()(std::vector< double > const ¶ms) const
Compute chi-squared of the model given the data.
double getSigma() const noexcept
Return the PSF sigma.
VeresModel(VeresModel &&)=default