inputtrain.h

来自「此代码经过大量使用」· C头文件 代码 · 共 50 行

H
50
字号
/***************************************************************************                          inputtrain.h  -  description                             -------------------    copyright            : (C) 2000 by Matt Grover    email                : mgrover@amygdala.org ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef INPUTTRAIN_H#define INPUTTRAIN_H/**  *@author Matt Grover  */class InputTrain {public:	InputTrain(unsigned int step, float timeConst);	~InputTrain();		void GenTrain();protected:	unsigned int stepSize;	// step size in microseconds	unsigned int plotMin;	// begining of plot (usually 0) in microseconds	unsigned int plotMax;	unsigned int plotSize;	int time;		// microseconds	int refractory;	int lastSpike;  // microseconds	float lastV;	// milivolts	float currV;	// milivolts	float lastSlope;	float currSlope;	float tau;		void inline Excite();};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?