sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
67720e6ffd134c17962a8beaf161138679bc6ad57ca6532694f0867fce114f58 | MATLAB | 42,066 | 908 | %% This is the the code for post-processing rOMT results
% contains GLAD analysis + NCA
addpath('./Inverse','./Sensitivities','./analyzeFlows',genpath('./utilities'))
%% change input here
% make sure in the path directory in getParams.m is what the post-processing you
% would like to run
tag = 'C294';
%%
fprintf(... |
b1b10e73c7481430d7a2bb7e307bc67155dcf32e8c43c0699f9bff9161b858d9 | MATLAB | 42,100 | 1,014 | %% Parameter dependence of SSA
clear;
load('Simulation Results/meta_data.mat');
SI = zeros(num_trials,length(Par_Arr)); % Quantify SSA in L4
CSI = zeros(num_trials, length(Par_Arr)); % Quantifying true deviance detection in L4
time_win = 0.400; % in seconds; time window used to calculate SI and CSI, starting from eac... |
735442a1867110b8afdbf08e0eb3b4fa26d06b6de895f36b5275da94f888214b | MATLAB | 42,276 | 970 | clear
close all
clc
chanlocs = readlocs('cap64.loc');
path_temp = 'D:\Participant Folders_new\'; %TCD Laptop
% save_path = 'D:\Participant Folders_new\';
%% Create paths for subjects
subject_folder = {'LK_07_04_14','AR_08_04_14','MH_14_04_14','AA_15_04_14','NT_16_04_14', ...
'OF_28_04_14','RO_25_04_14','PR_20_04... |
1f719c588ad5265a82145e0d09b504c575b9943714f2182fd3f2e954de58cb45 | MATLAB | 42,415 | 974 | clear
close all
clc
chanlocs = readlocs('cap64.loc');
% path_temp = 'D:\Participant Folders_new\'; %TCD Laptop
path_temp = 'S:\R-MNHS-SPP\Bellgrove-data\4. Dan Newman\Participant Folders_new\'; %Monash PC
% save_path = 'D:\Participant Folders_new\';
%% Create paths for subjects
subject_folder = {'LK_07_04_14','AR_08... |
f0c99432f2e5544b95e6c08282cdf4ff85f9c39d20de0875e648d19bb70a6fd2 | MATLAB | 42,998 | 551 | function moto = MotoTrak_Controller_V2pX_Serial_Functions(moto)
%MotoTrak_Controller_V2pX_Serial_Functions.m - Vulintus, Inc., 2016
%
% MotoTrak_Controller_V2pX_Serial_Functions defines and adds the Arduino
% serial communication functions to the "moto" structure. These functions
% are for sketch versions 2.0+ a... |
260d2b46c8597d16adf8222baeeeb43d01ee839140b0db9e40cb984dee824e38 | MATLAB | 43,115 | 982 | clear
close all
clc
chanlocs = readlocs('cap64.loc');
% path_temp = 'D:\Participant Folders_new\'; %TCD Laptop
path_temp = 'S:\R-MNHS-SPP\Bellgrove-data\4. Dan Newman\Participant Folders_new\'; %Monash PC
% save_path = 'D:\Participant Folders_new\';
%% Create paths for subjects
subject_folder = {'LK_07_04_14','AR_08... |
fb7d5a2fd919ae4226dd0e9df0c41362d987e8138ddc4c15f7297d10152d390a | MATLAB | 43,241 | 1,077 |
function MEMES3(dir_name,elpfile,hspfile,confile,mrkfile,path_to_MRI_library,bad_coil,method,scaling,varargin)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MRI Estimation for MEG Sourcespace (MEMES)
%
%%%%%%%%%%%
% Inputs:
%%%%%%%%%%%
%
% - dir_name = directory for... |
1b83423dcdd3dfec5eec6c26a69b665db4f57f073a29b8c00b4115923a99b107 | MATLAB | 45,285 | 1,100 |
function MEMES2(dir_name,elpfile,hspfile,confile,mrkfile,path_to_MRI_library,mesh_library,initial_mri_realign,bad_coil,method,scaling)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MRI Estimation for MEG Sourcespace (MEMES)
%
%%%%%%%%%%%
% Inputs:
%%%%%%%%%%
%
% - dir_name ... |
5f3b83b83bdc6e4c343da5163ad98f08d844aebd59316ff5382d42130e9fc15a | MATLAB | 45,286 | 1,100 |
function MEMES2(dir_name,elpfile,hspfile,confile,mrkfile,path_to_MRI_library,mesh_library,initial_mri_realign,bad_coil,method,scaling)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MRI Estimation for MEG Sourcespace (MEMES)
%
%%%%%%%%%%%
% Inputs:
%%%%%%%%%%%
%
% - dir_name ... |
6deeb594dd57d420106ba91347bbe31a8ec4f54f4c0dc60b6ed5b6096ede5734 | MATLAB | 46,935 | 1,094 | % script to run MEG experiment which was used for scientific article:
% Predictive neural representations of naturalistic dynamic input
% Ingmar E.J. de Vries and Moritz F. Wurm (2022)
% experiment can run as 1) behaviour only, 2) behaviour + eyetracker, 3) behaviour + eyetracker + MEG
% note that you need to have... |
7d9e532e6fa017926bd0efabcb6ef68da651b66cd2ffe57ccaccf72c69fcb473 | MATLAB | 49,476 | 1,099 | function Ycls = cat_main(res,tpm,job)
% ______________________________________________________________________
% Write out CAT preprocessed data
%
% FORMAT Ycls = cat_main(res,tpm,job)
%
% based on John Ashburners version of
% spm_preproc_write8.m 2531 2008-12-05 18:59:26Z john $
%
% ___________________________________... |
b1844dbbd97ec1e636780671ee50295f881f336c8e35e1d904e1ae849de329f0 | MATLAB | 52,125 | 1,610 | % DOWNLOADED FROM: https://github.com/xjpvincent/FC_NIRS/blob/master/GetExtinctions.m
% PLEASE SEE : https://github.com/xjpvincent
%$Release 4.0
% Copyright (c) Copyright 2004 - 2006 - The General Hospital Corporation and
% President and Fellows of Harvard University.
%
% All rights reserved.
%
% Redistribution... |
15a5141537a576eeaf755b403e972849759c635f0d005e5d0765fdf46f10c6e5 | MATLAB | 53,097 | 1,379 | function varargout = cat_run(job)
% Segment a bunch of images
% ______________________________________________________________________
%
% FORMAT cat_run(job)
%
% job.channel(n).vols{m}
% job.channel(n).biasreg
% job.channel(n).biasfwhm
% job.channel(n).write
% job.tissue(k).tpm
% job.tissue(k).ngaus
% ... |
43ef0653d48e9ace40d896e37ea4d7e8319ab17a66955c74931763c904f490dd | MATLAB | 54,583 | 1,585 | % additional analysis ELL feedback
% M Metzen 2023
%% gain responding neurons and behavior; similar conditions as in Huang et al 2018
clear
close all
clc
load gain_respNeurons_Behavior.mat
gainNeuronsCont(isnan(gainNeuronsCont(:,1)),:) = [];
gainNeuronsBlock(isnan(gainNeuronsBlock(:,1)),:) = [];
gainBehavior... |
8733d2bb0e320e51ecd4476151c89d7e7432631a21f6fcb849aa4fc3840c919e | MATLAB | 55,044 | 699 | function moto = MotoTrak_Controller_V2pX_Serial_Functions_Deprecated(moto)
%MotoTrak_Controller_V2pX_Serial_Functions_Deprecated.m - Vulintus, Inc., 2016
%
% MotoTrak_Controller_V2pX_Serial_Functions_Deprecated is the deprecated
% version of MotoTrak_Controller_V2pX_Serial_Functions, which defines and
% adds the... |
41f58f247fc292f3239ddfbde33adea767183a3f4cb1ffc3066946c523d12ae2 | MATLAB | 57,931 | 1,173 | function [trans,reg] = cat_main_registration(job,res,Ycls,Yy,tpmM,Ylesion)
% ______________________________________________________________________
% Spatial registration function of cat_main preprocessing that include
% the SPM DARTEL and (optimized) SHOOTING registration approaches.
%
% There are 4 image spaces w... |
e3c41df4a94c71aa305c276bcacb939905a2feb5c95f29e4dd5284c2bc536d10 | MATLAB | 58,100 | 1,633 | function [B,stats] = lassoglm_L2(x,y,distr,varargin)
%LASSOGLM Perform lasso or elastic net regularization for a generalized linear model.
% [B,STATS] = LASSOGLM(X,Y,DISTR,...) Performs L1-penalized maximum likelihood
% fits (lasso) relating the predictors in X to the responses in Y, or
% fits subject to joint ... |
09ec126abcdde16c17847d1faed867f63c24ef3e138097afda31d34a4d4dd1bb | MATLAB | 58,137 | 1,409 | classdef MeshType < handle
% This class defines a trinagulated mesh
% by Alberto Gomez, 2011
%
properties(GetAccess = 'public', SetAccess = 'public')
npoints=0;
ntriangles=0;
points=[];% npointsx3 matrix
triangles=[];%ntrianglesx3 matrix
bounds = [0 0 0 0 0 0... |
939b6be497dd51ece2d39ad1997e7d6428e932c78d4100a189b83cdc8c66f85c | MATLAB | 58,379 | 1,637 | function [B,stats] = lassoglm_2017L2(x,y,distr,varargin)
%LASSOGLM Perform lasso or elastic net regularization for a generalized linear model.
% [B,STATS] = LASSOGLM(X,Y,DISTR,...) Performs L1-penalized maximum likelihood
% fits (lasso) relating the predictors in X to the responses in Y, or
% fits subject to jo... |
8bda1304df000ef354077c5fbe7e3e70ec393e3c53810c3eb4b13c57b66fe3b1 | MATLAB | 59,417 | 1,613 | function varargout = tdtEEGgui(varargin)
% TDTEEGGUI MATLAB code for tdtEEGgui.fig
% TDTEEGGUI, by itself, creates a new TDTEEGGUI or raises the existing
% singleton*.
%
% H = TDTEEGGUI returns the handle to a new TDTEEGGUI or the handle to
% the existing singleton*.
%
% TDTEEGGUI('CALLBACK',hO... |
f24f5a102e027dbb6251c86249c088d8a30fa246d0ac2a3106b93dac90e15633 | MATLAB | 59,829 | 1,585 | function varargout = NLXEEGgui(varargin)
% NLXEEGGUI MATLAB code for NLXEEGgui.fig
% NLXEEGGUI, by itself, creates a new NLXEEGGUI or raises the existing
% singleton*.
%
% H = NLXEEGGUI returns the handle to a new NLXEEGGUI or the handle to
% the existing singleton*.
%
% NLXEEGGUI('CALLBACK',hO... |
f0c0f6cc44335aa938004a3435a73e9e283b36484dc3b19836741a44e4ac9946 | MATLAB | 59,861 | 1,982 | function out = uipickfiles(varargin)
%uipickfiles: GUI program to select files and/or folders.
%
% Syntax:
% files = uipickfiles('PropertyName',PropertyValue,...)
%
% The current folder can be changed by operating in the file navigator:
% double-clicking on a folder in the list or pressing Enter to move further
% dow... |
b5084571e653d874f293d8f38e65d1480e3ff1e8ae4192c32fc749baa735f98d | MATLAB | 61,377 | 1,814 | % Script to analyze olfactory conditioning data across days 1-3
githubDir = 'D:\GitHub';
addpath(genpath(fullfile(githubDir, 'npy-matlab')))
addpath(genpath(fullfile(githubDir, 'steinmetz-et-al-2019')))
direc = 'D:\GitHub\ottenheimer-et-al-2022\Imaging';
addpath(direc);
%% behavior summary
mice={'pl01','pl02','pl03','... |
6668f11501c43ae2f74c9302b99aa8de6557992c6c7da84e7ed1f6b7fd7bb2fb | MATLAB | 61,800 | 1,130 | % plot figures that will go in the paper
% please download the following plotting toolbox and add it to the folder "export_fig": https://www.mathworks.com/matlabcentral/fileexchange/23629-export_fig/
% created in matlab R2021a
clear all
close all
export_figPath = what('export_fig');
cleanupFcn = onCleanup(@() rmpath... |
29bb0fb666198079906b68e87f8ae205704656602fd8c4ee5ec30e0ef1992f31 | MATLAB | 62,414 | 1,353 | function [type] = ft_filetype(filename, desired, varargin)
% FT_FILETYPE determines the filetype of many EEG/MEG/MRI data files by
% looking at the name, extension and optionally (part of) its contents.
% It tries to determine the global type of file (which usually
% corresponds to the manufacturer, the recording syst... |
c9ad2d1ede54298e10e554a51f35611b3cb23dcce078eb57784fcafaaa9bd6ad | MATLAB | 63,010 | 1,172 | % Written by Aleh Sudakou (https://www.researchgate.net/profile/Aleh-Sudakou)
% Nałęcz Institute of Biocybernetics and Biomedical Engineering, Polish Academy of Sciences
% This is one of the codes shared on https://github.com/asudakou/Analyzing_TD-NIRS
% Last updated: 20 May 2023
%% Description:
% This scrip... |
2719146d5a64a1124269fc1c59d5ea5cfdb1a02688417c55720443068a48bedb | MATLAB | 72,541 | 1,482 | classdef register_landmarks < matlab.apps.AppBase
%REGISTER_LANDMARKS A GUI for registering landmarks in a CT image.
%
% Use this GUI to register predefined landmarks in a CT image. The default
% landmarks are defined in Atlas/atlas-landmarks.txt. The CT image should
% first have been processed with the preprocess_ct... |
cdd529a26cb6bde9d6b7425e5045aefa45fee4f6f51a0bab767b7f9cf9ccd5d4 | MATLAB | 81,838 | 2,046 | function [hdr] = ft_read_header(filename, varargin)
% FT_READ_HEADER reads header information from a variety of EEG, MEG and LFP
% files and represents the header information in a common data-independent
% format. The supported formats are listed below.
%
% Use as
% hdr = ft_read_header(filename, ...)
%
% Additional... |
afdd3fc2f4189757c7714b54a29ac8d58cc6b3b132e11e4b2c6a050efca8e3a8 | MATLAB | 84,075 | 2,088 | function varargout = cat_io_xml(file,varargin)
% ______________________________________________________________________
% Import/export of a matlab structure from/to a xml file. Use functions
% from Jaroslaw Tuszynski on MATLAB Central (xml_io_tools_2010_11_05).
% Because the XML decoding is very slow, the data is fu... |
e9872b7ed0dfb415555f8426a1f4e4628f30ae06dfb775474bf5380f1197d68c | MATLAB | 87,558 | 2,574 | % Script to analyze electrophysiology data
githubDir = 'D:\GitHub';
addpath(genpath(fullfile(githubDir, 'npy-matlab'))) %to load .npy files
addpath(genpath(fullfile(githubDir, 'steinmetz-et-al-2019'))) %for reduced rank
direc = 'D:\GitHub\ottenheimer-et-al-2022\Neuropixels'; %where neuropixels data exists
addpath(direc... |
346ecade425f809334e22f932d514fab1beb54912633d76ad1fbb4849810bc4c | MATLAB | 89,254 | 1,936 | classdef identify_electrodes < matlab.apps.AppBase
%IDENTIFY_ELECTRODES A GUI for identifying electrodes in a CT image.
%
% Use this GUI to identify electrodes in a CT image. You need a NIfTI
% image (for example created with preprocess_ct), an affine3d tranformation
% object (for example created with register_landma... |
b60f5cb034e8014a95c75dbbd6ad0f6a0e83f3f1d33e41ccf60f08af51956979 | MATLAB | 92,587 | 2,077 | function tools = cat_conf_tools(expert)
% wrapper for calling CAT utilities
%
% tools = cat_conf_tools(expert)
%_______________________________________________________________________
% Christian Gaser & Robert Dahnke
% $Id: cat_conf_tools.m 1594 2020-03-30 14:55:33Z gaser $
% multi use fields
% ---------------------... |
00de19766e412e0bdbb836818f08e2f8144e175676f2b76e23d58a25146dcd53 | MATLAB | 105,815 | 1,751 | function p = pathdef
%PATHDEF Search path defaults.
% PATHDEF returns a string that can be used as input to MATLABPATH
% in order to set the path.
% Copyright 1984-2016 The MathWorks, Inc.
% DO NOT MODIFY THIS FILE. IT IS AN AUTOGENERATED FILE.
% EDITING MAY CAUSE THE FILE TO BECOME UNREADABLE TO
% THE ... |
987eddefbd7206bf4b619e5117365a9bd15ea067cf6a0c64a48240e0533e1b65 | MATLAB | 106,462 | 2,387 |
%GLOSSCATS_MASTERSCRIPT.m
% Data analysis code for Schmid, Barla, & Doerschner (2023) Nat. Hum. Behav.
% Last update: A.C.S., March 2023
%------- References: ------------------------------------------------------
% Please cite:
% Schmid, Barla, & Doerschner (2023) Material category of visual objects computed... |
62a961740744bc4d91edb6e68e67cf9e5a4618b91ac5536fb4e80d179baf4a28 | MATLAB | 115,312 | 3,422 | % Script to analyze electrophysiology data for value coding
githubDir = 'D:\GitHub';
addpath(genpath(fullfile(githubDir, 'npy-matlab'))) %to load .npy files
addpath(genpath(fullfile(githubDir, 'steinmetz-et-al-2019'))) %for reduced rank
direc = 'D:\GitHub\ottenheimer-et-al-2022\Neuropixels'; %where neuropixels data exi... |
2491fb0ce72969d2d8dcd58f61b3a8fb35c44366a7484e3344ba158b7e28b266 | MATLAB | 154,897 | 3,924 | function varargout = cat_surf_fun(action,S,varargin)
%cat_surf_fun Set of functions to modify and evaluate surfaces.
% Call without parameters (only action) will print the help of this action.
%
% varargout = cat_surf_fun(action,S,varargin)
%
% varargout, varargin .. variable input depending on the called action
... |
286661a17f147787acb00d6db8f7956f2dad6b3978289ea0c812bdc3ddd7e7c8 | MATLAB | 200,000 | 1,862 | T=[0.000 4.825 -0.012 -0.015 0.482 2.129 3.489 0.291 0.253 -0.006 3.626 3.134 4.460 5.090 5.768 5.353 5.513
1.000 4.823 -0.001 -0.010 0.472 2.130 3.487 0.289 0.254 -0.008 3.625 3.135 4.460 4.864 5.705 5.689 5.845
2.000 4.821 -0.005 -0.009 0.479 2.129 3.489 0.290 0.256 -0.006 3.629 3.134 4.460 4.406 4.145 3.770 3.771
... |
55701add69d638349f0215ace7eb3304170b13c15ff4b1e98e83a58cda779dc5 | MATLAB | 200,000 | 1,861 | DA=[0.000 4.577 -0.010 -0.007 0.304 1.002 3.019 0.164 0.126 -0.010 2.955 2.429 4.045 3.781 3.711 4.019 4.173
1.000 4.581 -0.011 -0.009 0.305 1.004 3.020 0.165 0.126 -0.009 2.956 2.429 4.047 3.737 3.503 3.652 3.860
2.000 4.583 -0.002 -0.004 0.309 1.003 3.020 0.165 0.128 -0.010 2.953 2.429 4.044 3.719 3.239 3.084 3.328... |
844c76cf17f412d5abd8ba0378c3923b87eb3f142200cdbfd3faebb2e0fa5587 | MATLAB | 200,000 | 1,861 | DA1 = [0.000 4.664 -0.005 -0.015 0.373 1.196 3.447 0.252 0.153 -0.009 3.151 2.632 4.124 4.132 4.776 5.083 4.812
1.000 4.663 -0.007 -0.010 0.369 1.193 3.448 0.254 0.154 -0.011 3.153 2.630 4.124 4.552 5.566 5.505 5.356
2.000 4.664 -0.006 -0.009 0.372 1.195 3.446 0.254 0.153 -0.006 3.155 2.634 4.127 4.588 5.590 5.475 5.... |
8c01f62151b372d2dc6e6dcde55b52c22658636dd7db76013e48344fbe9dd97c | MATLAB | 200,000 | 5,888 | % colorcet - Perceptually uniform color maps
%
% Usage 1: Generate a colour map and apply it to the current figure.
% >> colorcet(name);
% >> colorcet(name, keyword, arg, ...);
%
% Usage 2: Return a colour map and its description.
% >> [map, descriptorname, description] = colorcet(name);
%
% Usage 3: Get a list of a... |
8c051e5b39dd78d4385605bd779cec9e38beabfa93918be757220dc20b0177dc | MATLAB | 200,000 | 1,852 | Q=[197.000 -0.018 5.152 -0.023 4.466 0.311 0.086 1.555 -0.026 -0.008 0.666 4.421 1.861 1.572 1.339 1.130 1.249
198.000 -0.012 5.147 0.007 4.448 0.307 0.100 1.557 0.006 0.005 0.671 4.421 1.852 1.572 1.367 1.113 1.231
199.000 -0.010 5.151 -0.012 4.460 0.313 0.085 1.559 -0.021 -0.013 0.654 4.417 1.835 1.432 1.180 0.809 ... |
93c0460c6d59f95ebd28fd8fb950253b6e9055ada4b645884381dab5d4f74afe | MATLAB | 200,000 | 1,861 | T1=[0.000 4.661 -0.011 -0.013 0.380 1.131 3.513 0.259 0.154 -0.011 3.055 2.619 4.118 3.786 3.898 4.231 4.179
1.000 4.662 -0.011 -0.011 0.377 1.129 3.512 0.261 0.154 -0.010 3.054 2.620 4.119 3.788 3.725 4.002 4.038
2.000 4.662 -0.009 -0.011 0.378 1.134 3.514 0.261 0.153 -0.009 3.057 2.621 4.123 3.861 4.081 4.383 4.313... |
9e445fd350f9c4c4bbb2aa9a633ed001280a691c873f6b905195155eb444790d | MATLAB | 200,000 | 1,861 | Q1=[0.000 4.928 -0.001 -0.004 0.481 0.814 3.367 0.222 0.196 -0.008 2.801 2.768 3.976 3.769 3.737 3.927 3.996
1.000 4.923 -0.013 -0.012 0.474 0.810 3.368 0.219 0.191 -0.010 2.803 2.768 3.979 3.652 3.125 2.939 2.969
2.000 4.923 -0.014 -0.009 0.475 0.810 3.369 0.221 0.193 -0.006 2.806 2.769 3.981 3.665 3.188 3.039 3.079... |
da922daee8b573c14b2fb98d20d8e5e9a06a308154bc6e7aa36e1dbbab1cd632 | MATLAB | 200,001 | 2,668 | % El 16 y el 20 de julio se analizaron muestras de Pisco en diferentes variedades y marcas comerciales.
%
% Los sensores empleados fueron los siguientes: (Se resaltan entre comillas los que obtuvieron un mejor desempeño.)
%
% "MOS1" "MOS2" MOS3 "MOS4" ... |
c103dbdfceb9f8d05ab510c60665e6f709229030eb39ff0463d0928dc8ae8776 | MATLAB | 200,020 | 3,376 | %% Representational drift in the mouse visual cortex
% This script contains most of the analyses required to reproduce the
% results presented in Deitch et al., 2021.
%
% Each analysis corresponds to a single panel in the paper and can be run
% separately from the rest of the analyses.
%
% Analyses presented in... |
d89645f87e9a2d8d06dd1c577f06288e8dc08df0731e6c13547e670a6818854c | Mathematica | 14,663 | 345 | (* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 13.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
Noteb... |
08b68dea1d052c54bbab021f165bd5633e5d4f3dece3bd79c4437d9bb539a21b | Mathematica | 41,386 | 1,010 | (* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 12.1' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLengt... |
345405be846be9cb101ef46d9c9bdd4a3bf8e102a892fe165e6d603b328f7699 | Mathematica | 200,000 | 4,782 | (* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 11.2' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
Noteb... |
4b30c9d97402dfc8273789b8324016060956a6aa912155310874b7b052254216 | Mathematica | 200,000 | 3,986 | (* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 11.3' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLengt... |
a288f4b0639ad5531f483dacae22421f000e7371bab318b37b8deda43b279f99 | Mathematica | 200,000 | 4,696 | (* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 11.3' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLengt... |
a2f0f423c7f499303e935ac724d24f84aed7e640ffc14eb641698eedcb416863 | Mathematica | 200,000 | 4,799 | (* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 11.2' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
Noteb... |
aaba2800df593aa62ef009692ca659552a305e8d921d9d79d63785766fe9d531 | Mathematica | 200,000 | 4,816 | (*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 0, 0]
NotebookDataLength[ 261698, 6125]
NotebookOptionsPosition[ 249188, 5901]
NotebookOutlinePosition[ 249537, 5916]
CellTagsIndexPosition[ 249494, ... |
ed5b5f2084d3a2d8676295eafa7969b5f7aee14169abc876f2233ae60e69bec1 | Mathematica | 200,000 | 4,674 | (* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 11.2' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
Noteb... |
905015a5fad3557aa7d0a72a010b9de7c2c37360f3f1b96aa41f11780a4f014b | NEURON | 99 | 4 | // Used to replaces advance() from simulation by the default one.
proc advance() {
fadvance()
} |
e371da7924836c18e9203f8d18abd6719f357939165b080d195544d1a1886d9b | NEURON | 157 | 5 | // Updates Gluout/Gluin values on the cell.
proc advance() {
fadvance()
GluIteration(PX, PY, R_FRAP, TimeBegin, Tau1, MaxGlu, PX2, Gluin, Tau2, PZ)
} |
1eabbe5a2cb5957b0f5eb6b4159415e2fbb62ff0fb6c8077c0b06bc66fe7571d | NEURON | 221 | 9 | // Removes item from the vector if it's inside.
// $o1 - Vector to remove from
// $o2 - Item to remove
proc removeIfExists() {
itemIndex = $o1.index($o2)
if (itemIndex != -1){
$o1.remove(itemIndex)
}
} |
a04e1b7c08205256661f1b79be7f864af4398877ed16cf93ba303d8f30be0fb0 | NEURON | 290 | 17 | TITLE Purkinje Leak Current
: A passive purkinje cell leak current
NEURON {
SUFFIX lkpkj
NONSPECIFIC_CURRENT i
RANGE i, e, gbar
}
PARAMETER {
gbar = 5e-5 (siemens/cm2) < 0, 1e9 >
e = -60.5 (millivolt)
}
ASSIGNED {
i (milliamp/cm2)
v (millivolt)
}
BREAKPOINT { i = gbar*(v - e) }
|
99b22d29262f620e780af9b26b66150a0dd8492cff34c7c1f2239fc359c14748 | NEURON | 300 | 10 | //load_file("SimPotassium.hoc")
//load_file("runcontrol.ses")
//RunAstroPotasasium()
proc advance() {
fadvance()
PotasasiumIteration(PX, PY, RFRAP, TimeBegin, DCoef, Kduration, PX2, KCurrent, KpLeak, PZ, KResting)
PotasasiumExtra (PX_o,PY_o,PZ_o,R_o, PotassiumInside, PotassiumBasic)
}
|
9a46c75006e19a53719934440bf78dfbffd7de4a1b415c2150258ddc6cd8fe94 | NEURON | 311 | 22 | : Voltage gap junstion
NEURON {
POINT_PROCESS Gap
NONSPECIFIC_CURRENT i
RANGE r, i, VoltageGap
POINTER vgap
}
PARAMETER {
r = 100000(megohm)
VoltageGap = -85 (millivolt)
}
ASSIGNED {
v (millivolt)
vgap (millivolt)
i (nanoamp)
}
BREAKPOINT {
i = (-VoltageGap +vgap)/r
} |
0b8a6399404297b9689ed389c0f8c59351e4f6285df1ed3432f47238bf7d8c54 | NEURON | 319 | 25 |
proc advance() { local ii
fadvance()
if ((t > TimeDelayCaWave ) && (t < TimeDelayCaWave + DurationIP3iCalciumWave )) {
for ii=1, OriginalDendrite {
dendrite[ii].ip3i=InitIp3
}
soma[0].ip3i=InitIp3
} else {
for ii=1, OriginalDendrite {
dendrite[ii].ip3i=0.0000001
}
soma[0].ip3i=0.0000001
}
}
|
bb51e7e2a6d74dc73e9119a2e86bcda7130c0e98bade21e00da4762fc0a15bcf | NEURON | 320 | 32 | TITLE passive (leak) membrane channel
UNITS {
(mV) = (millivolt)
(mA) = (milliamp)
}
NEURON {
THREADSAFE
SUFFIX leak
NONSPECIFIC_CURRENT i
RANGE gbar, erev, i
}
PARAMETER {
v (mV)
gbar = 0.001 (mho/cm2)
erev = -65 (mV)
}
ASSIGNED {
i (mA/cm2)
}
INITIAL {
}
BREAKPOINT {
i = gbar*(v - erev)
}
|
3b172817794696903e97c7caf76a7da5b8cd709c900d422ea8cd5bf1779d1271 | NEURON | 385 | 34 | TITLE Very simple glutamate accumulation
UNITS {
(molar) = (1/liter)
(mM) = (millimolar)
(uM) = (micromolar)
}
NEURON {
POINT_PROCESS exglu
RANGE glu
POINTER stimulus_flag
}
ASSIGNED {
glu
stimulus_flag
}
BREAKPOINT {
if (stimulus_flag == 1) {
glu = 0
}
}
INITIAL {
... |
e492c6eb2989440a01eb5a3946f1ad7f46205b40749e8134b8e8c2005882b7cd | NEURON | 407 | 18 | // Sets ip3i to soma and dendrites.
proc advance() { local i
fadvance()
if ((t > TimeDelayCaWave) && (t < TimeDelayCaWave+15000)) {
for i = 1, OriginalDendrite {
dendrite[i].ip3i = InitIp3
}
soma[0].ip3i = InitIp3
} else {
for i = 1, OriginalDendrite {
// ... |
04b1e115b7e0753f561d34a269db0ad37717001c7479d519870ce30c43faaea6 | NEURON | 425 | 25 | NEURON {
THREADSAFE
SUFFIX reporterCa
USEION ca READ cai
}
PARAMETER {
periodCa = 100 (ms) : Interval between reports
}
ASSIGNED {
cai (mM)
}
BREAKPOINT {
VERBATIM
static double lastReportTime;
if (fmod(t, periodCa) == 0 && t > lastReportTime)
{
... |
089cbb077158d4ff70c5a4f0bdcca1daccff05ffdd1e357c4dcd4fd6b5252bae | NEURON | 429 | 16 | module git.sr.ht/~vejnar/GeneAbacus
go 1.19
//replace git.sr.ht/~vejnar/GeneAbacus => ./GeneAbacus
require (
github.com/biogo/hts v1.4.4
github.com/biogo/store v0.0.0-20201120204734-aad293a2328f
github.com/klauspost/compress v1.15.11
github.com/pierrec/lz4 v2.6.1+incompatible
golang.org/x/sync v0.0.0-2022092320... |
7a599a058663032f609a052ebb4844ea48caa56378dc9ae027445412ecc8a60e | NEURON | 476 | 35 | :NMODL for Sinusoid IClamp:
:Sinusoid current clamp
NEURON{
POINT_PROCESS IClampSin
RANGE del, dur, amp, freq, phase, bias
ELECTRODE_CURRENT i
}
UNITS {
(nA) = (nanoamp)
}
PARAMETER {
del=100000 (ms)
dur=0 (ms)
amp=0 (nA)
freq=1 (Hz)
phase=0 (rad)
bias=0 (nA)
PI=3.14159265358979323846
}
ASSIGNED ... |
93d3082cf59c5ba4202e905955c2bcb88d7d883489fdf518e7d9472e76c6959c | NEURON | 505 | 33 | NEURON {
THREADSAFE
SUFFIX IP3Time
USEION ip3 READ ip3i WRITE ip3i VALENCE 1
}
PARAMETER {
: period = 100 (ms) : Interval between reports
TDelay = 500 (ms)
DurationIP3i = 1000 (ms)
ip3io = 0.01 (mM)
BasicIP3 = 0.0001 (mM)
}
ASSIGNED {
ip3i (mM)
}
INITIAL {
ip3i=0.000001 (mM)
}
... |
5499abf7b37a59d6a98f85ddf1a086eebcce35dc3e44f5959027bb3fc54c1e6b | NEURON | 511 | 23 | INITDUR = 100 // # ms to reach steady state
DTSTEP = 0.1
proc init() { local temp
//print "Using Custom Init"
finitialize(v_init)
t = -2*INITDUR // jump to a time "before" 0
temp = cvode.active()
if (temp != 0) { // if cvode is on, turn it off
cvode.active(0)
dt = DTSTEP
}
while (t < -INITDUR) {
... |
89dfe96e7ede8de9fa7ee0bb4aec6177dd76215ff82f4968b0b6e7986b51dcdf | NEURON | 530 | 28 | NEURON {
THREADSAFE
SUFFIX reporter
USEION ca READ cai
USEION ip3 READ ip3i VALENCE 1
}
PARAMETER {
period = 100 (ms) : Interval between reports
}
ASSIGNED {
cai (mM)
ip3i (mM)
}
BREAKPOINT {
VERBATIM
static double lastReportTime;
if (fmod(t, period) == 0 && t > lastRepo... |
2ecc614d0240e16ef197219ca39f740231341e27194dbdbe1bdbdc1fb2c9822d | NEURON | 560 | 32 | objref soma
soma = new SectionList()
objref axon
axon = new SectionList()
objref dendrite
dendrite = new SectionList()
create sections[3]
access sections[0]
soma.append()
sections[0] {
pt3dadd(0., 0., 0., 25.)
pt3dadd(0., 25., 0., 25.)
}
access sections[1]
dendrite.append()
connect sections[1](0), sections[0]... |
11b628758a25d55626ac357ff8024931ba4435694cd9a2996006ba176096d6fc | NEURON | 565 | 25 | proc printtopology() {
pc.barrier()
print "##############################"
pc.barrier()
for i = 0, pc.nhost - 1 {
if (pc.id == i) {
print "----- Process ", i, " -----"
print "Section infos:"
forall {
// print secname()
... |
b2935f7bfd89c685d450ce3e3d73cd5f29f76387a855d6351f2dfbc6d3d944ed | NEURON | 647 | 32 | NEURON {
SUFFIX capump
USEION ca READ cai WRITE ica
RANGE vmax, kmp, ica
}
UNITS {
(uM) = (micro/liter)
(mM) = (milli/liter)
(mA) = (milliamp)
}
PARAMETER {
vmax = .0667 (mA/cm2) <0, 1e6>: at 6.3 deg, Q10 = 3
kmp = .2 (uM) <0, 1e6>
}
AS... |
4778511bd23fad32e650fc4b01feff1549e69adef02a6b9ea6173ceffe5b4612 | NEURON | 652 | 56 | : Ih current
: Created 8/6/02 - nwg
NEURON {
THREADSAFE
SUFFIX hpkj
NONSPECIFIC_CURRENT i
RANGE gbar, gh, eh
GLOBAL ninf, ntau
}
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(S) = (siemens)
}
PARAMETER {
v (mV)
gbar = .0001 (S/cm2)
eh = -30 (mV)
}
ASSIGNED {
gh (mho/cm2)
i (mA/cm2)
ninf
nt... |
f2b5b0c19f0565bf4c36568e2e1d0a2b1b82fa2a5e3f3eacaeafab36fa2322b1 | NEURON | 667 | 23 | load_file("nrngui.hoc")
load_file("pointgrp.hoc")
// Show point process group manager with SEClamp params
objref pointProcessWindow
pointProcessWindow = new PointProcessGroupManager(0)
object_push(pointProcessWindow)
{
ms = new MechanismStandard("SEClamp")
ms.set("rs", 1, 0)
ms.set("dur1", 100000, 0)
m... |
cbac31f8df33c8ffe0ca5efdb02767eb037ac9b2a2ee90ac854537cd4b057a27 | NEURON | 728 | 19 | // 3D modification of Astro geometry reconstructed from real astrocyte
// File was added at 2 Apr 2018
proc stretchXY() { local i, j, scaleNew
scaleLengthXY=$1
scaleLengthZ=$2
shiftToZero=$3
soma[0] {
for j = 0, n3d()-1 {
pt3dchange(j, (x3d(j)-shiftToZero)/scaleLengthXY, (y3d(j)-s... |
c873b528389786a9c3ec98ecfe812f162f4b9b98aa4d58c9d57b9431d356b359 | NEURON | 751 | 50 | : Ca diffusion in a Purkinje cell
: Created 8/15/02 - nwg
NEURON {
SUFFIX cadiff
USEION ca READ ica, cai WRITE cai
RANGE ca
GLOBAL depth, beta
}
UNITS {
(mV) = (millivolt)
(mA) = (milliamp)
(mM) = (milli/liter)
(um) = (micron)
}
CONSTANT {
F = 9.6485e4 (coul)... |
e5056e02b63d4adfc9f2336c44e71bc20e788e0627665e13122ede1055db9688 | NEURON | 762 | 48 | TITLE inward rectifier potassium (Kir4) channel
COMMENT
This is kinetics of Kir4.1 channels
ENDCOMMENT
NEURON {
SUFFIX kir4
USEION k READ ko, ek WRITE ik
RANGE ik, gkir, NormK
}
UNITS {
(molar) = (1/liter)
(mA) = (milliamp)
(mV) = (millivolt)
(mS) = (millisiemens)
(mM) = (m... |
f058e0959a0e4e0c479f9dd1296b121c12835e1c3be2876000a79e4fa3c5b5a0 | NEURON | 764 | 1 | TITLE Kv7-current
COMMENT
Model reproducing cortical M currents, M.H.P. Kole
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(pS) = (picosiemens)
(um) = (micron)
}
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
PARAMETER {
dt (ms)
v (mV)
vhalf = -48 (mV)
gbar = 20 (pS/um2) :0.002 mho/cm2
}
... |
bc173f11b39b65735572a3a1d1c74d9f5d50ea1970616a5d14cd298c2015bc31 | NEURON | 784 | 19 | /*Astrocyte model - Simulation scripts to compute Astrocyte dynamics from cable compartmental models implemented in NEURON simulation environment.
Astrocyte works reliably on a biophysically detailed multi-compartmental 3D structure with ion channels in some or all compartments.
Last updated 07-June-2017
Developed by... |
0f6841fd9ab10c38f3898991fa5070904b63c3ddfb8219ceb5eb7d2851ecc4c5 | NEURON | 807 | 48 | COMMENT
iStim
This is a point current injection (like an electrode).
Positive values of the amplitude depolarize the cell
and in the presence of the extracellular mechanism there will be a change
in vext since i is not a transmembrane current but a current injected
directly to the inside of the cell.
This is meant to... |
4aa5678dbae1734805c36acb55b7e915c8da33dacf366678e4bbdea6224b4ac5 | NEURON | 814 | 28 | module git.sr.ht/~vejnar/ReadKnead
go 1.24.0
toolchain go1.24.1
// replace git.sr.ht/~vejnar/ReadKnead => ./ReadKnead
// replace git.sr.ht/~vejnar/bktrim => ../bktrim
require (
git.sr.ht/~vejnar/bktrim v0.1.1
github.com/buger/jsonparser v1.1.1
github.com/vejnar/nwalgo v0.1.0
golang.org/x/sync v0.19.0
gonum.org... |
c69158c219f544172b4ee41741a397eb0794d894b912f7ea0b273f2b5c4d6920 | NEURON | 814 | 51 | : this model is built-in to neuron with suffix gaba
: Schaefer et al. 2003
COMMENT
modified from epsp Hay et al (2006)
ENDCOMMENT
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
NEURON {
POINT_PROCESS gaba
RANGE onset, tau, gmax, Erev, i
NONSPECIFIC_CURRENT i
}
UNITS {
(nA) = (nanoamp)
(mV) = (millivol... |
95a5f063a5c42d99ea10620b4512e4461319ba1c7faa2250bf6a983743ff827d | NEURON | 860 | 63 | : HH Slow TEA-insensitive Purkinje potassium current
: Created 8/7/02 - nwg
NEURON {
THREADSAFE
SUFFIX kpkjslow
USEION k READ ek WRITE ik
RANGE gbar, ik, gk
GLOBAL ninf, ntau
}
UNITS {
(mV) = (millivolt)
(mA) = (milliamp)
}
PARAMETER {
v (mV)
gbar = 0.004 (mho/cm2)
nivh = -16.5 (mV)
nik = 18.4 (mV)
... |
5fdb7e5150fc2050fc59e01e46fcb0d4bece79fedbc8d683ff5105fb0ee237c1 | NEURON | 864 | 50 | TITLE Calcium dynamics for NMDA calcium pool
NEURON {
SUFFIX ncx
USEION ca_nmda READ ica_nmda, ca_nmdai WRITE ca_nmdai VALENCE 2
RANGE cainf, taur, kt, kd, drive
}
UNITS {
(molar) = (1/liter)
(mM) = (millimolar)
(um) = (micron)
(mA) = (milliamp)
(msM) = (ms mM)
FARADAY = (faraday)... |
16474a1e9e4489ba29e9fc4576aab2ea58f6585f187e48fc12be969149d067de | NEURON | 953 | 1 | TITLE Ih-current
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(mM) = (milli/liter)
}
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
PARAMETER {
dt (ms)
v (mV)
eh = -47 (mV) :ih-reversal potential by Berger
gbar = 0.00015 (mho/cm2) :density on dendrite assuming 150pA current and 150mV driving force... |
3446f6cd19412b10ccd13e96f7fd54df14b7d3a5036b5af78b8921553e24c6a8 | NEURON | 956 | 67 | : HH Low TEA-sensitive Purkinje potassium current
: Created 8/7/02 - nwg
NEURON {
THREADSAFE
SUFFIX kpkj2
USEION k READ ek WRITE ik
RANGE gbar, ik, gk
GLOBAL ninf, ntau
}
UNITS {
(mV) = (millivolt)
(mA) = (milliamp)
}
PARAMETER {
v (mV)
gbar = .002 (mho/cm2)
nivh = -24 (mV)
nik = 20.4 (mV)
ek (mV... |
a4bbe7a807024baa7d19c63add12d518d2e2f6c1cd31fa88a4d7bf4814d3c724 | NEURON | 962 | 72 | : Vector stream of events
: From NEURON source: nrn/examples/nrniv/netcon/vecevent.mod
NEURON {
ARTIFICIAL_CELL VecStim
}
ASSIGNED {
index
etime (ms)
space
}
INITIAL {
index = 0
element()
if (index > 0) {
net_send(etime - t, 1)
}
}
NET_RECEIVE (w) {
if (flag == 1) {
net_event(t)
element()
if ... |
246abb1a06371e45f8ebf461c6083db19c4381940b615ffd6539125386a00fb3 | NEURON | 1,055 | 33 | // Writes statistics to the file.
proc advance() {
fadvance()
// Update plot view
graphDendrites.exec_menu("View = plot")
fileCalciumTime.printf("%-6.5g\t%-6.5g\t%-6.5g\n", t, dendrite[ActiveDendrite1].cai(0.5), dendrite[ActiveDendrite2].cai(0.5))
// these data are necessary for calculating Fig.... |
ef7ace21e5dfeb68938318c0a3528237a80c73c27214c9989a79346b4d7d378d | NEURON | 1,184 | 59 | TITLE Calcium dynamics for NMDA calcium pool
NEURON {
SUFFIX cadyn_nmda
USEION ca_nmda READ ica_nmda, ca_nmdai WRITE ca_nmdai VALENCE 2
RANGE pump, cainf, taur, drive, kt, kd, kb, depth
}
UNITS {
(molar) = (1/liter)
(mM) = (millimolar)
(um) = (micron)
(mA) = (milliamp)
(msM) = (ms mM)... |
fbe4362fea9a8e5bb8822077c097bd483ec119cb7b81df360e929f8c9b036d22 | NEURON | 1,202 | 69 | TITLE SK-type calcium activated K channel
UNITS {
(molar) = (1/liter)
(mV) = (millivolt)
(mA) = (milliamp)
(mM) = (millimolar)
}
NEURON {
SUFFIX sk
USEION ca_nmda READ ca_nmdai VALENCE 2
USEION k READ ek WRITE ik
RANGE gbar, ik
}
PARAMETER {
gbar = 0.0 (mho/cm2)
q = 1
}
ASSIG... |
a32908e27dc32a93ebc2cc3cc5a6f73521d2339530fe84536c77c18db663da73 | NEURON | 1,213 | 88 | TITLE nappyr.mod Persistent sodium conductance
COMMENT
Persistent sodium current from Ceballos et al. 2016
Pulled from their file: fuscurr.mod
ENDCOMMENT
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
}
NEURON {
THREADSAFE
SUFFIX nappyr
USEION na READ ena WRITE ina
RANGE nap_inf, nap... |
23cfcea4810ce3693d9e00ac8607ef9190a1fb9220dacca807d52f85064cb56c | NEURON | 1,261 | 73 |
//Geometry of EndFoot
create EndFoot[4]
connect soma[0](1), EndFoot[0](0)
//connect EndFoot[0](1), EndFoot[1](0)
//connect EndFoot[0](1), EndFoot[2](0)
{EndFoot[0] connect EndFoot[1](0), 1}
{EndFoot[0] connect EndFoot[2](0), 1}
{EndFoot[0] connect EndFoot[3](0), 1}
//connect EndFoot[1](1), EndFoot[3](0)
//c... |
35329bea75d3f465a01db8e3fe7600da4f97b729db2652d2f0bce5b99e4df27a | NEURON | 1,262 | 58 | COMMENT
Uses electroneutral, exponentially decaying IP3 source
to emulate effect of activating bradykinin receptors on IP3.
Equivalent to approach used by Fink et al. 2000
to represent bradykinin action.
ENDCOMMENT
NEURON {
SUFFIX bkr
USEION ip3 WRITE iip3 VALENCE 1
NONSPECIFIC_CURRENT ix
RANGE jbar, beta, j... |
a9b746e1a8f73fe757ad97c3b9d394c4c29815a2579bfe3d2d047ba789ab334f | NEURON | 1,271 | 81 | TITLE Fast A-type potassium current (Kv4.2)
NEURON {
THREADSAFE
SUFFIX kaf
USEION k READ ek WRITE ik
RANGE gbar, gk, ik
}
UNITS {
(S) = (siemens)
(mV) = (millivolt)
(mA) = (milliamp)
}
PARAMETER {
gbar = 0.0 (S/cm2)
q = 2
}
ASSIGNED {
v (mV)
ek (mV)
ik (mA/cm2)
... |
c72c23f9bbb75acee5ba2c610577cc0b948fe429b6900f985a6bbff2c18e6bec | NEURON | 1,295 | 78 | NEURON {
POINT_PROCESS GapCaSt
NONSPECIFIC_CURRENT icagap
USEION ca READ cai WRITE ica
RANGE r, icagap, ica, tau1, tau2, ECa, period, amplit
}
UNITS {
(molar) = (1/liter)
(mM) = (millimolar)
(um) = (micron)
(mA) = (milliamp)
FARADAY = (faraday) (10000 coulomb)
PI = (pi) (1)
(uS) = (microsiemens)
}
PA... |
c716d87d1a7e77ffd37577d7647588ac6884d51363d7f8f9b566cc46703c3f54 | NEURON | 1,298 | 59 | TITLE Calcium dynamics for L and T calcium pool
NEURON {
SUFFIX caldyn
USEION cal READ ical, cali WRITE cali VALENCE 2
RANGE pump, cainf, taur, drive, depth
}
UNITS {
(molar) = (1/liter)
(mM) = (millimolar)
(um) = (micron)
(mA) = (milliamp)
(msM) = (ms mM)
FARADAY = (faraday) (cou... |
02ffb2ad0e7700cdf7850e032f971159f85b7dab24b9c99b5fee8f24a6f67ab8 | NEURON | 1,316 | 65 | TITLE Gly synapse
COMMENT
MODIFIED to be a faster GLY synapse, taken from GABA synapse
Paul B. Manis - 7 Feb 2000
simple alpha-synapse that generates a single PSP
*********************************************
reference: McCormick, Wang & Huguenard (1993)
Cerebral Cortex 3(5), 387-398
... |
8f5e0372ccacc65bba14386c1742287bb09b58b5df1a657a3ee6affae7350f96 | NEURON | 1,324 | 71 | NEURON {
SUFFIX capmp
USEION ca READ cao, ica, cai WRITE cai, ica
RANGE tau, width, cabulk, ica, pump0
}
UNITS {
(um) = (micron)
(molar) = (1/liter)
(mM) = (millimolar)
(uM) = (micromolar)
(mA) = (milliamp)
(mol) = (1)
FARADAY = (faraday) (coulomb)
}
PARAMETER {
width = 0.1 (um)
tau = 1 (ms)
k1 = 5e8 ... |
7c71dbbcacfb16a5acc82f9ba0842a3c7f647a9818789df19e0ff87b6de5375b | NEURON | 1,381 | 79 | TITLE KCNQ potassium channel for GPe neuron
COMMENT
modeled by Gunay et al., 2008
implemented in NEURON by Kitano, 2011
Threadsafe and unit checking, P.B. Manis, 2014
It is unclear what temperature this is based on.
The original paper cites an older paper from an expression
system, recordings at 22C.
The model has b... |
38ebd77bd09893b412fb452dd3d78b15758756c546286530ec001d6b42c84786 | NEURON | 1,420 | 45 | // Switches between bleaching/recovery and writes concentration to file.
proc advance() { local i, cylinderVolume, FraRec, FraBasic, recoveryBleaching
fadvance()
FraRec = 0
FraBasic = 0
if (t % (iterationTime*2) == iterationTime) {
// Recovery just started
recoveryBleaching = 1
} e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.