MATLAB读取StandardSpot代码如下: 但是读取FullFieldSpot不会。。。。。求助
Fspot = TheSystem.Analyses.New_Analysis(ZOSAPI.Analysis.AnalysisIDM.StandardSpot);
Fspot_setting = Fspot.GetSettings();
Fspot_setting.Field.SetFieldNumber(0);
Fspot_setting.Wavelength.SetWavelengthNumber(0);
Fspot_setting.ReferTo = ZOSAPI.Analysis.Settings.Spot.Reference.Centroid;
Fspot.ApplyAndWaitForCompletion();
Fspot_results = Fspot.GetResults();
fprintf('RMS radius: %6.3f %6.3f %6.3f\n',Fspot_results.SpotData.GetRMSSpotSizeFor(1,1),Fspot_results.SpotData.GetRMSSpotSizeFor(2,1),Fspot_results.SpotData.GetRMSSpotSizeFor(3,1))
fprintf('GEO radius: %6.3f %6.3f %6.3f\n',Fspot_results.SpotData.GetGeoSpotSizeFor(1,1),Fspot_results.SpotData.GetGeoSpotSizeFor(2,1),Fspot_results.SpotData.GetGeoSpotSizeFor(3,1))