pub struct SsdmBasis {
pub reference_model: AnatomyModel,
pub mean_stature_mm: f64,
pub mean_mass_g: f64,
pub regularization_lambda: f64,
pub shape_modes: Vec<SsdmShapeMode>,
pub density_modes: Vec<SsdmDensityMode>,
}Expand description
Low-rank Statistical Shape & Density Mode basis for Stage 1 projection.
Fields§
§reference_model: AnatomyModel§mean_stature_mm: f64§mean_mass_g: f64§regularization_lambda: f64§shape_modes: Vec<SsdmShapeMode>§density_modes: Vec<SsdmDensityMode>Implementations§
Source§impl SsdmBasis
impl SsdmBasis
Sourcepub fn canonical_human(reference_model: AnatomyModel) -> Self
pub fn canonical_human(reference_model: AnatomyModel) -> Self
Construct the canonical human low-rank SSDM basis for VH_Male or VH_Female.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SsdmBasis
impl<'de> Deserialize<'de> for SsdmBasis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SsdmBasis
Auto Trait Implementations§
impl Freeze for SsdmBasis
impl RefUnwindSafe for SsdmBasis
impl Send for SsdmBasis
impl Sync for SsdmBasis
impl Unpin for SsdmBasis
impl UnsafeUnpin for SsdmBasis
impl UnwindSafe for SsdmBasis
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