API
 
Loading...
Searching...
No Matches
MagAOX::app::Star Struct Reference

#include <psfAcq.hpp>

Collaboration diagram for MagAOX::app::Star:
Collaboration graph

Public Member Functions

 Star ()=default
 Default constructor.
 
 Star (const Star &)=delete
 Disable copy constructor because the star owns a unique INDI property instance.
 
Staroperator= (const Star &)=delete
 Disable copy assignment because the star owns a unique INDI property instance.
 
 Star (Star &&) noexcept=default
 Enable move constructor.
 
Staroperator= (Star &&) noexcept=default
 Enable move assignment.
 
pcf::IndiProperty & prop ()
 Access the owned INDI property.
 
bool hasProp () const
 Check whether an INDI property has been allocated.
 
void allocate ()
 Allocate the star's INDI property if needed.
 
void deallocate ()
 Release the star's INDI property.
 

Public Attributes

std::size_t id { 0 }
 Monotonic identifier used as a stable tie-breaker across equal-brightness stars.
 
float x { 0 }
 Star row coordinate in image pixel space.
 
float y { 0 }
 Star column coordinate in image pixel space.
 
float max { 0 }
 Peak pixel value of the fitted star.
 
float fwhm { 0 }
 FWHM returned by the Gaussian fit in pixels.
 
float seeing { 0 }
 Derived seeing value in arcseconds.
 
int missedFrames { 0 }
 Consecutive frames where this star was not updated.
 

Private Attributes

std::unique_ptr< pcf::IndiProperty > m_prop
 Owned INDI property for this star's exported fit values.
 

Detailed Description

Definition at line 54 of file psfAcq.hpp.

Constructor & Destructor Documentation

◆ Star() [1/3]

MagAOX::app::Star::Star ( )
default

Default constructor.

◆ Star() [2/3]

MagAOX::app::Star::Star ( const Star )
delete

Disable copy constructor because the star owns a unique INDI property instance.

◆ Star() [3/3]

MagAOX::app::Star::Star ( Star &&  )
defaultnoexcept

Enable move constructor.

Member Function Documentation

◆ allocate()

void MagAOX::app::Star::allocate ( )
inline

Allocate the star's INDI property if needed.

Definition at line 118 of file psfAcq.hpp.

References m_prop.

◆ deallocate()

void MagAOX::app::Star::deallocate ( )
inline

Release the star's INDI property.

Definition at line 127 of file psfAcq.hpp.

References m_prop.

◆ hasProp()

bool MagAOX::app::Star::hasProp ( ) const
inline

Check whether an INDI property has been allocated.

Definition at line 112 of file psfAcq.hpp.

References m_prop.

◆ operator=() [1/2]

Star & MagAOX::app::Star::operator= ( const Star )
delete

Disable copy assignment because the star owns a unique INDI property instance.

◆ operator=() [2/2]

Star & MagAOX::app::Star::operator= ( Star &&  )
defaultnoexcept

Enable move assignment.

◆ prop()

pcf::IndiProperty & MagAOX::app::Star::prop ( )
inline

Access the owned INDI property.

Definition at line 101 of file psfAcq.hpp.

References m_prop.

Member Data Documentation

◆ fwhm

float MagAOX::app::Star::fwhm { 0 }

FWHM returned by the Gaussian fit in pixels.

Definition at line 71 of file psfAcq.hpp.

◆ id

std::size_t MagAOX::app::Star::id { 0 }

Monotonic identifier used as a stable tie-breaker across equal-brightness stars.

Definition at line 59 of file psfAcq.hpp.

Referenced by MagAOX::app::psfAcq::processImage().

◆ m_prop

std::unique_ptr<pcf::IndiProperty> MagAOX::app::Star::m_prop
private

Owned INDI property for this star's exported fit values.

Definition at line 82 of file psfAcq.hpp.

Referenced by allocate(), deallocate(), hasProp(), and prop().

◆ max

float MagAOX::app::Star::max { 0 }

Peak pixel value of the fitted star.

Definition at line 68 of file psfAcq.hpp.

◆ missedFrames

int MagAOX::app::Star::missedFrames { 0 }

Consecutive frames where this star was not updated.

Definition at line 77 of file psfAcq.hpp.

◆ seeing

float MagAOX::app::Star::seeing { 0 }

Derived seeing value in arcseconds.

Definition at line 74 of file psfAcq.hpp.

◆ x

float MagAOX::app::Star::x { 0 }

Star row coordinate in image pixel space.

Definition at line 62 of file psfAcq.hpp.

◆ y

float MagAOX::app::Star::y { 0 }

Star column coordinate in image pixel space.

Definition at line 65 of file psfAcq.hpp.


The documentation for this struct was generated from the following file: