tlambert03 / nd2

Full-featured nd2 (Nikon NIS Elements) file reader for python. Outputs to numpy, dask, and xarray. Exhaustive metadata extraction
https://tlambert03.github.io/nd2
BSD 3-Clause "New" or "Revised" License
53 stars 15 forks source link

allow position arg to asarray #11

Closed tlambert03 closed 2 years ago

tlambert03 commented 2 years ago

primarily for aicsimageio "scenes" support, this adds the ability to provide a position argument to asarray as well as xarray that reduces the reads to only one XY position (if multiple are provided).

codecov-commenter commented 2 years ago

Codecov Report

Merging #11 (13b533c) into main (d634a5b) will not change coverage. The diff coverage is 0.00%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main     #11   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          8       8           
  Lines        838     874   +36     
=====================================
- Misses       838     874   +36     
Impacted Files Coverage Δ
nd2/_util.py 0.00% <0.00%> (ø)
nd2/nd2file.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d634a5b...13b533c. Read the comment docs.