add commits
This commit is contained in:
parent
e82cc5bb77
commit
80bba9ef71
@ -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
|
||||||
@ -382,14 +386,6 @@ class ImageAnalyser():
|
|||||||
"""
|
"""
|
||||||
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
|
||||||
filePath = folderPath + "/" + shotNum + "/*.h5"
|
filePath = folderPath + "/" + shotNum + "/*.h5"
|
||||||
|
Loading…
Reference in New Issue
Block a user