Read CropReporter Fluorescence Image Files¶
Reads .DAT image data into numpy ndarray and reshapes the frames into a datacube before identifying and extracting
fmax as separate numpy ndarrays.
returns fdark, fmin, fmax
- filename - image file to be read (possibly including a path)
- Reads in file to be processed and does so using the metadata contained within a corresponding .INF file
- This function assumes a specific pattern between .DAT image files and their corresponding .INF file.
We assume that for every image file
xx_PSD_xxx.DATthere will be a corresponding metadata file with the same path named
- This function assumes a specific pattern between .DAT image files and their corresponding .INF file. We assume that for every image file
- Example use:
from plantcv import plantcv as pcv # Set global debug behavior to None (default), "print" (to file), # or "plot" (Jupyter Notebooks or X11) pcv.params.debug = "print" #read in image fdark, fmin, fmax = pcv.photosynthesis.read_cropreporter(filename="PSII_PSD_20200826_22_rep6.DAT")
Source Code: Here