Position Estimation CLI

Commands

position-estimation

Tools for estimating position/energy for x-ray imager observations.

Usage

position-estimation [OPTIONS] COMMAND [ARGS]...

series

Estimate the position and energy for a list of observations.

CALIBRATION is an npz file with four arrays, x, y, energy, and response. Each row should be a single calibration point (interpolated or otherwise). OBSERVATIONS is a CSV with each row being a single observed x-ray. An estimated position and energy will be added as new columns in a CSV.

Usage

position-estimation series [OPTIONS] CALIBRATION OBSERVATIONS

Options

-o, --output <output>

Output CSV path instead of stdout.

--threshold <threshold>

Minimum sum of detector values to output.

-v, --verbose

Print extra information during run.

-d, --debug

Print out all debug information during run.

Arguments

CALIBRATION

Required argument

OBSERVATIONS

Required argument

API Reference

Command line interface to estimate position/energy for an x-ray imager.

x_ray_imager_bagriff.position_estimation._cli.set_log_level(ctx, param, value)

Update the log level according to a CLI value.