User-friendly translation of x-y data with Data
class and new method to calculate Scherrer width from all peaks in chart
Features
NEW! Data
class - simpler class built to transfer .xy .csv files to Python arrays.
Chart
class - constructor takes x-y data inputs to make plots
Chart(..).backsub()
- background subtraction (optional: direct plot with kwarg show=True
)
Chart(..).emission_lines()
- calculates emission lines arising from different types of radiation i.e. K_beta radiation
wavelength of K_beta == 0.139 nm (optional: direct plot with kwarg show=True
)
Chart(..).SchPeak()
- calculates Scherrer width of peak found within kwarg xrange=[x0,xf]
(optional: direct plot with kwarg show=True
)
NEW! Chart(..).allpeaks()
- automated calculation of Scherrer width from all peaks in chart within a specified height tolerance