LSST Applications g04a91732dc+146a938ab0,g07dc498a13+80b84b0d75,g0fba68d861+4c4f3dcb5c,g1409bbee79+80b84b0d75,g1a7e361dbc+80b84b0d75,g1fd858c14a+f6e422e056,g20f46db602+333b6c0f32,g35bb328faa+fcb1d3bbc8,g42c1b31a95+a1301e4c20,g4d2262a081+f1facf12e5,g4d39ba7253+9b833be27e,g4e0f332c67+5d362be553,g53246c7159+fcb1d3bbc8,g60b5630c4e+9b833be27e,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g8852436030+790117df0f,g89139ef638+80b84b0d75,g8d6b6b353c+9b833be27e,g9125e01d80+fcb1d3bbc8,g989de1cb63+80b84b0d75,g9f33ca652e+9c6b68d7f3,ga9baa6287d+9b833be27e,gaaedd4e678+80b84b0d75,gabe3b4be73+1e0a283bba,gb1101e3267+9f3571abad,gb58c049af0+f03b321e39,gb90eeb9370+691e4ab549,gc741bbaa4f+2bcd3860df,gcf25f946ba+790117df0f,gd315a588df+5b65d88fe4,gd6cbbdb0b4+c8606af20c,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+ee6a3faa19,ge278dab8ac+932305ba37,ge82c20c137+76d20ab76d,gee8db133a9+2a6ae0040b,w.2025.10
LSST Data Management Base Package
Loading...
Searching...
No Matches
lsst::meas::extensions::trailedSources Namespace Reference

Namespaces

namespace  NaivePlugin
 
namespace  utils
 
namespace  VeresPlugin
 
namespace  version
 

Classes

class  VeresModel
 Implementation of an axisymmetric 2D Gaussian convolved with a line – a model for a fast-moving, trailed-source (Veres et al. More...
 

Typedefs

using ImageF = afw::image::Image<float>
 
using ExposureF = afw::image::Exposure<float>
 

Functions

void wrapVeresModel (lsst::cpputils::python::WrapperCollection &wrappers)
 
 PYBIND11_MODULE (_trailedSources, mod)
 
sin (T... args)
 
cos (T... args)
 
sqrt (T... args)
 
exp (T... args)
 
erf (T... args)
 

Detailed Description

lsst.meas.extensions.trailedSources

Typedef Documentation

◆ ExposureF

◆ ImageF

Function Documentation

◆ cos()

T std::cos ( T... args)

◆ erf()

T std::erf ( T... args)

◆ exp()

T std::exp ( T... args)

◆ PYBIND11_MODULE()

lsst::meas::extensions::trailedSources::PYBIND11_MODULE ( _trailedSources ,
mod  )

Definition at line 36 of file _trailedSources.cc.

36 {
37 lsst::cpputils::python::WrapperCollection wrappers(mod, "lsst.meas.extensions.trailedSources");
38 wrapVeresModel(wrappers);
39 wrappers.finish();
40}
A helper class for subdividing pybind11 module across multiple translation units (i....
Definition python.h:242
void wrapVeresModel(lsst::cpputils::python::WrapperCollection &wrappers)

◆ sin()

T std::sin ( T... args)

◆ sqrt()

T std::sqrt ( T... args)

◆ wrapVeresModel()

void lsst::meas::extensions::trailedSources::wrapVeresModel ( lsst::cpputils::python::WrapperCollection & wrappers)

Definition at line 41 of file _VeresModel.cc.

41 {
42
43 wrappers.addSignatureDependency("lsst.geom");
44 wrappers.addSignatureDependency("lsst.afw.image");
45
46 wrappers.wrapType(
47 py::class_<VeresModel, std::shared_ptr<VeresModel>>(wrappers.module, "VeresModel"),
48 [](auto & mod, auto & cls) {
49 cls.def(py::init<afw::image::Exposure<float> const&>(), "data"_a);
50 cls.def("__call__", &VeresModel::operator(), py::is_operator(), "params"_a);
51 cls.def("gradient", &VeresModel::gradient, "params"_a);
52 cls.def("computeFluxWithGradient", &VeresModel::computeFluxWithGradient, "params"_a);
53 cls.def("computeModelImage", &VeresModel::computeModelImage, "params"_a);
54 cls.def_property_readonly("sigma", &VeresModel::getSigma);
55 });
56}
void addSignatureDependency(std::string const &name)
Indicate an external module that provides a type used in function/method signatures.
Definition python.h:357
PyType wrapType(PyType cls, ClassWrapperCallback function, bool setModuleName=true)
Add a type (class or enum) wrapper, deferring method and other attribute definitions until finish() i...
Definition python.h:391
pybind11::module module
The module object passed to the PYBIND11_MODULE block that contains this WrapperCollection.
Definition python.h:448
Implementation of an axisymmetric 2D Gaussian convolved with a line – a model for a fast-moving,...
Definition VeresModel.h:47