Commit bec23d2b authored by Pierre Paleo's avatar Pierre Paleo Committed by Pierre Paleo
Browse files

Set default detector_tilt in dataset analyzer

parent bdfb774d
......@@ -54,6 +54,7 @@ class DatasetAnalyzer(object):
self.processes_file = processes_file
def _set_extra_options(self, extra_options):
......@@ -102,6 +103,11 @@ class DatasetAnalyzer(object):
self.axis_position = None
self._radio_dims_notbinned = self.radio_dims
def _set_other_default_dataset_values(self):
self._detector_tilt = None
def energy(self):
......@@ -166,6 +172,19 @@ class DatasetAnalyzer(object):
return radios_not_used
def detector_tilt(self):
Return the detector tilt in degrees
return self._detector_tilt
def detector_tilt(self, tilt):
self._detector_tilt = tilt
class EDFDatasetAnalyzer(DatasetAnalyzer):
EDF Dataset analyzer for legacy ESRF acquisitions
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