fxcor/afftrr/npix power of 2 bug: is there a workaround?
malte wrote on Apr 21, 2006
I've run into exactly the problem described in fxcor/afftrr bug: npix limited to 16384 - fxcor crashes when I hit 'f' to enter Fourier mode and complains that npix is not a power of 2.
Is there a workaround for this? I suspect there might be, because I used the same procedure on the same spectra earlier this week and Fourier mode worked just fine. Needless to say I can't quite work out what I did differently then.
Is there a workaround for this? I suspect there might be, because I used the same procedure on the same spectra earlier this week and Fourier mode worked just fine. Needless to say I can't quite work out what I did differently then.
Mike Fitzpatrick wrote on Apr 21, 2006
It appears there is no workaround other than a code change which I've amde for the next release. The change is trivial but would require a recompilation of the one system library and relinking the RV package. If you want to go this route let me know and I'll post details.
However, since you say this worked earlier I'm suspicious that it may be a memory bug of some kind. What platform and IRAF version is this? Were you doing something like using a smaller sample region earlier? How big are the spectra actually?
-Mike
However, since you say this worked earlier I'm suspicious that it may be a memory bug of some kind. What platform and IRAF version is this? Were you doing something like using a smaller sample region earlier? How big are the spectra actually?
-Mike
Carla Maceroni wrote on Apr 21, 2006
Can you tell me if the release with the corrected code is already out?
I met the same problem with my VLT-UVES echelle spectra ...
my Iraf version is 2.12.2a and platform is Linux- Fedora 4.
Thanks
Carla
I met the same problem with my VLT-UVES echelle spectra ...
my Iraf version is 2.12.2a and platform is Linux- Fedora 4.
Thanks
Carla
fitz
It appears there is no workaround other than a code change which I've amde for the next release. The change is trivial but would require a recompilation of the one system library and relinking the RV package. If you want to go this route let me know and I'll post details.
However, since you say this worked earlier I'm suspicious that it may be a memory bug of some kind. What platform and IRAF version is this? Were you doing something like using a smaller sample region earlier? How big are the spectra actually?
-Mike
Mike Fitzpatrick wrote on Apr 21, 2006
Hi Carla,
This fix is included in the V2.13Beta2 release. If you don't want to do a full upgrade at this time, I've put just the RV package binary at http://iraf.net/ftp/pub/x_rv.e.RHUX To use it, download in binary mode, rename it 'x_rv.e' and put it in your $iraf/noao/bin.redhat directory, and reset the execute permissions if needed (i.e. "chmod 755 x_rv.e"). Let me know if you still have problems.
Cheers,
-Mike
This fix is included in the V2.13Beta2 release. If you don't want to do a full upgrade at this time, I've put just the RV package binary at http://iraf.net/ftp/pub/x_rv.e.RHUX To use it, download in binary mode, rename it 'x_rv.e' and put it in your $iraf/noao/bin.redhat directory, and reset the execute permissions if needed (i.e. "chmod 755 x_rv.e"). Let me know if you still have problems.
Cheers,
-Mike
Carla Maceroni wrote on Apr 21, 2006
Hi Mike,
thanks for the quick reply.
I tried to follow the link but I get an error message :
404 Not Found
The requested URL /ftp/pub/x_rv.e.RHUX. does not exist.
Site Still Under Construction!!
may be I shall access the page in another way? I tried as well to reach the file from the ftp page, but I couldn't get it anyway.
Cheers
Carla
thanks for the quick reply.
I tried to follow the link but I get an error message :
404 Not Found
The requested URL /ftp/pub/x_rv.e.RHUX. does not exist.
Site Still Under Construction!!
may be I shall access the page in another way? I tried as well to reach the file from the ftp page, but I couldn't get it anyway.
Cheers
Carla
Mike Fitzpatrick wrote on Apr 21, 2006
Carla,
Looks like the period in the sentence is being included in the URL if you select the link from the posting. Try typing it in by hand or modifying the address bar, I'll edit the article.
-Mike
Looks like the period in the sentence is being included in the URL if you select the link from the posting. Try typing it in by hand or modifying the address bar, I'll edit the article.
-Mike
Mike Fitzpatrick wrote on Apr 21, 2006
Aaaargh, permissions on the file now fixed......
Carla Maceroni wrote on Apr 21, 2006
THANKS, I got it now. I'll let you know if it works.
Carla
Carla
Carla Maceroni wrote on Apr 21, 2006
Hi Mike,
I installed the routine following your instructions (actually I have iraf in scisoft VI distribution and I copied the routine to /scisoft/share/iraf/irafbin/noao.bin.redhat). The news version perfectly works using 32768 pixels.
Thanks again
Carla
I installed the routine following your instructions (actually I have iraf in scisoft VI distribution and I copied the routine to /scisoft/share/iraf/irafbin/noao.bin.redhat). The news version perfectly works using 32768 pixels.
Thanks again
Carla
Carla Maceroni wrote on Apr 21, 2006
cmaceroni
Hi Mike,
I installed the routine following your instructions (actually I have iraf in scisoft VI distribution and I copied the routine to /scisoft/share/iraf/irafbin/noao.bin.redhat). The news version perfectly works using 32768 pixels.
Thanks again
Carla
Hi Mike,
I am having a problem with fxcor, I wonder if related to the new version I installed from http://iraf.net/ftp/pub/x_rv.e.RHUX :
I filter both obj and template spectrum. When I use the filter window, with the PS plots, I cannot see or change any of the filtpars parameters.
The help file says that a ':' followed by the parameter name would show or change the value, but I have no reaction at all when giving, e.g.
:f_type or
:cuton or
:cuton 1000
etc.
I am sure however that I changed the filter parameters interactively (maybe with the old version?).
Thanks
Carla
Mike Fitzpatrick wrote on Apr 21, 2006
Hi Carla,
Turned out this was a bug that's been in the code since the very beginning. Basically, there were missing braces in an if-statement and so the code wasn't executing as intended. In any case, I've put a patched linux binary at http://iraf.net/ftp/pub/x_rv.e.RHUX and this will be fixed in the next release.
Cheers,
-Mike
Turned out this was a bug that's been in the code since the very beginning. Basically, there were missing braces in an if-statement and so the code wasn't executing as intended. In any case, I've put a patched linux binary at http://iraf.net/ftp/pub/x_rv.e.RHUX and this will be fixed in the next release.
Cheers,
-Mike
Last post on Apr 21, 2006