-
Hi all. Does anyone know if CIAtah is compatible with doric files? I cannot visualize my recordings using CIAtah even when I change the file extension to .h5. I know the Doric files are supposed to be HDF5 files, so I am not sure what the issue is here (they are HDF5 with a .doric extension). I tried also visualizing the examples from the downloaded CIAtah folder, and I could not visualize them in Doric's software but could work with them well in CIAtah. If anyone knows how to make these compatible, I would love to hear it. Thansk! Best, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Hi Olivia, @Obarnhill Could you provide a download link for one of the doric files? If they are true HDF5 files then they should be compatible with HDF5, I'll just need to check what the dataset name/path is and then you can update that in the CIAtah GUI as below (see red arrow). That would also likely help making them compatible with Doric software, assuming their files do not require additional metadata. cheers, |
Beta Was this translation helpful? Give feedback.
-
I uploaded a file to google drive. Here is the link. Thank you! I can also send a picture of the results from using h5disp on this file if you would prefer. |
Beta Was this translation helpful? Give feedback.
-
Thanks! Looks like Doric is storing the data in Can load and convert the movies to %% Load .doric movie
inputFilePath = 'FULLPATH\concat_obMiniscope_230922_Habituation_0000.h5';
inputDatasetName = '/DataAcquisition/FMD/Images/Series0001/Sensor1/ImagesStack';
inputMovie = ciapkg.io.loadMovieList(inputFilePath,'inputDatasetName',inputDatasetName);
% Doric files in [T X Y], switch to [X Y T]
inputMovie2 = permute(inputMovie,[2 3 1]);
disp('Done!')
%% View movie (comment out when batching)
ciapkg.view.playMovie(inputMovie2);
%% Save movie out in [X Y T]
outputFilePath = 'FULLPATH\concat_obMiniscope_230922_Habituation_0000.h5';
ciapkg.io.saveMatrixToFile(inputMovie2,outputFilePath,'inputDatasetName',inputDatasetName);
disp('Done!') If I process the data you sent with CIAtah, I get PCA-ICA outputs as below so looks to be working fine. (As an aside, where are you imaging?) As a heads up, if you select |
Beta Was this translation helpful? Give feedback.
-
Thank you!!! Works great. This is my first time with HDF5 files, so the structure didn't make much sense until now. Thanks for clearing that up. I am in dorsolateral striatum of a2a-cre mouse and visualizing cre-dependent GCaMPP6s. This is just a pilot mouse to set up miniscope in the lab. Olivia |
Beta Was this translation helpful? Give feedback.
-
Great! Let me know if you have any other questions. |
Beta Was this translation helpful? Give feedback.
Thanks! Looks like Doric is storing the data in
/DataAcquisition/FMD/Images/Series0001/Sensor1/ImagesStack
but their format isT X Y
compared toX Y T
that I use.Can load and convert the movies to
X Y T
for now using the below, I'll see about adding Doric conversion module (to allow batch converting or depending on your file format I can send a script) or direct support (e.g. my loading functions will just reshape) so you can avoid having to re-save the data.