Python API tool for slicing image into channel dimension
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia da src/scitiff/_img_processors.py in corrispondenza della posizione dell’API values ed esamina tests/scitiff_values_test.py, quindi consulta le guide collegate su IO e slicing per la semantica dei canali. Implementa il comportamento di values descritto nell’output previsto, aggiungi test unitari e documenta l’API nella guida utente; verifica il tutto con l’esempio di hyperstack fornito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Requirement
We would like to have a python interface that can be used like this:
from scitiff.data import hyperstack_example_with_variances_and_mask
import scitiff as stf
import scipp as sc
sample_img = hyperstack_example_with_variances_and_mask(concatenated_channel=True)
display(sample_img)
stf.values(sample_img)
Expected Output
Scitiff image (as scipp.DataArray or scipp.DataGroup) that does not have extra channel other than values(intentisites).
And channel dimension should be squeezed.
If other channels are already assembled as variances,
it should still drop the variances.
It that case, mask may not be dropped (we can maybe add a keyword argument to explicitly drop mask as well).
About the Project
Scitiff stands for scientific tiff.
It aims to encode scientific metadata as a plain text along with the image data in tiff.
See our scitiff documentation for more details.
Development Environment
See Developer Guide to set up the local environment.
Setting up a remote repository
Go to the base branch, channel-slicer, and fork the repo.
TODO list of this issue
-
Complete the implementation of the
valuesAPI.
https://github.com/scipp/scitiff/blob/bea312571bbcfc9d6c3609d8f1ecbf3c408c42a3/src/scitiff/_img_processors.py#L9-L11 -
Write documentation page. Under user-guide, Could be a separate sub-issue
-
Write unit tests. Could be a separate sub-issue
https://github.com/scipp/scitiff/blob/f76534453b028c9471e6ef70fb78a2e64a87c926/tests/scitiff_values_test.py#L1-L3 -
Test with ImageJ (Optional)
-
Open a PR (Pull Request)
Set the base branch tochannel-slicer.
Related Information for Implementation
Scipp User Guide for Slicing
https://scipp.github.io/user-guide/slicing.html
We are going to learn more about scipp on Wednesday, so no need to dig in too deep 😁
IO module documentation
IO Helper Tutorial
Good starting point to see what scitiff do and to see what helper functions there are for development.
Meaning of Channel in Scitiff
This section of IO tutorial explains what channels mean in scitiff.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di scipp/scitiff
-
File object classApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Command line tool for slicing image into channel dimensionForse già presa @YooSunYoung l’ha presa 326 giorni fa. Aperta
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Tutte le issue di scipp/scitiff
Issue simili
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Forse già presa @geyazheng l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
langchain-ai/langchain-aws#1469 ·
I maintainer di solito rispondono entro 1 giorno
-
GCToggler leaves collection enabled if the body re-enables itForse già presa @Gambit-Checkmate l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 7 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
doronz88/pymobiledevice3#2176 ·
I maintainer di solito rispondono entro 1 giorno
-
b4b usability
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno