CellParser

class singlecell_input_mapper.udvary2022.cell.CellParser(morph_fn='')

Bases: object

Extract cell morphology from an AMIRA hoc file.

See also

This is not the same class as single_cell_parser.cell_parser.CellParser. This is a leightweight dataclass specialized for use with single_cell_parser.synapse_mapper.SynapseMapper, and does not contain any biophysical details.

Parameters:
hocFilename : str

File name of the hoc file. Default: ‘’.

Attributes:
hoc_fname

File name of the hoc file.

Type:

str

cell

Cell object.

Type:

Cell

Methods:

spatialgraph_to_cell()

Set up a cell object from an AMIRA hoc file.

get_cell()

Returns cell if it is set up