|
697 | 697 | ], |
698 | 698 | "title": "Output unit" |
699 | 699 | }, |
| 700 | + "fit": { |
| 701 | + "anyOf": [ |
| 702 | + { |
| 703 | + "$ref": "#/$defs/CalibrationFit" |
| 704 | + }, |
| 705 | + { |
| 706 | + "type": "null" |
| 707 | + } |
| 708 | + ], |
| 709 | + "default": null, |
| 710 | + "description": "Fit equation for the calibration data used during data acquisition", |
| 711 | + "title": "Fit" |
| 712 | + }, |
700 | 713 | "notes": { |
701 | 714 | "anyOf": [ |
702 | 715 | { |
|
707 | 720 | } |
708 | 721 | ], |
709 | 722 | "default": null, |
710 | | - "description": "Fit equation, etc", |
711 | 723 | "title": "Notes" |
712 | 724 | } |
713 | 725 | }, |
|
723 | 735 | "title": "Calibration", |
724 | 736 | "type": "object" |
725 | 737 | }, |
| 738 | + "CalibrationFit": { |
| 739 | + "additionalProperties": false, |
| 740 | + "description": "Fit equation for calibration data", |
| 741 | + "properties": { |
| 742 | + "object_type": { |
| 743 | + "const": "Calibration fit", |
| 744 | + "default": "Calibration fit", |
| 745 | + "title": "Object Type", |
| 746 | + "type": "string" |
| 747 | + }, |
| 748 | + "fit_type": { |
| 749 | + "$ref": "#/$defs/FitType", |
| 750 | + "title": "Fit type" |
| 751 | + }, |
| 752 | + "fit_parameters": { |
| 753 | + "anyOf": [ |
| 754 | + { |
| 755 | + "$ref": "#/$defs/GenericModel" |
| 756 | + }, |
| 757 | + { |
| 758 | + "type": "null" |
| 759 | + } |
| 760 | + ], |
| 761 | + "default": null, |
| 762 | + "description": "Parameters of the fit equation, e.g. slope and intercept for linear fit", |
| 763 | + "title": "Fit parameters" |
| 764 | + } |
| 765 | + }, |
| 766 | + "required": [ |
| 767 | + "fit_type" |
| 768 | + ], |
| 769 | + "title": "CalibrationFit", |
| 770 | + "type": "object" |
| 771 | + }, |
726 | 772 | "Channel": { |
727 | 773 | "additionalProperties": false, |
728 | 774 | "description": "Configuration of a channel", |
|
1755 | 1801 | "title": "FiberAssemblyConfig", |
1756 | 1802 | "type": "object" |
1757 | 1803 | }, |
| 1804 | + "FitType": { |
| 1805 | + "description": "Type of fit for calibration data", |
| 1806 | + "enum": [ |
| 1807 | + "linear_interpolation", |
| 1808 | + "linear", |
| 1809 | + "other" |
| 1810 | + ], |
| 1811 | + "title": "FitType", |
| 1812 | + "type": "string" |
| 1813 | + }, |
1758 | 1814 | "FrequencyUnit": { |
1759 | 1815 | "description": "Enumeration of Frequency Measurements", |
1760 | 1816 | "enum": [ |
|
3178 | 3234 | }, |
3179 | 3235 | "PowerCalibration": { |
3180 | 3236 | "additionalProperties": false, |
3181 | | - "description": "Calibration of a laser device", |
| 3237 | + "description": "Calibration of a device that outputs power based on input strength", |
3182 | 3238 | "properties": { |
3183 | 3239 | "object_type": { |
3184 | 3240 | "const": "Power calibration", |
|
3203 | 3259 | "type": "string" |
3204 | 3260 | }, |
3205 | 3261 | "input": { |
3206 | | - "description": "Power or percentage input strength", |
| 3262 | + "description": "Power, voltage, or percentage input strength", |
3207 | 3263 | "items": { |
3208 | 3264 | "type": "number" |
3209 | 3265 | }, |
3210 | 3266 | "title": "Input", |
3211 | 3267 | "type": "array" |
3212 | 3268 | }, |
3213 | 3269 | "input_unit": { |
3214 | | - "$ref": "#/$defs/PowerUnit", |
| 3270 | + "anyOf": [ |
| 3271 | + { |
| 3272 | + "$ref": "#/$defs/PowerUnit" |
| 3273 | + }, |
| 3274 | + { |
| 3275 | + "$ref": "#/$defs/VoltageUnit" |
| 3276 | + } |
| 3277 | + ], |
3215 | 3278 | "title": "Input unit" |
3216 | 3279 | }, |
3217 | 3280 | "repeats": { |
|
3239 | 3302 | "$ref": "#/$defs/PowerUnit", |
3240 | 3303 | "title": "Output unit" |
3241 | 3304 | }, |
| 3305 | + "fit": { |
| 3306 | + "anyOf": [ |
| 3307 | + { |
| 3308 | + "$ref": "#/$defs/CalibrationFit" |
| 3309 | + }, |
| 3310 | + { |
| 3311 | + "type": "null" |
| 3312 | + } |
| 3313 | + ], |
| 3314 | + "default": null, |
| 3315 | + "description": "Fit equation for the calibration data used during data acquisition", |
| 3316 | + "title": "Fit" |
| 3317 | + }, |
3242 | 3318 | "notes": { |
3243 | 3319 | "anyOf": [ |
3244 | 3320 | { |
|
3249 | 3325 | } |
3250 | 3326 | ], |
3251 | 3327 | "default": null, |
3252 | | - "description": "Fit equation, etc", |
3253 | 3328 | "title": "Notes" |
3254 | 3329 | } |
3255 | 3330 | }, |
|
4674 | 4749 | }, |
4675 | 4750 | "VolumeCalibration": { |
4676 | 4751 | "additionalProperties": false, |
4677 | | - "description": "Calibration of a liquid delivery device", |
| 4752 | + "description": "Calibration of a liquid delivery device based on solenoid/valve opening times", |
4678 | 4753 | "properties": { |
4679 | 4754 | "object_type": { |
4680 | 4755 | "const": "Volume calibration", |
|
4699 | 4774 | "type": "string" |
4700 | 4775 | }, |
4701 | 4776 | "input": { |
4702 | | - "description": "Length of time solenoid is open", |
| 4777 | + "description": "Length of time solenoid/valve is open", |
4703 | 4778 | "items": { |
4704 | 4779 | "type": "number" |
4705 | 4780 | }, |
|
4735 | 4810 | "$ref": "#/$defs/VolumeUnit", |
4736 | 4811 | "title": "Output unit" |
4737 | 4812 | }, |
| 4813 | + "fit": { |
| 4814 | + "anyOf": [ |
| 4815 | + { |
| 4816 | + "$ref": "#/$defs/CalibrationFit" |
| 4817 | + }, |
| 4818 | + { |
| 4819 | + "type": "null" |
| 4820 | + } |
| 4821 | + ], |
| 4822 | + "default": null, |
| 4823 | + "description": "Fit equation for the calibration data used during data acquisition", |
| 4824 | + "title": "Fit" |
| 4825 | + }, |
4738 | 4826 | "notes": { |
4739 | 4827 | "anyOf": [ |
4740 | 4828 | { |
|
4745 | 4833 | } |
4746 | 4834 | ], |
4747 | 4835 | "default": null, |
4748 | | - "description": "Fit equation, etc", |
4749 | 4836 | "title": "Notes" |
4750 | 4837 | } |
4751 | 4838 | }, |
|
10573 | 10660 | "type": "string" |
10574 | 10661 | }, |
10575 | 10662 | "schema_version": { |
10576 | | - "const": "2.0.33", |
10577 | | - "default": "2.0.33", |
| 10663 | + "const": "2.0.34", |
| 10664 | + "default": "2.0.34", |
10578 | 10665 | "title": "Schema Version", |
10579 | 10666 | "type": "string" |
10580 | 10667 | }, |
|
0 commit comments