zospy.analyses.psf.huygens_psf.HuygensPSFAndStrehlRatio#
- class zospy.analyses.psf.huygens_psf.HuygensPSFAndStrehlRatio#
Bases:
BaseHuygensPSF[HuygensPSFResult]Huygens Point Spread Function (PSF) analysis with Strehl ratio.
- 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_data_grid([cell_origin])Get the data grids from the analysis result.
get_data_series()Get the data series from the analysis result.
Extract the Strehl ratio from the text output.
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 Huygens PSF and Strehl Ratio 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.
- get_strehl_ratio() float#
Extract the Strehl ratio from the text output.
- run_analysis() HuygensPSFResult#
Run the Huygens PSF and Strehl Ratio analysis.