pub fn calculate_structural_tof_pattern_vjp(
cell: UnitCell,
space_group: &SpaceGroup,
input: &StructuralTofInputView<'_>,
sample_weights: &[f64],
) -> Result<StructuralTofVjpResult, StructuralTofError>Expand description
Calculate values and one structural reverse derivative product.
ยงErrors
Returns StructuralTofError for invalid inputs or sample weights.