jdammers / jumeg

MEG Data Analysis at FZJ
BSD 3-Clause "New" or "Revised" License
10 stars 26 forks source link

band_pass_filter - soon to be deprecated #133

Closed pravsripad closed 6 years ago

pravsripad commented 7 years ago

DeprecationWarning: Function band_pass_filter is deprecated; band_pass_filter is deprecated and will be removed in 0.15, use filter_data instead.

@fboers did you suggest the use of jumeg window sinc filter or the jumeg_mne_filter classes?

@jdammers @ebeich

fboers commented 7 years ago

helau

I would use butterwort from jumeg instead of mne beaucse mne is changing some times and some how it is not clear to me if mne has linear phase but may we should write or own FIR windowed-filter function the mne FIR window filter function is a very strong filter (psd plot)

===> make a butter bp1-45 Hz with dc offset correction and notches at 50,100,150,200 Hz

from jumeg.filter import jumeg_filter

fi_bw_bp = jumeg_filter( filter_method="bw",filter_type=ftype,fcut1=fcut1,fcut2=fcut2,remove_dcoffset=True,sampling_frequency=srate,notch=notch)

fi_bw_bp.apply_filter()

Am 23.02.2017 um 11:02 schrieb Praveen Sripad:

DeprecationWarning: Function band_pass_filter is deprecated; band_pass_filter is deprecated and will be removed in 0.15, use filter_data instead.

@fboershttps://github.com/fboers did you suggest the use of jumeg window sinc filter or the jumeg_mne_filter classes?

@jdammershttps://github.com/jdammers @ebeichhttps://github.com/ebeich

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/jdammers/jumeg/issues/133, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGy3qKSeZU9FVm164x9JlryYNZr3-5_bks5rfVlNgaJpZM4MJxCO.

-- Frank Boers Institute of Neuroscience and Medicine - 4 Medical Imaging Physics Forschungszentrum Juelich GmbH 52425 Juelich phone: +49 - (0)2461-61-6005 fax : +49 - (0)2461-61-2820 email: f.boers@fz-juelich.demailto:f.boers@fz-juelich.de http://www.fz-juelich.de/inm/inm-4/DE/Forschung/MEG-Physik/_node.html



Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt


pravsripad commented 7 years ago

@fboers Okay, so if the Jumeg filter is used, does it not still use mne.filter.band_pass_filter from mne? Will that have to be changed as well?

As in, the JuMEG_Filter_MNE class.

fboers commented 7 years ago

Hi again,

no you can choose bw/ws/mne(FIR) the will be the best at this time

ws is obsolete

see you next week Frank

Am 23.02.2017 um 11:41 schrieb Praveen Sripad:

@fboershttps://github.com/fboers Okay, so if the Jumeg filter is used, does it not still use mne.filter.band_pass_filter from mne? Will that have to be changed as well?

As in, the JuMEG_Filter_MNE class.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/jdammers/jumeg/issues/133#issuecomment-281957833, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGy3qFNJ0UbIbzzZBWIB9dfiRY6nUiA6ks5rfWJlgaJpZM4MJxCO.

-- Frank Boers Institute of Neuroscience and Medicine - 4 Medical Imaging Physics Forschungszentrum Juelich GmbH 52425 Juelich phone: +49 - (0)2461-61-6005 fax : +49 - (0)2461-61-2820 email: f.boers@fz-juelich.demailto:f.boers@fz-juelich.de http://www.fz-juelich.de/inm/inm-4/DE/Forschung/MEG-Physik/_node.html



Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt


pravsripad commented 6 years ago

Closed with #147.