docs/python_client is tracked and is what readthedocs publishes, but it is generated - update_version.sh copies it out of python-client after regenerating the client - so adding schemas to the spec left it four files behind. The README's model list did not name them and their pages did not exist. Copied the way update_version.sh copies them. The four new pages and four lines in the README, nothing else: the generator's README is built from the spec, so the stale Calibration* pages it had left on disk under the old names are absent from it and were removed before copying rather than published alongside their replacements. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NfuDvf5ipV3Hi8TiCUKD27
1.9 KiB
1.9 KiB
PowderCalibrationSpotCheck
Where the circle through the found spots puts the beam, and how far that is from the geometry actually fitted. An independent cross-check: it reads nothing from the file's own geometry, so it holds where the summed azimuthal profile does not - a profile binned about a badly wrong centre shows each ring smeared across its sectors, and a fit on it converges on the wrong answer without saying so. Two methods sharing no assumption, so the disagreement is the statement. Absent when no spots were available.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| beam_x_pxl | float | Beam centre x the spots vote for [pixels] | [optional] |
| beam_y_pxl | float | Beam centre y the spots vote for [pixels] | [optional] |
| detector_distance_mm | float | Detector distance the spots imply [mm] | [optional] |
| disagreement_pxl | float | Distance between the spots' beam centre and the fitted one [pixels] | [optional] |
Example
from jfjoch_client.models.powder_calibration_spot_check import PowderCalibrationSpotCheck
# TODO update the JSON string below
json = "{}"
# create an instance of PowderCalibrationSpotCheck from a JSON string
powder_calibration_spot_check_instance = PowderCalibrationSpotCheck.from_json(json)
# print the JSON string representation of the object
print(PowderCalibrationSpotCheck.to_json())
# convert the object into a dict
powder_calibration_spot_check_dict = powder_calibration_spot_check_instance.to_dict()
# create an instance of PowderCalibrationSpotCheck from a dict
powder_calibration_spot_check_from_dict = PowderCalibrationSpotCheck.from_dict(powder_calibration_spot_check_dict)