Skip to content
logo
In Silico Framework
hoc
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
        • cell_modify_functions
        • io
          • morphology
            • _edge
            • hoc
              • _extract_label_and_name_from_hoc
              • read_hoc
              • write_hoc
            • hoc
              • _extract_label_and_name_from_hoc
              • read_hoc
              • write_hoc
              • Functions
              • Attributes
            • swc
            • read_morphology
            • convert_swc_to_hoc
            • convert_hoc_to_swc
          • activity
          • amira
          • connectivity
        • network_modify_functions
        • network_param_modify_functions
        • cell
        • cell_parser
        • network
        • network_realizations
        • parameters
        • serialize_cell
        • synapse
        • synapse_mapper
        • 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
      • mechanisms
      • config
    • Tutorials
    • Installation
    • File & data formats
    • Bibliography
    • Functions
    • Attributes

    ❭ API reference ❭ single_cell_parser ❭ io ❭ morphology ❭

    hoc¶

    Read and write .hoc morphologies.

    Functions¶

    read_hoc(fname, remap_labels)

    Read a .hoc morphology file and return a list of Edge objects.

    write_hoc(sections, of)

    Write a HOC morphology file from a pre-built section directory.

    Attributes¶

    logger

    -

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

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