Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR proposes several improvements mainly to the
io
module:Add option to specify dataset description in
phasor_to_ometiff
. Requires tifffile>=2024.8.30.Add a note to
phasor_to_ometiff
that the format is experimental and not meant for long-term storage.Add
phasor_to_simfcs_referenced
function to store phasor coordinates in SimFCS R64 format. The function writes chunked and/or padded files for dimensions not supported by the R64 format.Add
phasor_from_simfcs_referenced
function to directly read phasor coordinates from SimFCS REF or R64 files.Remove redundant
read_ref
andread_r64
functions, which are replaced byphasor_from_simfcs_referenced
.Delay import of xarray since not all functions are using xarray.
Add private
_utils.chunk_iter
function to iterate over chunk indices of ndarrays.Move
phasor._parse_harmonic
function to_utils.parse_harmonic
since it is used in more than one module.Add tests for
parse_harmonic
function.Update tutorials with new functionality.
Add private
_utils
module to API documentation to make sure docstrings are rendered correctly.Things postponed from this PR to another PR:
Add
read_imspector_tiff
function to read FLUTE dataset files (Support ImSpector FLIM TIFF files #105).Add option to return specific harmonics from
phasor_from_ometiff
.Consider changing
phasor_from_ometiff
function to return numpy instead of xarray arrays. Attributes would be returned as a separate dict.Release note
Summarize the changes in the code block below to be included in the
release notes:
Checklist