Allow unfiltered wvf_extractor in export_to_phy
* Allow unfiltered wvf_extractor in export_to_phy
Allow export_to_phy to export an unfiltered wvf_extractor if it has
the 'allow_unfiltered' attribute set to True.
* Removed warning altogether
@@ -84,10 +84,6 @@ def export_to_phy(waveform_extractor, output_folder, compute_pc_features=True,
if empty_flag:
warnings.warn('Empty units have been removed when being exported to Phy')
- if not waveform_extractor.is_filtered():
- warnings.warn("Recording is not filtered! It's recommended to filter the recording before exporting to phy.\n"
- "You can run spikeinterface.preprocessing.bandpass_filter(recording)")
-
if len(unit_ids) == 0:
raise Exception("No non-empty units in the sorting result, can't save to Phy.")
