Analyze with ipynb
Given a folder with .h5 files, use this feature to analyze data quickly. It provides convenient loading functions and an overview Jupyter notebook
Recommendation
This feature works best if the machine you are working on has Jupyter notebook installed such that double-clicking opens it. One recommended way:
- Install Visual Studio Code
- Install extensions:
- Pylance (Microsoft)
- Jupyter (Microsoft)
Trigger feature
There are 2 ways to start that feature.
From ScopeFoundry: Advanced -> analyze with ipynb. The folder acted upon is the one defined in the
app/save_dir
settings (bottom left panel)Using ScopeFoundry tools (requires ScopeFoundry 2.0+ see getting started tutorial)
cd "to/your_data_folder"
conda activate scopefoundry
# or for mac:
# source activate scopefoundry
python -m ScopeFoundry.tools
and clicking the corresponding button on the Welcome tap.
In that folder the feature generates
h5_data_loaders.py
file containing convenience methods based on the .h5 files content- an
overview.ipynb
where you can start your analysis
In the notebook the top 2 cells are generated:
In cell 1: imports of data loaders
In cell 2: lists path to each .h5 file and how it could be loaded