single_cell_parserwriter

writer

Write out anatomical, morphology or simulation data.

Functions

write_landmark_file(fname, landmarkList)

Write an AMIRA landmark file from 3D coordinates

write_sim_results(fname, t, v)

Write out a voltage trace file.

write_all_traces(fname, t, vTraces)

Write out a list of voltage traces.

write_cell_synapse_locations(fname, synapses, cellID)

Write a .syn file.

write_pruned_synapse_locations(fname, synapses, cellID)

Write a .syn file with a pruned flag.

write_functional_realization_map(fname, functionalMap, anatomicalID)

Write out a .con file.

write_synapse_activation_file(fname, cell, synTypes, synDistances, synTimes, activeSyns)

Write out a Synapse activation file.

write_synapse_weight_file(fname, cell)

Write out a synapse weight file.

write_PSTH(fname, PSTH, bins)

Write PSTH and time bins of PSTH,

write_spike_times_file(fname, spikeTimes)

Write trial numbers and all spike times in each trial (may be empty).

write_presynaptic_spike_times(fname, cells)

Write cell type, presynaptic cell ID and spike times of all connected

write_cell_simulation(fname, cell, traces, tVec, allPoints, step_frames, selected_index)

Write Amira SpatialGraph files corresponding to time steps of entire simulation run.

write_functional_map(fname, functionalMap)

Write a functional map to an AMIRA file.

generate_landmark_template(landmark_name, c, vertexviewid, len)

Generate a template for a landmark file in Amira.

write_landmarks_colorcoded_to_folder(basedir, landmarks, values, vmin, vmax, vbinsize)

Write landmarks to a folder, colorcoded by their values.

value_to_color(v, vmin, vmax)

Map a value to a color.