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

Method __init__

pyxrf/model/draw_image.py:122–147  ·  view source on GitHub ↗
(self, *, io_model)

Source from the content-addressed store, hash-verified

120 quant_calibration_data_preview = Str()
121
122 def __init__(self, *, io_model):
123 self.io_model = io_model
124
125 # Do not apply scaler norm on following data
126 self.name_not_scalable = [
127 "r2_adjust",
128 "r_factor",
129 "alive",
130 "dead",
131 "elapsed_time",
132 "scaler_alive",
133 "i0_time",
134 "time",
135 "time_diff",
136 "dwell_time",
137 ]
138
139 self.param_quant_analysis = ParamQuantitativeAnalysis()
140 self.param_quant_analysis.set_experiment_distance_to_sample(distance_to_sample=0.0)
141 self.param_quant_analysis.set_experiment_incident_energy(incident_energy=self.incident_energy)
142
143 # init of pos values
144 self.pixel_or_pos = 0
145
146 self.fig = plt.figure(figsize=(3, 2))
147 matplotlib.rcParams["axes.formatter.useoffset"] = True
148
149 def img_dict_updated(self, change):
150 """

Callers

nothing calls this directly

Tested by

no test coverage detected