MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / PreFitStatus

Class PreFitStatus

pyxrf/model/parameters.py:43–73  ·  view source on GitHub ↗

Data structure for pre fit analysis. Attributes ---------- z : str z number of element spectrum : array spectrum of given element status : bool True as plot is visible stat_copy : bool copy of status maxv : float max value of

Source from the content-addressed store, hash-verified

41
42
43class PreFitStatus(Atom):
44 """
45 Data structure for pre fit analysis.
46
47 Attributes
48 ----------
49 z : str
50 z number of element
51 spectrum : array
52 spectrum of given element
53 status : bool
54 True as plot is visible
55 stat_copy : bool
56 copy of status
57 maxv : float
58 max value of a spectrum
59 norm : float
60 norm value in respect to the strongest peak
61 lbd_stat : bool
62 define plotting status under a threshold value
63 """
64
65 z = Str()
66 energy = Str()
67 area = Float()
68 spectrum = Typed(np.ndarray)
69 status = Bool(False)
70 stat_copy = Bool(False)
71 maxv = Float()
72 norm = Float()
73 lbd_stat = Bool(False)
74
75
76class ElementController(object):

Callers 4

_manual_inputMethod · 0.85
find_peakMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected