Skip to content

Change to use Bioio for import #4

@lauracmurphy

Description

@lauracmurphy

I strongly feel we should be delivering the message to students to be using the bioio library for their analysis.

Some example benefits, the output of
img.dims
is
Dimensions [T: 1, C: 3, Z: 27, Y: 512, X: 512]
So no more guessing about axes when you get the shape of the image with skimage and you can do stuff like
img_C1_C14 = img.get_image_data("YX", C=1, Z=14)
to subset your data.

What I'm not sure of, is if there is some benefit in the first couple of exercises remaining the same, i.e. using imread? It is pretty standard in teaching materials online and possibly helps learn Python a bit more but if practically I never use it, what's the point? I don't really want people to ever be using "standard" tiffs because I always want metadata in tact so I practically never want them to be using imread,

Thoughts @mwhamgenomics?

I'm happy to do all the changes it's just quite a big one if it all gets changed so wanted to discuss it first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions