Skip to content

Smoothing of dF/F traces for prediction #53

Closed
@aloejhb

Description

@aloejhb

Hi Peter,
thanks for creating this nice tool.
I have a question regarding whether I need to smooth my dF/F traces, before I use them as input to the model for spike inference.
In the README.md, it mentions that the ground-truth traces was slightly smoothed for training the model. Then, for example, if I wanted to use the model Global_EXC_7.5Hz_smoothing200ms, to predict spike prob from my own dF/F traces, do I need to run

smoothed_traces = gaussian_filter(dF_traces, sigma=0.2*7.5)

before I run

spike_prob = cascade.predict( 'Global_EXC_7.5Hz_smoothing200ms', smoothed_traces )

?

Best wishes,
Bo

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions