epyr.cli
Command Line Interface for EPyR Tools
Provides command-line tools for common EPyR workflows: - Data conversion (Bruker -> FAIR formats) - Baseline correction - Batch processing - Configuration management
- Usage:
epyr-convert input.dsc –output-dir ./results epyr-baseline spectrum.dsc –method polynomial –order 2 epyr-batch-convert ./data/ –formats csv,json,hdf5,jpg epyr-config –set plotting.dpi 300
Functions
Apply baseline correction to EPR data. |
|
Batch convert multiple files. |
|
Configuration management. |
|
Convert Bruker files to FAIR formats. |
|
|
Show system and configuration information. |
Launch the isotope database GUI. |
|
|
Load and plot EPR data files interactively. |
|
Load and plot EPR data files interactively with pre-parsed args. |
Validate EPR data files. |
|
|
Interactive EPR viewer: 1D plot or 2D slicer depending on data dimensionality. |
Create an interactive plot with optional measurement tools. |
|
|
Main CLI entry point - shows available commands. |
Classes
|
Interactive tool for measuring distances between two points on a plot. |
- class epyr.cli.InteractiveMeasurementTool(ax, x_data, y_data)[source]
Interactive tool for measuring distances between two points on a plot.
- epyr.cli.create_interactive_plot_with_measurements(x, y, params, file_path, enable_measurements=False)[source]
Create an interactive plot with optional measurement tools.
- Parameters:
x – X-axis data
y – Y-axis data
params – Parameter dictionary
file_path – Path to the loaded file
enable_measurements – Whether to enable measurement tool
- epyr.cli.cmd_view()[source]
Interactive EPR viewer: 1D plot or 2D slicer depending on data dimensionality.
- Return type:
None