vandermeerlab / HD-system-brainstem

Code for analyzing data from recordings in mouse brainstem head direction circuit.
0 stars 0 forks source link

option for processPupilData2() to suppress plotting #4

Open mvdm opened 2 years ago

mvdm commented 2 years ago

I'm batch processing different sessions and it would be nice to not have this function spit out plots for each one.

There could be an optional input config option, something like cfg_in.plot = 0;

mvdm commented 2 years ago

Ah I see you have a varargin for that -- would be good to merge that into the cfg_in mechanism.

stottbot commented 2 years ago

I think this is already in there. See cfg_def.doPlotThresholds (line 29). Varargin was probably an old version.