NeuroAnalyzer tutorials: Generating and using sysimage

Due to the nature of Julia compiler, initial startup of NeuroAnalyzer takes several seconds. To speedup the process, creating a custom sysimage for reduced latency using PackageCompiler.jl is recommended. This method is recommended for end-users of NeuroAnalyzer.

In order to create the custom sysimage, first clone the repository:

git clone https://codeberg.org/AdamWysokinski/NeuroAnalyzer-misc
cd NeuroAnalyzer-misc

Next, generate the sysimage:

na_generate_sysimage.sh

The generated sysimage will be placed in the current directory as NeuroAnalyzer.so.

Please note, that the sysimage of the current stable release will be produced. Also, keep in mind that sysimage is system- and machine-specific and will not work in machines with different hardware/OS.

To use the generated sysimage, run:

julia -JNeuroAnalyzer.so

Then use the NeuroAnalyzer as usual:

using NeuroAnalyzer