rockverse.dect.DECTGroup.run#

DECTGroup.run(restart=False)[source]#

Run the DECT analysis on the data in this group.

This method performs the following steps: 1. Calls preprocess to check input data and coefficient matrices. 2. Checks if output arrays exist and are up-to-date. 3. Creates or updates output arrays as necessary. 4. Calculates the electron density (rho) and effective atomic number (Z) distributions using Monte Carlo simulations.

Parameters:

restart (bool, optional) – If True, force recalculation of all steps, ignoring existing results. Default is False.