gjheij/linescanning

melodic axis of power spectra

Closed this issue · 1 comments

can you change the limit of the x-axis in the power spectra here: /data1/projects/MicroFunc/Luisa/programs/linescanning/linescanning/preproc.py to

            # get frequency/power
            freq = get_freq(tc, TR=self.TR, spectrum_type="fft")

            plotting.LazyPlot(
                freq[1],
                xx=freq[0],
                color=color,
                x_label="frequency (Hz)",
                y_label="power (a.u.)",
                title="power spectra",
                axs=ax_freq,
                line_width=2,
                x_lim=[0,1/(2*self.TR)],
                **kwargs)

So that we actually have the maximum frequency available
Thanks :)

Done. git pull + restart kernel should do the job