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
:param span: the span of region of insterest (ROI), defaults to None
: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
:rtype: xarray DataArray or DataSet
"""
@ -279,6 +281,8 @@ class ImageAnalyser():
:param dataSet: The data from absorption imaging.
: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'
:type dask: str, optional
:param keep_attrs: over write of the same argument in xarray.apply_ufunc, defaults to True
@ -382,14 +386,6 @@ class ImageAnalyser():
"""
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):
folderPath = img_dir + SequenceName + "/" + data
filePath = folderPath + "/" + shotNum + "/*.h5"

Loading…
Cancel
Save