pub enum MotorCorticalUnit {
RotaryMotor,
PositionalServo,
Gaze,
MiscData,
TextEnglishOutput,
CountOutput,
ObjectSegmentation,
SimpleVisionOutput,
DynamicImageProcessing,
}Variants§
RotaryMotor
Free spinning motor.
PositionalServo
Servo Position, defined by min / max distances
Gaze
Gaze control, where the first 2 numbers are the XY center, and the last number is the relative size
MiscData
Miscellaneous motor that does not fit existing templates.
TextEnglishOutput
Text output (English) - token stream encoded as absolute fractional bitplanes along Z (z=0 is MSB).
CountOutput
Count output - unsigned percentage encoding (linear, absolute).
ObjectSegmentation
Object semantic segmentation output (bitplane class encoding)
SimpleVisionOutput
Visual thoughts output - RGB image generation from brain activity
DynamicImageProcessing
Image Processing configuration - dynamically control brightness, contrast, and per pixel diff thresholding
Implementations§
Source§impl MotorCorticalUnit
impl MotorCorticalUnit
Sourcepub const fn get_cortical_area_types_array_for_rotary_motor_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
) -> [CorticalAreaType; 1]
pub const fn get_cortical_area_types_array_for_rotary_motor_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> [CorticalAreaType; 1]
Get cortical area types array for Rotary Motor.
Sourcepub const fn get_cortical_ids_array_for_rotary_motor_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
cortical_unit_index: CorticalUnitIndex,
) -> [CorticalID; 1]
pub const fn get_cortical_ids_array_for_rotary_motor_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, cortical_unit_index: CorticalUnitIndex, ) -> [CorticalID; 1]
Get cortical IDs array for Rotary Motor.
Sourcepub const fn get_cortical_area_types_array_for_positional_servo_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
) -> [CorticalAreaType; 1]
pub const fn get_cortical_area_types_array_for_positional_servo_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> [CorticalAreaType; 1]
Get cortical area types array for Positional Servo.
Sourcepub const fn get_cortical_ids_array_for_positional_servo_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
cortical_unit_index: CorticalUnitIndex,
) -> [CorticalID; 1]
pub const fn get_cortical_ids_array_for_positional_servo_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, cortical_unit_index: CorticalUnitIndex, ) -> [CorticalID; 1]
Get cortical IDs array for Positional Servo.
Sourcepub const fn get_cortical_area_types_array_for_gaze_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
) -> [CorticalAreaType; 2]
pub const fn get_cortical_area_types_array_for_gaze_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> [CorticalAreaType; 2]
Get cortical area types array for Gaze Control.
Sourcepub const fn get_cortical_ids_array_for_gaze_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
cortical_unit_index: CorticalUnitIndex,
) -> [CorticalID; 2]
pub const fn get_cortical_ids_array_for_gaze_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, cortical_unit_index: CorticalUnitIndex, ) -> [CorticalID; 2]
Get cortical IDs array for Gaze Control.
Sourcepub const fn get_cortical_area_types_array_for_misc_data_with_parameters(
frame_change_handling: FrameChangeHandling,
) -> [CorticalAreaType; 1]
pub const fn get_cortical_area_types_array_for_misc_data_with_parameters( frame_change_handling: FrameChangeHandling, ) -> [CorticalAreaType; 1]
Get cortical area types array for Miscellaneous Motor.
Sourcepub const fn get_cortical_ids_array_for_misc_data_with_parameters(
frame_change_handling: FrameChangeHandling,
cortical_unit_index: CorticalUnitIndex,
) -> [CorticalID; 1]
pub const fn get_cortical_ids_array_for_misc_data_with_parameters( frame_change_handling: FrameChangeHandling, cortical_unit_index: CorticalUnitIndex, ) -> [CorticalID; 1]
Get cortical IDs array for Miscellaneous Motor.
Sourcepub const fn get_cortical_area_types_array_for_text_english_output_with_parameters(
frame_change_handling: FrameChangeHandling,
) -> [CorticalAreaType; 1]
pub const fn get_cortical_area_types_array_for_text_english_output_with_parameters( frame_change_handling: FrameChangeHandling, ) -> [CorticalAreaType; 1]
Get cortical area types array for Text Output (English).
Sourcepub const fn get_cortical_ids_array_for_text_english_output_with_parameters(
frame_change_handling: FrameChangeHandling,
cortical_unit_index: CorticalUnitIndex,
) -> [CorticalID; 1]
pub const fn get_cortical_ids_array_for_text_english_output_with_parameters( frame_change_handling: FrameChangeHandling, cortical_unit_index: CorticalUnitIndex, ) -> [CorticalID; 1]
Get cortical IDs array for Text Output (English).
Sourcepub const fn get_cortical_area_types_array_for_count_output_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
) -> [CorticalAreaType; 1]
pub const fn get_cortical_area_types_array_for_count_output_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> [CorticalAreaType; 1]
Get cortical area types array for Count Output.
Sourcepub const fn get_cortical_ids_array_for_count_output_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
cortical_unit_index: CorticalUnitIndex,
) -> [CorticalID; 1]
pub const fn get_cortical_ids_array_for_count_output_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, cortical_unit_index: CorticalUnitIndex, ) -> [CorticalID; 1]
Get cortical IDs array for Count Output.
Sourcepub const fn get_cortical_area_types_array_for_object_segmentation_with_parameters(
frame_change_handling: FrameChangeHandling,
) -> [CorticalAreaType; 1]
pub const fn get_cortical_area_types_array_for_object_segmentation_with_parameters( frame_change_handling: FrameChangeHandling, ) -> [CorticalAreaType; 1]
Get cortical area types array for Object Segmentation.
Sourcepub const fn get_cortical_ids_array_for_object_segmentation_with_parameters(
frame_change_handling: FrameChangeHandling,
cortical_unit_index: CorticalUnitIndex,
) -> [CorticalID; 1]
pub const fn get_cortical_ids_array_for_object_segmentation_with_parameters( frame_change_handling: FrameChangeHandling, cortical_unit_index: CorticalUnitIndex, ) -> [CorticalID; 1]
Get cortical IDs array for Object Segmentation.
Sourcepub const fn get_cortical_area_types_array_for_simple_vision_output_with_parameters(
frame_change_handling: FrameChangeHandling,
) -> [CorticalAreaType; 1]
pub const fn get_cortical_area_types_array_for_simple_vision_output_with_parameters( frame_change_handling: FrameChangeHandling, ) -> [CorticalAreaType; 1]
Get cortical area types array for Simple Vision Output.
Sourcepub const fn get_cortical_ids_array_for_simple_vision_output_with_parameters(
frame_change_handling: FrameChangeHandling,
cortical_unit_index: CorticalUnitIndex,
) -> [CorticalID; 1]
pub const fn get_cortical_ids_array_for_simple_vision_output_with_parameters( frame_change_handling: FrameChangeHandling, cortical_unit_index: CorticalUnitIndex, ) -> [CorticalID; 1]
Get cortical IDs array for Simple Vision Output.
Sourcepub const fn get_cortical_area_types_array_for_dynamic_image_processing_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
) -> [CorticalAreaType; 4]
pub const fn get_cortical_area_types_array_for_dynamic_image_processing_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> [CorticalAreaType; 4]
Get cortical area types array for Dynamic Image Processing Settings.
Sourcepub const fn get_cortical_ids_array_for_dynamic_image_processing_with_parameters(
frame_change_handling: FrameChangeHandling,
percentage_neuron_positioning: PercentageNeuronPositioning,
cortical_unit_index: CorticalUnitIndex,
) -> [CorticalID; 4]
pub const fn get_cortical_ids_array_for_dynamic_image_processing_with_parameters( frame_change_handling: FrameChangeHandling, percentage_neuron_positioning: PercentageNeuronPositioning, cortical_unit_index: CorticalUnitIndex, ) -> [CorticalID; 4]
Get cortical IDs array for Dynamic Image Processing Settings.
pub const fn get_snake_case_name(&self) -> &'static str
Sourcepub const fn get_accepted_wrapped_io_data_type(&self) -> &'static str
pub const fn get_accepted_wrapped_io_data_type(&self) -> &'static str
Get the accepted wrapped IO data type for this motor cortical unit. Returns the string name of the data type (e.g., “MiscData”, “SignedPercentageData”).
Sourcepub fn from_snake_case_name(name: &str) -> Option<MotorCorticalUnit>
pub fn from_snake_case_name(name: &str) -> Option<MotorCorticalUnit>
Sourcepub const fn list_all() -> &'static [MotorCorticalUnit]
pub const fn list_all() -> &'static [MotorCorticalUnit]
Returns all available motor cortical unit types. This is useful for enumerating all possible motor types in the system.
Sourcepub const fn get_friendly_name(&self) -> &'static str
pub const fn get_friendly_name(&self) -> &'static str
Returns the friendly (human-readable) name for this motor cortical unit type.
Sourcepub const fn get_cortical_id_unit_reference(&self) -> [u8; 3]
pub const fn get_cortical_id_unit_reference(&self) -> [u8; 3]
Returns the 3-byte cortical ID unit reference for this type.
Sourcepub const fn get_number_cortical_areas(&self) -> usize
pub const fn get_number_cortical_areas(&self) -> usize
Returns the number of cortical areas this type creates.
Sourcepub fn get_unit_default_topology(
&self,
) -> HashMap<CorticalSubUnitIndex, UnitTopology>
pub fn get_unit_default_topology( &self, ) -> HashMap<CorticalSubUnitIndex, UnitTopology>
Returns the default topology for all units of this cortical type.
Sourcepub fn get_allowed_frame_change_handling(
&self,
) -> Option<&'static [FrameChangeHandling]>
pub fn get_allowed_frame_change_handling( &self, ) -> Option<&'static [FrameChangeHandling]>
Returns the allowed FrameChangeHandling values for this motor cortical unit. If None, all FrameChangeHandling values are allowed. If Some, only the specified values are allowed.
pub fn get_cortical_id_vector_from_index_and_serde_io_configuration_flags( &self, cortical_unit_index: CorticalUnitIndex, map: Map<String, Value>, ) -> Result<Vec<CorticalID>, FeagiDataError>
Trait Implementations§
Source§impl Clone for MotorCorticalUnit
impl Clone for MotorCorticalUnit
Source§fn clone(&self) -> MotorCorticalUnit
fn clone(&self) -> MotorCorticalUnit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MotorCorticalUnit
impl Debug for MotorCorticalUnit
Source§impl<'de> Deserialize<'de> for MotorCorticalUnit
impl<'de> Deserialize<'de> for MotorCorticalUnit
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>,
Source§impl Display for MotorCorticalUnit
impl Display for MotorCorticalUnit
Source§impl Hash for MotorCorticalUnit
impl Hash for MotorCorticalUnit
Source§impl PartialEq for MotorCorticalUnit
impl PartialEq for MotorCorticalUnit
Source§impl Serialize for MotorCorticalUnit
impl Serialize for MotorCorticalUnit
impl Copy for MotorCorticalUnit
impl Eq for MotorCorticalUnit
impl StructuralPartialEq for MotorCorticalUnit
Auto Trait Implementations§
impl Freeze for MotorCorticalUnit
impl RefUnwindSafe for MotorCorticalUnit
impl Send for MotorCorticalUnit
impl Sync for MotorCorticalUnit
impl Unpin for MotorCorticalUnit
impl UnwindSafe for MotorCorticalUnit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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