FoldOptLib.splot package¶
Submodules¶
FoldOptLib.splot.splot_processor module¶
- class FoldOptLib.splot.splot_processor.SPlotProcessor[source]¶
Bases:
object
- calculate_asymmetry(theta)[source]¶
Calculates the fold asymmetry for a given set of fourier parameters. The asymmetry of a curve is a measure of how much it deviates from symmetry.
Parameters:¶
- thetafloat
The parameter used to calculate the curve
Returns:¶
- asymmetry: float
The asymmetry of the curve measured in degrees.
- calculate_splot(fold_frame, theta)[source]¶
Calculates the curve using the passed ref_fold_frame and theta values, it uses the passed coeff value to determine the specific function to use.
- Parameters:
fold_frame (array) – The fold frame coordinates of the fold rotation angles
theta (float) – The fourier parameters
- Returns:
curve – The calculated curve.
- Return type:
array