Usage
Following is an example usage of the class.
Prepare list of energy, and mu. The energy and mu has to be in the format of list of np.ndarray.
Create an instance of the class.
Call the calc_bragg_iter method to iteratively calculate the Bragg peaks.
Call the save_dat method to save the spectra.
from ibr_aic import IbrAic energy_list, mu_list, file_list = prepare_spectra_from_qas(file_path) ia = IbrAic(energy_list, mu_list, file_list) ia.calc_bragg_iter().save_dat()