Skip to content

Can I generate the recording without spike trains, only noise? #157

@ZoeChen96

Description

@ZoeChen96

Hello there,
I want to generate noise only signal because I want to mix with neurons with a given range of amplitude as I described in this link.

I tried but MEArec gives me an error:

generating recording for noise 20  spiking rate 0  neuron number 0 duration 600
Traceback (most recent call last):
  File "/imec/other/macaw/projectdata/mearec_datasets/detection_datasets/noise_only.py", line 83, in <module>
    mr.save_recording_generator(recgen, dir_full_recordings)
  File "/imec/other/macaw/chen14/gitrepository/MEArec/MEArec/tools.py", line 571, in save_recording_generator
    save_recording_to_file(recgen, f)
  File "/imec/other/macaw/chen14/gitrepository/MEArec/MEArec/tools.py", line 607, in save_recording_to_file
    if len(recgen.original_templates) > 0:
           ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'RecordingGenerator' object has no attribute 'original_templates

Is that possible to solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions