Browse Source

add commits

add_rotation
Jianshun Gao 1 year ago
parent
commit
80bba9ef71
  1. 12
      Analyser/ImagingAnalyser.py

12
Analyser/ImagingAnalyser.py

@ -167,6 +167,8 @@ class ImageAnalyser():
:type center: tuple, optional :type center: tuple, optional
:param span: the span of region of insterest (ROI), defaults to None :param span: the span of region of insterest (ROI), defaults to None
:type span: tuple, optional :type span: tuple, optional
:param fringeRemoval: If also crop the reference background images for finges removal function, defaults to False
:type fringeRemoval: bool, optional
:return: The croped images :return: The croped images
:rtype: xarray DataArray or DataSet :rtype: xarray DataArray or DataSet
""" """
@ -279,6 +281,8 @@ class ImageAnalyser():
:param dataSet: The data from absorption imaging. :param dataSet: The data from absorption imaging.
:type dataSet: xarray DataSet :type dataSet: xarray DataSet
:param fringeRemoval: If use fringe removal function, defaults to False
:type fringeRemoval: bool, optional
:param dask: over write of the same argument in xarray.apply_ufunc, defaults to 'allowed' :param dask: over write of the same argument in xarray.apply_ufunc, defaults to 'allowed'
:type dask: str, optional :type dask: str, optional
:param keep_attrs: over write of the same argument in xarray.apply_ufunc, defaults to True :param keep_attrs: over write of the same argument in xarray.apply_ufunc, defaults to True
@ -381,14 +385,6 @@ class ImageAnalyser():
:type value: tuple :type value: tuple
""" """
self._fringeRemoval.span = value self._fringeRemoval.span = value
# @property
# def fringeRemovalReferenceImages(self):
# return self._fringeRemoval.referenceImages
# @fringeRemovalReferenceImages.setter
# def fringeRemovalReferenceImages(self, value):
# self._fringeRemoval.referenceImages = value
def load_fringe_removal_background_from_hdf5(self, img_dir, SequenceName, data, shotNum, group, crop=False, load=False, **kwargs): def load_fringe_removal_background_from_hdf5(self, img_dir, SequenceName, data, shotNum, group, crop=False, load=False, **kwargs):
folderPath = img_dir + SequenceName + "/" + data folderPath = img_dir + SequenceName + "/" + data

Loading…
Cancel
Save