Commit 354221f4 authored by whooie's avatar whooie
Browse files

add nesting structure to fluorescence data results

parent 49ff33b4
......@@ -186,13 +186,13 @@ class FluorescenceData(ImagingData):
)
sx, sy = lls_fit_gaussian(array, _dA)
self.results = dict() if self.results is None else self.results
self.results.update(
{
f"N_{label}": float(N),
f"sx_{label}": float(sx),
f"sy_{label}": float(sy)
self.results.update({
label: {
"N": float(N),
"sx": float(sx),
"sy": float(sy)
}
)
})
return self
def compute_mot_number(image, QE, gain, exposure_time, solid_angle,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment