API reference
- Models
- Models base classes
Model
PhysicalModel
ToyModel
- EDXS model
EDXS
- EDXS functions
G_bremsstrahlung()
chapman_bremsstrahlung()
continuum_xrays()
elts_dict_from_dict_list()
elts_list_from_dict_list()
gaussian()
lifshin_bremsstrahlung()
lifshin_bremsstrahlung_b0()
lifshin_bremsstrahlung_b1()
read_compact_db()
read_lines_db()
shelf()
- Absorption functions
absorption_coefficient()
absorption_correction()
absorption_mass_thickness()
det_efficiency()
det_efficiency_from_curve()
det_efficiency_layer()
generate_brem_params()
generate_elts_dict()
generate_modular_phases()
generate_random_phases()
unique_elts()
- Weights
- Datasets
- Estimators
- Measures
Frobenius_loss()
KL()
KL_loss_surrogate()
KLdiv()
KLdiv_loss()
find_min_MSE()
find_min_angle()
find_min_config()
global_min()
log_reg()
log_surrogate()
mae()
mse()
ordered_angles()
ordered_mae()
ordered_mse()
ordered_r2()
r2()
residuals()
spectral_angle()
squared_distance()
trace_xtLx()
unique_min()
- Utils
approx_density()
arg_helper()
atomic_to_weight_dict()
bin_spim()
check_keys()
close_all()
create_laplacian_matrix()
get_explained_intensity_W()
is_number()
is_symbol()
isdict()
number_to_symbol_dict()
number_to_symbol_list()
process_losses()
rescaled_DH()
symbol_list()
symbol_to_number_dict()
symbol_to_number_list()
- Table utils