C++ / Python reader for SONATA reports files: https://github.com/AllenInstitute/sonata/blob/master/docs/SONATA_DEVELOPER_GUIDE.md
git clone [email protected]:BlueBrain/libsonatareport.git --recursive
cd libsonatareport
cmake -B build -DCMAKE_BUILD_TYPE=Release -DSONATA_REPORT_ENABLE_SUBMODULES=ON -GNinja
cmake --build build
This section provides guidance on how to use the tools provided by libsonatareport for converting report and spike files into the SONATA format.
Before using the conversion tools, ensure the library is compiled with the converter enabled by including the cmake flag -DSONATA_REPORT_ENABLE_CONVERTER=ON
during the installation process described in the "Installation" section.
Converts .bbp
format files, typically containing voltage or current reports from simulations, into the SONATA format.
reports_converter <report_filename> <report_type> [population_name]
Example:
reports_converter soma.bbp --soma PopulationA
This command will convert the soma report soma.bbp
for population 'PopulationA' into the SONATA format as soma.bbp.h5
The spikes converter tool is designed to convert old .dat
spike files into the SONATA format.
spikes_converter <spike_filename> [population_name]
Example:
spikes_converter out.dat PopulationB
This command will convert the spike file out.dat
for population 'PopulationB' into the SONATA format as out.dat.h5
For more detailed information on the usage of these converters, including additional options and examples, you can run them with the --help
flag to display the usage:
reports_converter --help
spikes_converter --help
The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government's ETH Board of the Swiss Federal Institutes of Technology.
Copyright (c) 2021-2022 Blue Brain Project/EPFL