Skip to content

Commit 0d19389

Browse files
committed
Add support for pixelwise EDS live time / real time
1 parent 1c1baae commit 0d19389

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

rsciio/digitalmicrograph/_api.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,18 @@ def get_mapping(self):
10641064
"Acquisition_instrument.TEM.Detector.EDS.solid_angle",
10651065
None,
10661066
),
1067+
"{}.EDS.Images.Count rate".format(tags_path): (
1068+
"EDS.Count_rate_map",
1069+
lambda x: np.array(x).reshape(self.shape[1:]),
1070+
),
1071+
"{}.EDS.Images.Live time".format(tags_path): (
1072+
"EDS.Live_time_map",
1073+
lambda x: np.array(x).reshape(self.shape[1:])
1074+
),
1075+
"{}.EDS.Images.Real time".format(tags_path): (
1076+
"EDS.Real_time_map",
1077+
lambda x: np.array(x).reshape(self.shape[1:])
1078+
),
10671079
"{}.EDS.Live_time".format(tags_path): (
10681080
"Acquisition_instrument.TEM.Detector.EDS.live_time",
10691081
None,

0 commit comments

Comments
 (0)