-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCalibrationWeightFormat.m
27 lines (22 loc) · 1.07 KB
/
CalibrationWeightFormat.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
classdef CalibrationWeightFormat
% Hold calibration weights at each step of the calibration process.
% Copyright 2023 The MathWorks, Inc.
properties
UncalibratedWeights = CalibrationValueFormat()
AnalogCourseAmplitudeWeights = CalibrationValueFormat()
AnalogPhaseWeights = CalibrationValueFormat()
AnalogFineAmplitudeWeights = CalibrationValueFormat()
DigitalAmplitudeWeights = CalibrationValueFormat()
FinalCalibrationWeights = CalibrationValueFormat()
end
methods
function s = toStruct(this)
s.UncalibratedWeights = this.UncalibratedWeights.toStruct();
s.AnalogCourseAmplitudeWeights = this.AnalogCourseAmplitudeWeights.toStruct();
s.AnalogPhaseWeights = this.AnalogPhaseWeights.toStruct();
s.AnalogFineAmplitudeWeights = this.AnalogFineAmplitudeWeights.toStruct();
s.DigitalAmplitudeWeights = this.DigitalAmplitudeWeights.toStruct();
s.FinalCalibrationWeights = this.FinalCalibrationWeights.toStruct();
end
end
end