pub struct AnnotationConfig {
pub color_scheme: ColorScheme,
pub show_direction_tick: bool,
pub min_radius: f32,
pub max_radius: f32,
pub line_width: u8,
pub ecc_good: f32,
pub ecc_warn: f32,
pub fwhm_good: f32,
pub fwhm_warn: f32,
}Expand description
Configuration for annotation rendering.
Fields§
§color_scheme: ColorSchemeColor scheme for annotations.
show_direction_tick: boolDraw a direction tick along the elongation axis.
min_radius: f32Minimum ellipse semi-axis radius in output pixels.
max_radius: f32Maximum ellipse semi-axis radius in output pixels.
line_width: u8Line thickness: 1 = single pixel, 2 = 3px cross kernel, 3 = 5px diamond.
ecc_good: f32Eccentricity threshold: below this is green (good).
ecc_warn: f32Eccentricity threshold: between ecc_good and this is yellow (warning).
At or above this is red (problem).
fwhm_good: f32FWHM ratio threshold: below this is green (good). Ratio = star FWHM / median FWHM.
fwhm_warn: f32FWHM ratio threshold: between fwhm_good and this is yellow (warning).
At or above this is red (problem).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnnotationConfig
impl RefUnwindSafe for AnnotationConfig
impl Send for AnnotationConfig
impl Sync for AnnotationConfig
impl Unpin for AnnotationConfig
impl UnsafeUnpin for AnnotationConfig
impl UnwindSafe for AnnotationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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