Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Documentation-116
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • anywave
  • Documentation-116
  • Wiki
  • get_data

get_data · Changes

Page history
Update get_data authored Jul 23, 2025 by Bruno Colombet's avatar Bruno Colombet
Hide whitespace changes
Inline Side-by-side
get_data.md
View page @ 77837862
......@@ -69,7 +69,7 @@ cfg['labels'] = ['Fp1', 'ECG', 'A1', 'A2-A3']
````
Note: 'A2-A3' will request a bipolar channel, this will be applied on the fly by AnyWave.
Electrodes labels must exist or will be skipped. You may have errors or an empty variable as the result of the request.
Electrodes labels must exist or will be ignored. You may have errors or an empty variable as the result of the request.
### Get channels by their types
Get EEG channels or EEG and ECG for example:
````matlab
......@@ -110,17 +110,17 @@ output = anywave('get_data', cfg); % data will be appended to the same output s
cfg = {'data_chunks' : [0, 10, 2, 4] }
output = anywave.get_data(cfg)
````
## I want several data chunks splitted
## I want several data chunks
Sometimes you want to get data chunks and apply processing on each ones.
You must specify the split_data option when requesting data:
````matlab
cfg = [];
cfg.data_chunks = [ 1 10 2 4 ]; % specify several time selections at once
cfg.split_data = true; % key option to specify splitted data as result
cfg.split_data = true; % key option to get chunks of data as result
output = anywave('get_data', cfg);
%%
% output is a struct array. The number of elements is the number of data chunks requested.
% As there are splitted each element contains the data and information of one data chunk.
% Each element contains the data and information of one data chunk.
%%
````
````python
......
Clone repository
  • Build_AnyWave
  • CLI
  • CLI_List
  • Changes
  • ExportData
  • ICA
  • Imaginary Coherence
  • MATLAB anywave function
  • MATLAB_BIDS
  • MATLAB_change_sig_prop
  • MATLAB_debug
  • MATLAB_get_data
  • MATLAB_get_markers
  • MATLAB_get_props
  • MATLAB_init
View All Pages