- 32° is the default temperature now.
- Point processes are automatically wrapped.
- Added
p.record
to create a Vector and record the argument. Vector.record
returns the vector for chaining.- Fixed neuronsimulator/nrn#1002 with collective
setup_transfer
call. - Added
SEClamp
andSection.vclamp
.
- Re-release of 2.1.0 (sync with PyPI)
- Added arbitrary data MPI broadcasting.
- Improvements to
NetCon
kwarg handling. - Improvements to
NetCon.record
.
- Another iteration of NEURON vs MPI: Completely rely on
mpi4py
until neuronsimulator/nrn#581 is addressed andh.nrnmpi_init()
can safely be called.
- Created a module class for the root module with p as a property so that neuron isn't imported on patch import, until patch.p is accessed.
- Improved missing
nrnmpi_init
handling.
- Renamed
p.pc
top.parallel
- Throw a warning when
h.nrnmpi_init
is missing andp.parallel
is used.
- Added
ParallelCon
for parallel simulations.
- Fixed a bug with the previous distribution where the VecStim mod file was missing.
- Added better error handling for NEURON errors.
- Added checks so that
continuerun
andrun
can only be used afterfinitialize
- Added extensions:
- HOC extensions: hoc files that can be packaged along and loaded.
- MOD extensions: A Glia package
patch_extensions
is installed along with patch so that any mod files required to run patch are automatically compiled and loaded.
- Added
VecStim
, which can stimulate according to arbitrary patterns. - Added
pattern
keyword argument toPointProcess.stimulate
so that a VecStim is created.
- Added ReadTheDocs documentation
- Added
time
property to the interpreter which returns a singleton recording device of the timesteps in the simulation.
- Added
stimulate
method to point processes. This creates a NetStim connected to it. - Added
connection
function in the root module that retrieves a NetCon between 2 objects if they are connected. - Added default
__netcon__
and__record__
behavior to Sections, they will now refer to the Segment at x=0.5.
- Added
__netcon__
and__record__
magic methods for better default behavior inp.NetCon
andVector.record
respectively. - The RunTimeError: hoc error for NetCon gets caught and a proper
HocConnectError
is raised. PythonHocObject
s now store a reference to the Patch interpreter instead of NEURON's.- Added
Section.connect_points
, a shorthand function to NetCon a point on a section to a point process. - Added the
Section.record
function to record a point on the section. - Added a wrapper for
Vector
with an improvedrecord
function. - The PythonHocInterpreter always loads
stdrun.hoc
.
Section.insert
now returns itself as a patched Section.