pub struct FullSpectrumPointSource {
pub point: Point,
pub spectrum: PowerSpectrum,
pub scale: f64,
}Fields§
§point: Point§spectrum: PowerSpectrum§scale: f64Implementations§
Source§impl FullSpectrumPointSource
impl FullSpectrumPointSource
pub fn flat_AB( point: Point, ab_mag: f64, grid1d: GRID1D, ) -> FullSpectrumPointSource
pub fn new_from_spectrum( point: Point, spectrum: PowerSpectrum, ) -> FullSpectrumPointSource
pub fn scale(&mut self, scale: f64)
pub fn apply_spectral_response_curve(&mut self, curve: &SpectralResponseCurve)
pub fn to_bands( &self, fuv_path: &SpectralResponseCurve, nuv_path: &SpectralResponseCurve, area: f64, ) -> Bands
Trait Implementations§
Source§impl Clone for FullSpectrumPointSource
impl Clone for FullSpectrumPointSource
Source§fn clone(&self) -> FullSpectrumPointSource
fn clone(&self) -> FullSpectrumPointSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FullSpectrumPointSource
impl RefUnwindSafe for FullSpectrumPointSource
impl Send for FullSpectrumPointSource
impl Sync for FullSpectrumPointSource
impl Unpin for FullSpectrumPointSource
impl UnsafeUnpin for FullSpectrumPointSource
impl UnwindSafe for FullSpectrumPointSource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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