BioImage-Archive / bia-explorer

Python package for exploring BIA data
Apache License 2.0
2 stars 1 forks source link

Add_api_client #7

Closed liviuba closed 5 months ago

liviuba commented 5 months ago

This is to close https://app.clickup.com/t/8694c9wgz

With https://app.clickup.com/t/8694d64db for the remainder (&cleanup once all notebooks are migrated)

ctr26 commented 5 months ago

would it make sense in general to have two methods for single plane retrieval? One which is a "thumbnail" for light sanity check and one for raw pixels for power users ?

ctr26 commented 5 months ago

My reasoning is network connections could saturate (in say a demo) if all the users are unintentionally pulling large amounts of single plane data.

ctr26 commented 5 months ago

And or is there just a nice sensible network efficient dask way of pulling images at multiple resolution scales?

matthewh-ebi commented 5 months ago

The resolution pyramid stuff actually allows us to handle this quite elegantly - we can fetch the downsampled version of large images so we get a consistent size. We have some code to do that in the thumbnail generation pipeline. However, we should deal with this later, rather than now.