pub struct StimulusProtocol {
pub stimuli: Vec<Stimulus>,
pub bursts_per_trial: u32,
pub trials_per_stimulus: u32,
pub reset_between_trials: bool,
}Expand description
How the circuit is driven during one evaluation.
Fields§
§stimuli: Vec<Stimulus>Stimuli; may be empty only for metrics that observe spontaneous activity.
bursts_per_trial: u32Bursts observed per trial.
trials_per_stimulus: u32Trials per stimulus label.
reset_between_trials: boolReset the circuit’s neural state before each trial.
Trait Implementations§
Source§impl Clone for StimulusProtocol
impl Clone for StimulusProtocol
Source§impl Debug for StimulusProtocol
impl Debug for StimulusProtocol
Source§impl<'de> Deserialize<'de> for StimulusProtocol
impl<'de> Deserialize<'de> for StimulusProtocol
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
impl Eq for StimulusProtocol
Source§impl PartialEq for StimulusProtocol
impl PartialEq for StimulusProtocol
Source§impl Serialize for StimulusProtocol
impl Serialize for StimulusProtocol
impl StructuralPartialEq for StimulusProtocol
Auto Trait Implementations§
impl Freeze for StimulusProtocol
impl RefUnwindSafe for StimulusProtocol
impl Send for StimulusProtocol
impl Sync for StimulusProtocol
impl Unpin for StimulusProtocol
impl UnsafeUnpin for StimulusProtocol
impl UnwindSafe for StimulusProtocol
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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