NeuroAnalyzer Preferences

Preferences control specific behaviors in NeuroAnalyzer and are saved in:

  • LocalPreferences.toml (local NeuroAnalyzer folder)
  • ~/.julia/environments/v*/LocalPreferences.toml

Key Preferences and Functions

Preference Function Description
verbose na_set_verbose()
progress_bar na_set_progress_bar()
exclude_bads na_set_exclude_bads()
colors na_set_colors()

All these functions accept true or false as an argument.

Setting Preferences

Individual Functions

na_set_verbose(false)       # Suppress info messages
na_set_progress_bar(false)  # Disable progress bars
na_set_exclude_bads(true)   # Exclude bad channels
na_set_colors(true)         # Enable colored terminal output

Bulk Setting

Use na_set_prefs() to set multiple preferences at once:

na_set_prefs(progress_bar = false,
             verbose = false,
             exclude_bads = true,
             colors = true)

Practical Notes

  • Bad Channels: Marked channels are excluded from analysis only if exclude_bads = true. Use the ch parameter to manually exclude channels in specific functions.
  • Performance: Progress bars are useful for functions taking >1 second (e.g., itpc_s()).
  • Terminal Output: Colored messages improve readability but can be disabled for compatibility.