editing xvspace, merging bandpass_filter and get_spectrum