zospy.analyses.surface.curvature.Curvature#
- class zospy.analyses.surface.curvature.Curvature#
Bases:
BaseAnalysisWrapper[CurvatureResult,CurvatureSettings]Surface Curvature analysis.
- Attributes:
- MODE
analysisThe OpticStudio analysis object.
config_filePath to the temporary configuration file.
ossThe OpticStudio system.
settingsSettings of the analysis.
text_output_filePath to the temporary text output file.
Methods
__call__(oss, *args, **kwargs)Run the analysis and return the results.
Get the data grids from the Curvature analysis.
get_data_series()Get the data series from the analysis result.
get_text_output()Get the text output of the analysis.
parse_output(grammar, transformer, result_type)Parse the text output of the analysis.
run(oss[, config_file, text_output_file, ...])Run the analysis and return the results.
Run the Curvature analysis.
update_settings(*[, settings, settings_kws])Update the settings of the analysis using a settings object or keyword arguments.
with_settings(settings)Create a new analysis with the specified settings.
- __init__(*, sampling: str | int = '65x65', data: str | constants.Analysis.SurfaceCurvatureData = 'TangentialCurvature', remove: str | constants.Analysis.RemoveOptions = 'None_', surface: int = 1, show_as: str | constants.Analysis.ShowAs = 'Contour', off_axis_coordinates: bool = False, contour_format: str = '', bfs_criterion: str | constants.Analysis.BestFitSphereOptions = 'MinimumVolume', bfs_reverse_direction: bool = False)#
Create a new Curvature analysis.
See also
CurvatureSettingsSettings for the Curvature analysis.
- get_data_grid() CurvatureResult | None#
Get the data grids from the Curvature analysis.
- run_analysis() list[CurvatureResult] | None#
Run the Curvature analysis.