FileInfoExtraction¶
Extract metadata from a file containing signal data and (optionally) events, including filename, size, date created, date modified, number of channels, number of timepoints, sampling rate, and the list of channels.
The contents of the metadata dictionary (in XDF files, if any) are also included. If a marker stream is found, it will extract the number of events (markers), number of unique events, and a list of unique events and their counts. The output is a dictionary of dictionaries, where each key is the stream name and the value is a dictionary of the above metadata, depending on the stream type (signal or event). Version 1.1.0
Ports/Properties¶
data¶
Data to process.
file_metadata¶
A dictionary of file metadata.
filename¶
Path to the data file. If specified, this takes precedence over the source_url stored in the data. This can be the same file path wired into an Import node. Supports cloud-hosted files when cloud storage options are configured.
ident¶
Figure identifier. This identifier can be referenced in report templates.
signal_stream¶
Name of signal stream to extract data from. Leave empty extract data from all signal streams.
max_events¶
Maximum number of event types to retain. This node will print information about the k most frequent event types.
max_channel_names¶
Max number of channel names to print. Leave empty for all. Set to 0 to print no channel names.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.
cloud_host¶
Cloud storage host to use (if any). You can override this option to select from what kind of cloud storage service data should be downloaded. On some environments (e.g., on NeuroScale), the value Default will be map to the default storage provider on that environment.
cloud_account¶
Cloud account name on storage provider (use default if omitted). You can override this to choose a non-default account name for some storage provider (e.g., Azure or S3.). On some environments (e.g., on NeuroScale), this value will be default-initialized to your account.
cloud_bucket¶
Cloud bucket to read from (use default if omitted). This is the bucket or container on the cloud storage provider that the file would be written to. On some environments (e.g., on NeuroScale), this value will be default-initialized to a bucket that has been created for you.
cloud_credentials¶
Secure credential to access cloud data (use default if omitted). These are the security credentials (e.g., password or access token) for the the cloud storage provider. On some environments (e.g., on NeuroScale), this value will be default-initialized to the right credentials for you.