load_series
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 228
- Forks
- 81
- Avg merge
- 1d 29m
- Merged PRs (30d)
- 1
Description
How about a load_series (and a save_series) command which is capable of loading (or saving) a series of files, all present in the same folder?
I tried writing something suitable. The filenames included in the loading process must follow a pattern which is specified by in the C-style printf convention (e.g. "myfilename_z%.3d_c%.2d.tif".) Currently only "%d" and "%.Nd" type notations are fully supported. For each such "%d" a dimension is added to the loaded data.
The code analyzes the content of a directory to automatically determine the final array sizes from the filenames and the dimensions of the first loaded image. Ranges and strides are also supported to only load parts of the available data, if needed.
I first intended to include it in MicroscopyTools.jl, but realized that, since it is based on load from the FileIO.jl toolbox, it might fit better here.
If of interest, should I make a pull request here?
It would add another dependency (Printf.jl) though.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue proposes load_series and save_series commands for FileIO.jl but names no implementation files or tests. Start by reviewing the existing load and save entry points and the proposal's printf-style filename patterns. Done would require an agreed design covering directory analysis, array dimensions, ranges, strides, and the possible Printf.jl dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100