Diagnostics¶
The server creates .json
files for each experiment to store its data (see Getting started).
These experiment files can be used for diagnostics by running ariane-tas-diagnostics
.
ariane-tas-diagnostics [-h] [-f FILE] CMD [ARGS [ARGS ...]]
Run ARIANE TAS diagnostics
positional arguments:
CMD command for diagnostics
ARGS arguments for command
optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE path to experiment file
If FILE
is not specified, the last experiment file created from logs/
is used.
Available commands¶
Note: Names of arguments do not need to be specified when calling ariane-tas-diagnostics
, just their values.
Example: ariane-tas-diagnostics compute_fwhm 1.5 2 2.5
Command |
Arguments |
Description |
---|---|---|
|
|
Compute full width at half maximum (FWHM) along \(E\) axes at specified locations on \(\mathbf{Q}\) axes. x1: list of floats Locations on \(\mathbf{Q}\) axes at which to compute FWHM.
|
|
– |
Heuristically compute experimental parameters (background level and intensity threshold) with initial measurement points. |
|
|
Create a video of the experiment. secs: float Length of video in seconds
with_path: bool , optionalDraw path of measurement points, default is
False |
|
– |
Plot counting times at measurement locations. |
|
– |
Plot ellipses around measurement and problem locations. |
|
|
Plot the evolution of the experiment. t: list of floats Relative points in time from the unit interval at which to plot the corresponding measured intensity function,
0.5 and 0.75 correspond to half and, respectively, three quarters of the experimental time |
|
|
Plot Gaussian Process Regression (GPR) of measurement points. num_meas_pts: int , optionalNumber of measurement points used for GPR, default is the number of initial measurement points
|
|
|
Plot initial statistics used for computing background level and intensity threshold. log: bool , optionalIndicates whether intensites are to be scaled logarithmically, default is
False |
|
|
Plot measured intensity function as colored dots. vmax: float , optionalMaximum value for plotted intensities, default is
thresh_intens log: bool , optionalIndicates whether intensites are to be scaled logarithmically, default is
False |
|
|
Plot measured intensity function as interpolation. log: bool , optionalIndicates whether intensites are to be scaled logarithmically, default is
False |
|
– |
Plot measurement locations. |
|
– |
Plot monitor counts at measurement locations. |
|
– |
Plot travel cost functions at locations stored. |
|
– |
Plot travel path of measurement points. |
|
– |
Print metadata of the experiment. |