GridScan¶
Definition of a grid scan. Combine it with a goniometer axis to state the angle the spindle stood at: send goniometer with step 0 and the start angle of the grid scan, and that angle is written per image into the NXmx sample transformation chain. Without one the spindle is recorded at 0, which says that nobody stated an angle rather than that the spindle stood at 0.
Properties¶
Name | Type | Description | Notes |
|---|---|---|---|
n_fast | int | Number of elements in the fast direction | |
step_x_um | float | Step in grid along the fast direction. Can be negative. Positive number: left to right Negative number: right to left | |
step_y_um | float | Step in grid along the slow direction. Can be negative. Positive number: top to bottom Negative number: bottom to top | |
vertical | bool | If disabled: fast direction = X, slow direction = Y If enabled: fast direction = Y, slow direction = X | [optional] [default to False] |
snake | bool | Flip fast direction for every second row | [optional] [default to False] |
Example¶
from jfjoch_client.models.grid_scan import GridScan
# TODO update the JSON string below
json = "{}"
# create an instance of GridScan from a JSON string
grid_scan_instance = GridScan.from_json(json)
# print the JSON string representation of the object
print(GridScan.to_json())
# convert the object into a dict
grid_scan_dict = grid_scan_instance.to_dict()
# create an instance of GridScan from a dict
grid_scan_from_dict = GridScan.from_dict(grid_scan_dict)