You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Excellent work! I am trying to use this method to study the learning process of echolocating bats on a two-choice platform. I ran the Tutorial.ipynb, but it's stuck at the lack of example data in "Data preparation". Would you mind uploading the data? Or where else can I find it?
Thank you!
Best,
Chen
The text was updated successfully, but these errors were encountered:
@gomingchen I don't think he'll be able to upload the data itself since it comes from patients. If you want to mimic it with random numbers so the rest of the code will run, it would look like this:
trial_lengths= [6047, 5053, 6500] # the first three trial lengths in samples# Y is a list of length num_trials, each containing the responses by all electrodes (time * electrode)channels=220Y= [torch.from_numpy(np.random.rand(L, channels)) forLintrial_lengths]
# X should be a list of the same length as Y containing the spectrogram (time * frequency) for each trial's stimulusfreq_bins=64X= [torch.from_numpy(np.random.rand(L, freq_bins)) forLintrial_lengths]
On Wed, May 25, 2022 at 2:09 AM Gavin Mischler ***@***.***> wrote:
@gomingchen <https://github.com/gomingchen> I don't think he'll be able
to upload the data itself since it comes from patients. If you want to
mimic it with random numbers so the rest of the code will run, it would
look like this:
trial_lengths = [6047, 5053, 6500] # the first three trial lengths in samples# Y is a list of length num_trials, each containing the responses by all electrodes (time * electrode)channels = 220Y = [np.random.rand(L, channels) for L in trial_lengths]# X should be a list of the same length as Y containing the spectrogram (time * frequency) for each trial's stimulusfreq_bins = 64X = [np.random.rand(L, freq_bins) for L in trial_lengths]
—
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANJN3QTYOAFMWRTAUDIBNSDVLW7ZNANCNFSM5OY4EURA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
Hi there,
Excellent work! I am trying to use this method to study the learning process of echolocating bats on a two-choice platform. I ran the Tutorial.ipynb, but it's stuck at the lack of example data in "Data preparation". Would you mind uploading the data? Or where else can I find it?
Thank you!
Best,
Chen
The text was updated successfully, but these errors were encountered: