Skip to content

Commit d08dc03

Browse files
committed
index file
1 parent 31e4d2e commit d08dc03

File tree

2 files changed

+58
-5
lines changed

2 files changed

+58
-5
lines changed

code/plugins/update_plugins.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,29 @@ def update_repo(repo, formatted_name, order, plugin_type='readme', plugin_link="
4141
if not os.path.exists('plugins.json'):
4242
print('Error: plugins.json not found.')
4343
sys.exit(1)
44+
4445
plugin_info = json.load(open('plugins.json'))
4546
plugins = [plugin['name'] for plugin in plugin_info]
46-
# wiki_plugins = ['SIFT', 'get_chanlocs', 'NFT', 'EEG-BIDS', 'nsgportal', 'clean_rawdata', 'amica', 'LIMO']
47-
# readme_plugins = ['ARfitStudio', 'roiconnect', 'trimOutlier', 'PACT', 'groupSIFT', 'nwbio', 'ICLabel', 'dipfit', 'eegstats', 'PowPowCAT', 'PACTools', 'zapline-plus', 'fMRIb', 'relica', 'std_dipoleDensity', 'imat', 'viewprops', 'cleanline','NIMA', 'firfilt']
48-
# ordering = ['ICLabel', 'dipfit', 'EEG-BIDS', 'roiconnect', 'amica', 'cleanline', 'clean_rawdata', 'SIFT', 'zapline-plus', 'eegstats', 'trimOutlier', 'fMRIb', 'imat', 'nwbio', 'NIMA', 'PACT', 'NFT', 'PACTools', 'ARfitStudio', 'PowPowCAT', 'relica', 'std_dipoleDensity', 'viewprops', 'firfilt', 'groupSIFT', 'get_chanlocs', 'nsgportal']
47+
48+
# write index file
49+
with open('../../plugins/index.md', 'w') as index_file:
50+
text = '''---
51+
layout: default
52+
title: Plugins
53+
has_children: true
54+
has_toc: true
55+
nav_order: 7
56+
---
57+
'''
58+
for cat in ['import', 'processing']:
59+
text += f'## {cat.capitalize()}\n'
60+
for plugin in [plugin for plugin in plugin_info if plugin['cat'] == cat]:
61+
text += f'* [{plugin["name"]}](/plugins/{plugin["name"]}): {plugin["desc"]}\n'
62+
63+
text += '\n'
64+
65+
index_file.write(text)
66+
4967

5068
if len(sys.argv) == 1:
5169
for plugin in plugin_info:

plugins/index.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,40 @@ has_children: true
55
has_toc: true
66
nav_order: 7
77
---
8-
{%- assign children_list = site.pages | where: "parent", "Plugins" -%}
9-
{% include toc_nav.html nav=children_list %}
8+
## Import
9+
* [EEG-BIDS](/plugins/EEG-BIDS): Imports and export EEG data to the BIDS format
10+
* [NWB-io](/plugins/NWB-io): Import and export to the NWB format
11+
* [BVA-io](/plugins/BVA-io): input/output for Brain Vision Analyzer format
12+
* [MFF-matlab-io](/plugins/MFF-matlab-io): input/output for MFF EGI file format
13+
* [Neuroscan-io](/plugins/Neuroscan-io): input/output for Neuroscan file format
14+
* [CTFimport](/plugins/CTFimport): input/output for Neuroscan file format
15+
* [get_chanlocs](/plugins/get_chanlocs): Import scanned channel locations
16+
17+
## Processing
18+
* [ICLabel](/plugins/ICLabel): Classifies independent components of EEG data
19+
* [Viewprops](/plugins/Viewprops): Advanced ICA component property viewing for IClabel
20+
* [DIPFIT](/plugins/DIPFIT): Localizes independent components of EEG data
21+
* [ROIconnect](/plugins/ROIconnect): Computes connectivity analysis between regions of interest
22+
* [AMICA](/plugins/AMICA): Computes Adaptive Mixture Independent Component Analysis
23+
* [Clean_rawdata](/plugins/Clean_rawdata): Rejects bad channels and bad portions of data using ASR
24+
* [LIMO](/plugins/LIMO): Linear Modeling of EEG data
25+
* [SIFT](/plugins/SIFT): Computes connectivity analysis between ICA components
26+
* [groupSIFT](/plugins/groupSIFT): Group-level SIFT analysis
27+
* [BrainBeats](/plugins/BrainBeats): Joint EEG/heart analysis
28+
* [Zapline-Plus](/plugins/Zapline-Plus): Removes line noise
29+
* [CleanLine](/plugins/CleanLine): Computes mixture model independent component analysis
30+
* [EEGstats](/plugins/EEGstats): Compute EEG statistics (power, alpha peak and asymmetry)
31+
* [trimOutlier](/plugins/trimOutlier): Removes EEG outliers
32+
* [fMRIb](/plugins/fMRIb): Removes fMRI artifacts in EEG
33+
* [IMAT](/plugins/IMAT): Finds independent modulators of EEG data
34+
* [NIMA](/plugins/NIMA): Clustering of ICA components using Measure-projection
35+
* [PACT](/plugins/PACT): Computes phase-amplitude coupling for ECoG
36+
* [NFT](/plugins/NFT): Localizes ICs using Neuroelectromagnetic Forward Head Modeling
37+
* [PACTools](/plugins/PACTools): Computes phase-amplitude coupling using different methods
38+
* [ARfitStudio](/plugins/ARfitStudio): Computes multivariate autoregressive models of EEG
39+
* [PowPowCAT](/plugins/PowPowCAT): Computes cross-frequency power-power coupling of ICs
40+
* [RELICA](/plugins/RELICA): Computes reliable ICA using Bootstrap
41+
* [std_dipoleDensity](/plugins/std_dipoleDensity): Computes ICA component dipole density
42+
* [FirFilt](/plugins/FirFilt): Filtering of EEG data
43+
* [NSGportal](/plugins/NSGportal): Performs computation on the Neuroscience Gateway
44+

0 commit comments

Comments
 (0)