public void AddStimulus(WaveEvent.EventType t, int x, int y, float freq, float magnitude) { int pos = x + y * mGridW; var ev = new WaveEvent(t, mSc, pos, freq, magnitude, mΔt); mWaveEventList.Add(ev); }
public void AddStimulus(WaveEvent.EventType t, int x, float freq, float magnitude) { var ev = new WaveEvent(t, mSc, x, freq, magnitude, mΔt); mWaveEventList.Add(ev); }