Closed pmalonis closed 4 years ago
Sorry the factor for the RNN data is actually between 40 and 45 for the trials I've looked at.
I just noticed that the posterior mean struct contains a field scaleFactorCountsToRates, which corresponds to the reciprocal of the bin size in seconds. In this case that's 100. It seems the difference in scale factor to that that is observed is due to LFADS reconstruction error.
I ran the Lorenz example, and found that the posterior mean rates were off from the true rates by a factor of 1000. This seemed to indicate that the rates were calculated in spikes/ms rather than spikes/s, which isn't a big deal. But then I ran the run manager on the RNN data generated by the code at https://github.com/tensorflow/models/tree/master/research/lfads, and found that the rates were off by a factor of about 33. I'm not sure where this factor comes from. The bin size for this data is 10ms.
Here are the parameters I used in drive_script.m: