lecture-python.myst icon indicating copy to clipboard operation
lecture-python.myst copied to clipboard

Issues in Ex 12.2

Open jstac opened this issue 2 years ago • 0 comments
trafficstars

Mismatch between question (a) and solution to question (a) both in phrasing and answer?

jstac avatar Jan 16 '23 21:01 jstac

This is ready for review (but also very simple)! @physiopy/peakdet

smoia avatar Mar 12 '21 16:03 smoia

Previous comment was outdated, that's my bad. LGTM!

62442katieb avatar Mar 15 '21 14:03 62442katieb

Good catch @62442katieb ! You were right - now it's fixed.

Also, since I'm already butchering the poor creature here, what do you, @tsalo, and @physiopy/phys2denoise think about the functions and classes in peakdet.modalities and peakdet.analytics? I'd say that we could remove them from here and add what is missing or makes sense to add to phys2denoise. WDYT?

smoia avatar Mar 15 '21 15:03 smoia

At first glance, I think the code could be very useful in phys2denoise, but we would probably want to convert it to a functional approach to match phys2denoise's style.

tsalo avatar Mar 15 '21 16:03 tsalo

Yes to peakdet.modalities, but the only thing in peakdet.analytics is heart rate variabilty computations. Are those used for denoising? (genuine question, as my knowledge of HR-based denoising has some gaps)

62442katieb avatar Mar 15 '21 17:03 62442katieb

I genuinely don't know. In any case, I'll remove them - they're going to be in history.

smoia avatar Mar 16 '21 22:03 smoia

(No, generally HRV metrics are used in analysis, not processing / denoising. I'd say it's safe to remove them if you're focusing the module on just processing 👍)

rmarkello avatar Mar 17 '21 13:03 rmarkello

Ah, thank you @rmarkello!

smoia avatar Mar 17 '21 15:03 smoia

There probably should be a place within the physiopy umbrella for calculating metrics for analysis rather than denoising, right? Do we have a planned place for things like that?

tsalo avatar Mar 17 '21 15:03 tsalo

If the analysis is MRI related, then phys2denoise would be the place for it (at least for the moment). If it's physiological signals only, probably other libraries would be more indicated (e.g. NeuroKit).

smoia avatar Mar 17 '21 15:03 smoia

Yes, HRV has only been proposed for analysis, not denoising.

CesarCaballeroGaudes avatar Mar 17 '21 16:03 CesarCaballeroGaudes