📄 inputtrain.h
字号:
/*************************************************************************** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -