• payno's avatar
    [core] add Spectra class. · 9dc6f969
    payno authored
    - refactor types to create submodule
    - Spectra is now a class instead of a simple list from XasObject
    - Spectra contains data which is a numpy ndarray of Spectrum. This was it is simpler
    to reshape it andd should offer some flexibility for the futures.
    - this is the main PR but several smaller one are expected to come for cleaning...