importMsg.m 调用如下函数 —————— Called By loadCtrlFcn.m msgparse.m ———— 解析PHD文件并返回解析结果 setInfo.m ———— set general information ———— DESC VAL_TYPE GLOBAL_NAME COMMENT ———— 'Acquisition' 1x3 double Am_acquisition_data [aStart, RealTime, LiveTime] ———— 'Calibration' datenum Am_calibration_date last calibration date ———— 'Collection' 1x3 double Am_collection_data [cStart, cStop, AirVolume] ———— 'Comment' string array Am_comment stations comments ———— 'DataTypeLong' string Am_data_type message data type ———— 'Header' 7x1 cell Am_header {Station, Detector, Geometry, Qualifier, SystemType, SRID, MID} ———— 'MessageFile' string At_message_filename message file name ———— 'ReportFile' string At_report_filename report file name ———— 'AatFile' string At_aat_filename aat file name ———— 'AatamiComment' Nx2 cell At_comment {timestamp, comment} ———— 'SampleID' 1x1 double At_sample_id sample id ———— 'Channels' 1x1 double Ac_channels number of channels ———— 'ChannelZero' 1x1 double Am_spectrum_offset 1 if channel zero was ignored from message ———— 'Category' 1x1 double Adb_category sample category ———— 'LoadSource' 1x1 char At_load_source input method flag ———— 'CalPeaks' number of calibration peaks, ignored ———— 'Certificate' struct Am_certificate certificate ———— 'EneCalUpdate1' flag performance of eneCalUpdate1, ignored ———— 'EneCalUpdate2' ignored ———— 'ResCalUpdate' ignored ———— ———— no global variables for 'CalPeaks','EneCalUpdate1','EneCalUpdate2','ResCalUpdate' setupMsgDefault.m ———— 初始化设置变量的值 read in default setup for the spectrum ———— global At_setup_class —— 指明类型的字符集,取值有 standard、xenon、calibration ———— global At_setup_data ——— 结构体集,standard、xenon、calibration类型对应的设置 setCalibrationData.m ———— add new calibration data to list ———— setCalibrationData.m ———— setCalDataGlob.m ———— global Acal_energy_data ———— global Acal_resolution_data ———— global Acal_efficiency_data ———— global Acal_tot_efficiency_data ———— global Acal_tail_data ———— global Acal_tail_alpha_data ———— global Acal_tail_right_data ———— global Acal_tail_right_alpha_data ———— global Acal_step_ratio_data setSpectrum.m ———— set spectrum counts ———— global Am_spectrum