Trait nblast::QueryNeuron
source · pub trait QueryNeuron: Neuron {
// Required methods
fn query_dist_dots(
&self,
target: &impl TargetNeuron,
use_alpha: bool
) -> Vec<DistDot>;
fn self_hit(&self, score_calc: &ScoreCalc, use_alpha: bool) -> Precision;
// Provided method
fn query(
&self,
target: &impl TargetNeuron,
use_alpha: bool,
score_calc: &ScoreCalc
) -> Precision { ... }
}
Expand description
Trait for objects which can be used as queries (not necessarily as targets) with NBLAST. See TargetNeuron.
Required Methods§
sourcefn query_dist_dots(
&self,
target: &impl TargetNeuron,
use_alpha: bool
) -> Vec<DistDot>
fn query_dist_dots( &self, target: &impl TargetNeuron, use_alpha: bool ) -> Vec<DistDot>
Calculate the distance and (alpha-scaled) absolute dot products for point matches between this and a target neuron.