allensdk.model.glif.simulate_neuron module

allensdk.model.glif.simulate_neuron.load_sweep(file_name, sweep_number)[source]

Load the stimulus for a sweep from file.

allensdk.model.glif.simulate_neuron.main()[source]
allensdk.model.glif.simulate_neuron.parse_arguments()[source]

Use argparse to get required arguments from the command line

allensdk.model.glif.simulate_neuron.simulate_neuron(neuron, sweep_numbers, input_file_name, output_file_name, spike_cut_value)[source]
allensdk.model.glif.simulate_neuron.simulate_sweep(neuron, stimulus, spike_cut_value)[source]

Simulate a neuron given a stimulus and initial conditions.

allensdk.model.glif.simulate_neuron.simulate_sweep_from_file(neuron, sweep_number, input_file_name, output_file_name, spike_cut_value)[source]

Load a sweep stimulus, simulate the response, and write it out.

allensdk.model.glif.simulate_neuron.write_sweep_response(file_name, sweep_number, response, spike_times)[source]

Overwrite the response in a file.