A computational model of oxytocin modulation of olfactory recognition memory (Linster & Kelsch 2019)

 Download zip file 
Help downloading and running models
Accession:257940
Model of olfactory bulb (OB) and anterior olfactory nucleus (AON) pyramidal cells. Includes olfactory sensory neurons, mitral cells, periglomerular, external tufted and granule interneurons and pyramidal cells. Can be built to include a feedback loop between OB and AON. Output consists of voltage and spikes over time in all neurons. Model can be stimulated with simulated odorants. The code submitted here has served for a number of modeling explorations of olfactory bulb and cortex. The model architecture is defined in "bulb.dat" with synapses defined in "channels.dat". The main function to run the model can be found in "neuron.c". Model architecture is constructed in "set.c" from types defined in "sim.c". A make file to create an executable is located in "neuron.mak".
Reference:
1 . Linster C, Kelsch W (2019) A computational model of oxytocin modulation of olfactory recognition memory. eNeuro [PubMed]
Model Information (Click on a link to find other models with that property)
Model Type: Realistic Network;
Brain Region(s)/Organism: Olfactory bulb;
Cell Type(s): Olfactory bulb main mitral GLU cell; Olfactory bulb main interneuron periglomerular GABA cell; Olfactory bulb main interneuron granule MC GABA cell; Olfactory bulb main interneuron granule TC GABA cell; Olfactory bulb main tufted cell external;
Channel(s):
Gap Junctions:
Receptor(s):
Gene(s):
Transmitter(s):
Simulation Environment: C or C++ program;
Model Concept(s):
Implementer(s): Linster, Christiane [cl243 at cornell.edu];
Search NeuronDB for information about:  Olfactory bulb main mitral GLU cell; Olfactory bulb main interneuron periglomerular GABA cell; Olfactory bulb main interneuron granule MC GABA cell; Olfactory bulb main interneuron granule TC GABA cell;
#include "cell.init"
void INIT_GRAPHICS ()
{
  if ((DISPLAY = XOpenDisplay (NULL)) == NULL)
      {
      printf (" error in open display\n");
      exit (0);
      }
  CONTEXT = DefaultGCOfScreen (DefaultScreenOfDisplay (DISPLAY));
 /*COULEURS ();*/
printf (" end of init graphics \n");
}


Window OPEN_WINDOW (x0, y0, width, height, backg)
int x0, y0; 
int width, height;
int backg;
{
Window window;
int black, white;

	black = BlackPixelOfScreen (DefaultScreenOfDisplay (DISPLAY));
	white = WhitePixelOfScreen (DefaultScreenOfDisplay (DISPLAY));
  	if (backg == blanc)
	  window = XCreateSimpleWindow (DISPLAY, 
      	      	      	      	 	DefaultRootWindow (DISPLAY),
      	      	      	      	  	x0, y0, width, height, 1,
      	      	      	      	  	black, white
      	      	      	      	  	);
  	if (backg == noir)
	  window = XCreateSimpleWindow (DISPLAY, 
      	      	      	      	 	DefaultRootWindow (DISPLAY),
      	      	      	      	  	x0, y0, width, height, 1,
      	      	      	      	  	white, black
      	      	      	      	  	);

	XSelectInput (DISPLAY, window, ExposureMask|ButtonPressMask|KeyPressMask);

	XMapWindow (DISPLAY, window);
/*        XSetWindowColormap (DISPLAY, window, DefaultColormap (DISPLAY, DefaultScreen (DISPLAY)));
*/
  return (window);

}


void DESTROY_WINDOW (window)
Window window;
{
  XDestroyWindow (DISPLAY, window);
}


EVENT GET_EVENT ()

{
EVENT one;
char buf[30];
KeySym keys;
XEvent event;
      XNextEvent (DISPLAY, &event);
	if (event.type == ButtonPress)
		{
  		one.flag = mouse;
		one.button = event.xbutton.button;
		one.xpos = event.xbutton.x;
		one.ypos = event.xbutton.y;
		}	
	if (event.type == KeyPress)
		{
		one.flag = key;
		XLookupString (&event.xkey, buf, 10, &keys, NULL);
		one.key = XKeysymToString (keys);
		one.xpos = event.xkey.x;
		one.ypos = event.xkey.y;
		}
      	if (event.type == Expose)
      	  one.flag == expose;
	return (one);
}
	


void LINE (x1, y1, x2, y2)
int x1, y1, x2, y2;
{
  	XDrawLine (DISPLAY, CURRENTW, CONTEXT, x1, y1, x2, y2);
}

void CHOOSE_WINDOW (window)
Window window;
{
  	CURRENTW = window;
  	XRaiseWindow (DISPLAY, CURRENTW);
}

void TEXT (text, x, y)
char *text;
int   x, y;
{
  	XDrawString (DISPLAY, CURRENTW, CONTEXT, x, y, text, strlen (text));
}


void CLEAR ()
{
  	XClearWindow (DISPLAY, CURRENTW);
}

void CIRCLE (x, y, radius)
int x, y, radius;
{
  	XDrawArc (DISPLAY, CURRENTW, CONTEXT, x-radius, y-radius, radius, radius, 0, 360*64);
}


void FILLED_CIRCLE (x, y, radius)
int x, y, radius;
{
  	XFillArc (DISPLAY, CURRENTW, CONTEXT, x-radius, y-radius, radius, radius, 0, 360*64);
}

void BOX (x1, y1, x2, y2)
int   x1, y1, x2, y2;
{
  XDrawRectangle (DISPLAY, CURRENTW, CONTEXT, x1, y2, abs (x1 - x2), abs (y1 - y2));
}

void FILLED_BOX (x1, y1, x2, y2)
int x1, y1, x2, y2;
{
  XFillRectangle (DISPLAY, CURRENTW, CONTEXT, x1, y2, abs (x1-x2), abs (y1 - y2));
}



void TRIANGLE (x1, y1, x2, y2, x3, y3)
int x1, y1, x2, y2, x3, y3;
{
XPoint points[4];
  points[0].x = x1; 
  points[0].y = y1;
  points[1].x = x2; 
  points[1].y = y2; 
  points[2].x = x3;
  points[2].y = y3;
  points[3].x = x1;
  points[3].y = y1;
  XDrawLines (DISPLAY, CURRENTW, CONTEXT, points, 4, CoordModeOrigin);
}

void FILLED_TRIANGLE (x1, y1, x2, y2, x3, y3)
int x1, y1, x2, y2, x3, y3;
{
XPoint points[4];
  points[0].x = x1; 
  points[0].y = y1;
  points[1].x = x2; 
  points[1].y = y2; 
  points[2].x = x3;
  points[2].y = y3;
  points[3].x = x1;
  points[3].y = y1;
  XFillPolygon  (DISPLAY, CURRENTW, CONTEXT, points, 4, Nonconvex, CoordModeOrigin);
 
}

void INVERT ()
{
  XSetState (DISPLAY, CONTEXT, 0, 1, GXcopy, AllPlanes);
}

void SETBACK ()
{
  XSetState (DISPLAY, CONTEXT, 1, 0, GXcopy, AllPlanes);
}




void DRAW_POINT (x, y)
int x, y;
{
  XDrawPoint (DISPLAY, CURRENTW, CONTEXT, x, y);
}

Loading data, please wait...