Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

29 Commits

Folders and files

Repository files navigation

Create an info text file

Run on Brainlife.io Abcdspec-compliant

Description

This Brainlife.io app reads the .info attribute of an MNE Raw object and writes it to a text file for easy viewing. It also summarizes key acquisition parameters (channel types, sampling frequency, duration, digitized head points, filter settings, projectors) and, when channel positions or digitized head points are available, renders them with raw.plot_sensors() and simple 3D scatter plots for visual inspection in the Brainlife.io interface.

The app generates:

  • A text dump of the raw data's .info attribute
  • A 2D electrode montage plot (when channel positions are available)
  • 3D scatter plots of electrode positions and digitized head points (when available)
  • A product.json summary of key acquisition parameters, with the figures above embedded

Inputs

  • raw (neuro/meeg/mne/raw): continuous MEG/EEG data whose .info attribute is read (required)

Outputs

  • out_dir/info.txt (neuro/meg/fif-override, tag info): text dump of the raw data's .info attribute
  • out_figs/montage_2d.png: 2D electrode montage plot, produced when channel positions are available
  • out_figs/electrodes_3d.png: 3D scatter plot of electrode positions, produced when channel positions are available
  • out_figs/digitized_head_points_3d.png: 3D scatter plot of digitized head points, produced when digitized head points are available
  • product.json: structured summary of channel types, sampling rate, duration, filters and projectors, with the figures above embedded for display in the Brainlife.io interface

Configuration Parameters

This app reads no configuration parameters beyond its input file (see Inputs above).

Usage

Running on Brainlife.io

  1. Select your MEG/EEG raw dataset as the raw input.
  2. Submit the process.
  3. Inspect info.txt, the generated figures, and the product.json summary in the process viewer.

Local Testing

# Edit config.json to point "raw" at real data, then:
python main.py

Authors

Citations

We kindly ask that you cite the following articles when publishing papers and code using this app:

Funding Acknowledgement

brainlife.io is publicly funded and for the sustainability of the project it is helpful to acknowledge the use of the platform. We kindly ask that you acknowledge the funding below in your publications and code reusing this code.

NSF-BCS-1734853 NSF-BCS-1636893 NSF-ACI-1916518 NSF-IIS-1912270 NIH-NIBIB-R01EB029272 NIH-NIBIB-R01EB030896

License

Copyright (c) 2026 MEEG Brainlife team. Licensed under AGPL-3.0, see license.txt.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages