sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
289 stars 141 forks source link

ROIs H5 file convertion #279

Closed DorianBattivelli closed 1 year ago

DorianBattivelli commented 1 year ago

Hello,

Could you please tell me how to convert the H5 ROIs definition file in CSV or a text file ? And provide a way to easily inteerpret the numbers there?

Thank you, Best,

sronilsson commented 1 year ago

Hi @DorianBattivelli - good point, we are missing a method for this. Let me type one up and get back to you.

DorianBattivelli commented 1 year ago

Thank you!

sronilsson commented 1 year ago

@DorianBattivelli The function would output separate files for different shape types like this. Is that that what you are looking for?

polygons_20230809094913.csv rectangles_20230809094913.csv

sronilsson commented 1 year ago

It exist in the tools menu if you upgrade SimBA. Let me know if anything is missing or if want other formatting options and we can insert it.

image
DorianBattivelli commented 1 year ago

Super, it's exactly what I was looking for,

Thank you, Best,