pub struct InputSpec {
pub name: String,
pub pattern: String,
pub format: Format,
pub dataset: Option<String>,
pub layout: LayoutName,
pub sampling_rate_hz: Option<f64>,
pub sidecar: Option<String>,
pub labels_file: Option<String>,
pub label_column: Option<String>,
pub atlases: Vec<String>,
pub standardize: StandardizeName,
}Fields§
§name: StringPipeline input this file feeds.
pattern: String§format: Format§dataset: Option<String>HDF5: path of the 2D dataset inside the file.
layout: LayoutName§sampling_rate_hz: Option<f64>Fixed sampling rate. Give this or sidecar.
sidecar: Option<String>Pattern of a BIDS JSON sidecar holding SamplingFrequency or RepetitionTime.
labels_file: Option<String>Text file with one channel label per line, relative to the dataset root.
label_column: Option<String>events_tsv: column holding each event’s label (BIDS default: trial_type).
atlases: Vec<String>nifti: label atlases (3D NIfTI), relative to the dataset spec’s folder. Each gives one channel per label, in ascending label order; atlases are concatenated in this order.
standardize: StandardizeNamenifti: scaling of each region’s signal after averaging.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InputSpec
impl<'de> Deserialize<'de> for InputSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InputSpec
impl RefUnwindSafe for InputSpec
impl Send for InputSpec
impl Sync for InputSpec
impl Unpin for InputSpec
impl UnwindSafe for InputSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more