openneuropet / PET2BIDS

PET2BIDS helps you convert your PET data into BIDS! raw PET scanner files (e.g. ecat, dicom) and additional side files like .e.g excel sheets -- paper @JOSS https://doi.org/10.21105/joss.06067
https://pet2bids.readthedocs.io
MIT License
25 stars 20 forks source link

add conditional statement #271

Closed CPernet closed 6 months ago

CPernet commented 6 months ago

ecat validation remains unchanged by adding this statement


📚 Documentation preview 📚: https://pet2bids--271.org.readthedocs.build/en/271/

CPernet commented 6 months ago

@mnoergaard actually needs to be the other way around -- all our phantoms seems calibrated !

bendhouseart commented 6 months ago

It's beautiful

> In ecat2nii (line 334) 
Warning: it looks like the source data are already dose calibrated - ecat2nii is thus not scaling the data 
> In ecat2nii (line 339) 
bendhouseart commented 6 months ago

Alright, the Nii's produced by this look like they're scaling to the same range as the original ecats viewed in Vinci and as the outputs from Turku. Below is a comparison of the the outputs from a previous commit on this branch compared to the current status 2165535 done in freeview:

Screenshot 2024-02-16 at 11 08 58 AM

Looks good to me 👍