Response Interpolation CLI¶
Commands¶
response-interpolation¶
Collects a set of gamma line responses and outputs an interpolated grid.
Line responses should be contained in a CSV with one source position in each row. There should two columns for x and y position. Response for the line should be stored in n_detectors columns each named “<Line Energy> keV d<Detector Number>”, with energy in keV to one decimal. This is the same energy that should be provided with each file.
Line response can either be provided individually with the –line argument or with CSV files. Each CSV should have one row per line and have columns titled in the header “csv_path” and “energy”.
Usage
response-interpolation [OPTIONS] [FILES]...
Options
- -l, --line <lines>¶
For a gamma line, the path to a CSV of position responses and the line’s energy in keV. May be provided multiple times.
- -o, --output <output>¶
Output path instead of stdout.
- -p, --diagnostics¶
Save diagnostic plots.
- -v, --verbose¶
Print extra information during run.
- -d, --debug¶
Print out all debug information during run.
- --version¶
Show the version and exit.
Arguments
- FILES¶
Optional argument(s)
API Reference¶
Command Line Interface to interpolate within a calibration grid.
- x_ray_imager_bagriff.response_interpolation._cli.set_log_level(ctx, param, value)¶
Update the log level according to a CLI value.