usnistgov / mosaic

A modular single-molecule analysis interface
https://pages.nist.gov/mosaic/
Other
38 stars 17 forks source link

Timeseries EventPadding Noise is cut off after the event #93

Closed Silberbaer closed 7 years ago

Silberbaer commented 7 years ago

When plotting timeseries for correctly fitted events the baseline padding after the event shows lower noise than before the event. Is not affected by value of event padding and cannot be seen in the raw data.

image image

abalijepalli commented 7 years ago

The post event pad is filtered to remove adjacent events that may throw off the fit. The mean of the baseline current remains unchanged.

Silberbaer commented 7 years ago

Is there a way to have that removed from the timeseries output and instead plot the real raw trace of the event?

abalijepalli commented 7 years ago

The post event padding is filtered on line 181 in partition/eventSegment.py. You could turn off the filtering there. However, it would be better to expose that functionality as a switch through the settings.