Skip to main content

StarMetrics

Struct StarMetrics 

Source
pub struct StarMetrics {
Show 14 fields pub x: f32, pub y: f32, pub peak: f32, pub flux: f32, pub fwhm_x: f32, pub fwhm_y: f32, pub fwhm: f32, pub eccentricity: f32, pub snr: f32, pub hfr: f32, pub theta: f32, pub beta: Option<f32>, pub fit_method: FitMethod, pub fit_residual: f32,
}
Expand description

Quantitative metrics for a single detected star.

Fields§

§x: f32

Subpixel centroid X.

§y: f32

Subpixel centroid Y.

§peak: f32

Background-subtracted peak value (ADU).

§flux: f32

Total background-subtracted flux (ADU).

§fwhm_x: f32

FWHM along major axis (pixels).

§fwhm_y: f32

FWHM along minor axis (pixels).

§fwhm: f32

Geometric mean FWHM (pixels).

§eccentricity: f32

Eccentricity: 0 = round, approaching 1 = elongated.

§snr: f32

Per-star aperture photometry SNR.

§hfr: f32

Half-flux radius (pixels).

§theta: f32

PSF position angle in radians, counter-clockwise from +X axis. Orientation of the major axis (fwhm_x direction). 0.0 when Gaussian fit is disabled and star is nearly round.

§beta: Option<f32>

Moffat β parameter (None if Gaussian/moments fit was used).

§fit_method: FitMethod

Which PSF fitting method produced this measurement.

§fit_residual: f32

Normalized fit residual (quality weight: w = 1/(1+r)). Lower = better fit. 1.0 for moments fallback.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.