pub struct MegLayout<'a> { /* private fields */ }Implementations§
Source§impl<'a> MegLayout<'a>
impl<'a> MegLayout<'a>
pub fn new(layout: &'a BidsLayout) -> Self
pub fn get_meg_files(&self) -> Result<Vec<BidsFile>>
pub fn get_meg_files_for_subject(&self, s: &str) -> Result<Vec<BidsFile>>
pub fn get_meg_files_for_task(&self, t: &str) -> Result<Vec<BidsFile>>
pub fn get_channels(&self, f: &BidsFile) -> Result<Option<Vec<Channel>>>
pub fn get_events(&self, f: &BidsFile) -> Result<Option<Vec<EegEvent>>>
Sourcepub fn get_headshape_path(&self, f: &BidsFile) -> Option<PathBuf>
pub fn get_headshape_path(&self, f: &BidsFile) -> Option<PathBuf>
Get the headshape file path for a MEG recording.
Sourcepub fn get_headshape(&self, f: &BidsFile) -> Result<Option<Vec<DigPoint>>>
pub fn get_headshape(&self, f: &BidsFile) -> Result<Option<Vec<DigPoint>>>
Read and parse headshape digitization points from the companion .pos file.
pub fn get_coordsystem(&self, f: &BidsFile) -> Result<Option<CoordinateSystem>>
pub fn get_metadata(&self, f: &BidsFile) -> Result<Option<MegMetadata>>
pub fn get_all_channels_files(&self) -> Result<Vec<BidsFile>>
pub fn get_all_events_files(&self) -> Result<Vec<BidsFile>>
pub fn get_meg_subjects(&self) -> Result<Vec<String>>
pub fn get_meg_tasks(&self) -> Result<Vec<String>>
pub fn summary(&self) -> Result<MegSummary>
Auto Trait Implementations§
impl<'a> Freeze for MegLayout<'a>
impl<'a> !RefUnwindSafe for MegLayout<'a>
impl<'a> !Send for MegLayout<'a>
impl<'a> !Sync for MegLayout<'a>
impl<'a> Unpin for MegLayout<'a>
impl<'a> UnsafeUnpin for MegLayout<'a>
impl<'a> !UnwindSafe for MegLayout<'a>
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