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
| 41 | |
| 42 | |
| 43 | class 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 | |
| 76 | class ElementController(object): |
no outgoing calls
no test coverage detected