Search found 56 matches

by lb5999
Wed Jan 11, 2017 7:17 am
Forum: NEURON + Python
Topic: PyNEURON will not load DLL files
Replies: 17
Views: 22551

Re: PyNEURON will not load DLL files

Hi BSCoventry,

I am currently having exactly the same problem - I was wondering if you had managed to resolve this?

Thanks!
Linford
by lb5999
Mon Jan 09, 2017 10:43 am
Forum: Adding new mechanisms and functions to NEURON
Topic: How to set up large network of gap junction coupled cells
Replies: 1
Views: 5998

How to set up large network of gap junction coupled cells

Dear NEURON Forum, I have a large network of cells that are gap-junction coupled; 318 cells in total. The cells are simply somas. The coupling between cells is determined by a coupling matrix; if cell and cell[j] are coupled, CouplingMatrix.x [j]=1, else =0. This coupling matrix is strictly lower tr...
by lb5999
Mon Jan 09, 2017 8:34 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Time-varying maximal conductance
Replies: 19
Views: 14946

Time-varying maximal conductance

Hi NEURON Forum,

I want to force a model cell I have with the conductance of the K(ATP) channel, gbar_katp. In particular, I want to give gbar_katp a square wave shape in time.

Any idea how I would implement this in NEURON?

I am using insert pas as a proxy for a KATP channel mechanism.

Cheers,
L
by lb5999
Mon Jan 09, 2017 7:55 am
Forum: NEURON + Python
Topic: PyNEURON and .mod files
Replies: 3
Views: 11365

Re: PyNEURON and .mod files

I also tried to change directory to the location of my nrnmech.dll file before I import neuron, but I got the following erro: import os os.chdir("H:/models/jo/mod") from neuron import h Found NEURON at C:\Python27\neuronhome NEURON -- VERSION 7.2 (527+:a38b8d137de6+) 2011-07-26 Duke, Yale, and the B...
by lb5999
Mon Jan 09, 2017 5:26 am
Forum: NEURON + Python
Topic: PyNEURON and .mod files
Replies: 3
Views: 11365

Re: PyNEURON and .mod files

Hi ramcdougal, thanks for your reply. I have followed your advise (I think). I have attempted to import the version of neuron.exe that I used to compile the .mod files: import os os.chdir("C:/nrn/bin") from neuron import h However it says: Found NEURON at C:\Python27\neuronhome so it looks like it i...
by lb5999
Thu Jan 05, 2017 9:34 am
Forum: NEURON + Python
Topic: PyNEURON and .mod files
Replies: 3
Views: 11365

PyNEURON and .mod files

Hi all, I have just started using PyNEURON and am having trouble using custom made .mod files. The code I am running is simple, and inserts a mechanism called nad.mod Windows PowerShell Copyright (C) 2014 Microsoft Corporation. All rights reserved. PS C:\Users\lbriant> python Python 2.7.13 (v2.7.13:...
by lb5999
Fri Apr 22, 2016 11:10 am
Forum: MSWin
Topic: using custom ion channels in neuron-python
Replies: 1
Views: 9087

using custom ion channels in neuron-python

Hi NEURON Forum, I am new (<12hrs) to using the python interface for NEURON. Looking forward to getting stuck in, but at the moment struggling to find info online with how to mknrndll my own .mod files in the python window. Any tips on how to do this would be really appreciated! I am using: Anaconda...
by lb5999
Thu Oct 23, 2014 5:48 am
Forum: OS X
Topic: No DISPLAY environment variable
Replies: 1
Views: 6671

No DISPLAY environment variable

Dear NEURON Forum, I am trying to get NEURON working on my friends Mac OS X 10.9.3 but its not working. When we run the nrngui it tells us -e Warning: no DISPLAY environment variable. --No graphics will be displayed. The GUI doesn't appear and load_file doesn't pull it up either. We have seen some N...
by lb5999
Fri Oct 04, 2013 7:17 am
Forum: Other questions
Topic: Saving data from 2 parameter runs
Replies: 1
Views: 784

Saving data from 2 parameter runs

Hi Neuron Community, I have a question regarding handling large amounts of data. I have a model cell. I am producing an Injected current - firing frequency (I-F) curve. For each value injected current, I would like the time series for membrane potential, so that I can do further analysis. I therefor...
by lb5999
Fri Jun 28, 2013 7:15 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Bursting Stimulator
Replies: 1
Views: 1262

Bursting Stimulator

Hi Neuron users, I would like to play into my single cell model a series of current pulses that occur as a burst. The burst will be generated by 6 pulses of duration 2ms, amplitude 2mA. The burst duration is 250ms, so the current pulses are seperated by 50ms. I want to play this burst into my single...
by lb5999
Sun Jan 29, 2012 11:00 am
Forum: Other questions
Topic: data written yields empty dataset
Replies: 3
Views: 1744

Re: data written yields empty dataset

Also, Ted, I would like to then refer to the current values that the above script writes to a dataset, in numerous other .hoc files. So, I will want to import this data set (this seems more sensical than running this current clamp script everytime I run one of these aforementioned .hoc files). How d...
by lb5999
Sun Jan 29, 2012 10:34 am
Forum: Other questions
Topic: data written yields empty dataset
Replies: 3
Views: 1744

data written yields empty dataset

Hi Ted, I have a vector of voltage clamp values being written to a matrix M, for varying a particular conductance parameter gkabar_borgka. The vector of these parameter values are also written to M. I then print this matrix M to a dataset, trouble is, the dataset is empty! The matrix contains elemen...
by lb5999
Tue Sep 27, 2011 11:40 am
Forum: Other questions
Topic: na3 Mechanism parameter
Replies: 1
Views: 933

na3 Mechanism parameter

Hi Ted, I should start by saying thank you for your reply to my previous thread regarding serial computing in BlueCrystal (Bristol's supercomputer).. we pretty much have it working, and its awesome! More importantly, it is very good to hear from you too! I have been studying the mechanism na3.mod, a...
by lb5999
Tue Sep 20, 2011 8:33 am
Forum: Other questions
Topic: run hoc file w/o loading gui
Replies: 1
Views: 1213

run hoc file w/o loading gui

Hi Ted and Michael, I wish to use NEURON on a Linux HPC Cluster in Bristol. Neuron is installed on the cluster and I have compiled all the .mod files in my working directory. This has placed them in the x86_64 sub folder of the working directory. The cluster uses a queuing system to run jobs and I w...
by lb5999
Thu May 26, 2011 4:05 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Anomalous Spike in A-conductance
Replies: 3
Views: 2122

Re: Anomalous Spike in A-conductance

Thanks Ted, thats brilliant. I'll let you know how I get on.

lb