fxcor filter options and filter size errors
John wrote on Jul 11, 2007
dear IRAF.net,
i'm using 2.12.2-EXPORT on Ubuntu 5, but 2.13-BETA2 on Ubuntu 7 gives the same results.
rv.fxcor: if i want to specify the filter= option on the command line,
then i get the following error
ERROR: Invalid filter specification.
for whatever valid filter option i give
(filter=both, filter="both", filter=object, filter="object", etc.)
This occurs for small and large spectra.
Furthermore, when in interactive mode i want to go from
xcor mode to fourier mode, or from spectral mode to fourier mode,
by pressing 'f' i get the following error :
ERROR: afftrr: npix not a power of 2
Note that this latter problem only occurs for spectra that have more than 2**15 wavelength bins (merged echelle orders).
is there a solution?
thanks, John
i'm using 2.12.2-EXPORT on Ubuntu 5, but 2.13-BETA2 on Ubuntu 7 gives the same results.
rv.fxcor: if i want to specify the filter= option on the command line,
then i get the following error
ERROR: Invalid filter specification.
for whatever valid filter option i give
(filter=both, filter="both", filter=object, filter="object", etc.)
This occurs for small and large spectra.
Furthermore, when in interactive mode i want to go from
xcor mode to fourier mode, or from spectral mode to fourier mode,
by pressing 'f' i get the following error :
ERROR: afftrr: npix not a power of 2
Note that this latter problem only occurs for spectra that have more than 2**15 wavelength bins (merged echelle orders).
is there a solution?
thanks, John
Mike Fitzpatrick wrote on Jul 11, 2007
rv.fxcor: if i want to specify the filter= option on the command line,
then i get the following error
ERROR: Invalid filter specification.
for whatever valid filter option i give
(filter=both, filter="both", filter=object, filter="object", etc.)
This occurs for small and large spectra.
The 'invalid filter specification' refers to the parameters of the filter itself, e.g. the cuton and cutoff frequency values. not specifically whether filtering is enabled. You can get this message if say the cutoff is less than the cuton, all values are zero, fullon less than cutoff, etc. Check the values in your FILTPARS pset, my guess is they're all zero.
Furthermore, when in interactive mode i want to go from
xcor mode to fourier mode, or from spectral mode to fourier mode,
by pressing 'f' i get the following error :
ERROR: afftrr: npix not a power of 2
Note that this latter problem only occurs for spectra that have more than 2**15 wavelength bins (merged echelle orders).
The system routine used for the FFT calculation had this 2^15 limit increased earlier this year. You can get a patched binary from http://iraf.net/ftp/pub/x_rv.e.RHUX Download in binary mode, rename 'x_rv.e' and put in your $iraf/noao/bin.linux directory (for Ubuntu).
Cheers,
-Mike
John wrote on Jul 11, 2007
thanks,
John
John
Last post on Jul 11, 2007