ldeo-glaciology / xapres

package for processing ApRES data using xarray
MIT License
3 stars 2 forks source link

add bandwidth options #36

Open jkingslake opened 11 months ago

jkingslake commented 11 months ago

Irena's suggest was to have options for the start and stop frequency to use when computing the fft. This could look something like:

import xapres_package as xa
ds = xa.load.generate_xarray(directory='../../data/sample/single_dat_file/', 
             start_freq = [300e6, 400e6], 
             stop_freq = [500e6])

and this would do all the processing twice, once with start_freq = 200e6 and once with start_freq = 400e6. There would then be another dimension in the resulting xarray: start_freq.

If yo ualso provide multiple stop_freq's it could do every combination of start_freq and stop_freq.

cc @glugeorge

jkingslake commented 4 weeks ago

as a starting point though we could just allow start_freq and stop_freq to be adjustable parameters.