Skip to content
logo
In Silico Framework
get_dist
Initializing search
    in_silico_framework
    • API reference
    • Tutorials
    • Installation
    • File & data formats
    • Bibliography
    in_silico_framework
    • API reference
      • Interface
      • biophysics_fitting
      • data_base
      • simrun
      • single_cell_parser
        • analyze
          • membrane_potential_analysis
          • synanalysis
            • compute_synapse_distances_times
            • synapse_activation_times
            • compute_syn_distances_2Dprojected
            • get_dist
              • Fsingle_cell_parseranalyzesynanalysisget_dist
                • Parameters
                  • px1
                  • px2
                • Returns
                • Return type
            • compute_distance_to_soma
            • compute_syn_distance
            • compute_syn_distances
        • cell_modify_functions
        • network_modify_functions
        • network_param_modify_functions
        • cell
        • cell_parser
        • network
        • network_realizations
        • parameters
        • reader
        • scalar_field
        • serialize_cell
        • sim_control
        • synapse
        • synapse_mapper
        • writer
        • Event
        • create_cell
        • init_neuron_run
        • sec_distance_to_soma
        • spines_update_synapse_distribution_file
        • spines_update_network_paramfile
      • singlecell_input_mapper
      • spike_analysis
      • visualize
    • Tutorials
    • Installation
    • File & data formats
    • Bibliography
    • Fsingle_cell_parseranalyzesynanalysisget_dist
      • Parameters
        • px1
        • px2
      • Returns
      • Return type

    get_dist¶

    single_cell_parser.analyze.synanalysis.get_dist(x1, x2)¶

    Compute the Euclidean distance between two points.

    Parameters:¶
    x1 : list¶

    first point

    x2 : list¶

    second point

    Returns:¶

    Euclidean distance between the two points

    Return type:¶

    float

    Documentation unclear, incomplete, broken or wrong? Let us know

    Previous compute_syn_distances_2Dprojected
    Next compute_distance_to_soma
    © Copyright 2025 Max Planck Institute for Neurobiology of Behavior - CAESAR.
    Created using Sphinx 7.2.6. and Sphinx-Immaterial