malte |
04/21/2006 03:33PM (Read 8686 times)
|
|
|
Status: offline
Registered: 03/16/2006
Posts: 9
|
I've run into exactly the problem described in [b:010c9b56cb] fxcor/afftrr bug: npix limited to 16384[/b:010c9b56cb] - 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.
|
|
|
|
fitz |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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
|
|
|
|
cmaceroni |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 01/31/2007
Posts: 8
|
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[quote:002eb5fc06="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[/quote:002eb5fc06]
Carla Maceroni
INAF - Osservatorio Astronomico di Roma
Monteporzio Catone (RM) Italy
|
|
|
|
fitz |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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 https://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
|
|
|
|
cmaceroni |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 01/31/2007
Posts: 8
|
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
Carla Maceroni
INAF - Osservatorio Astronomico di Roma
Monteporzio Catone (RM) Italy
|
|
|
|
fitz |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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
|
|
|
|
fitz |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Aaaargh, permissions on the file now fixed......
|
|
|
|
cmaceroni |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 01/31/2007
Posts: 8
|
THANKS, I got it now. I'll let you know if it works.
Carla
Carla Maceroni
INAF - Osservatorio Astronomico di Roma
Monteporzio Catone (RM) Italy
|
|
|
|
cmaceroni |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 01/31/2007
Posts: 8
|
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
Carla Maceroni
INAF - Osservatorio Astronomico di Roma
Monteporzio Catone (RM) Italy
|
|
|
|
cmaceroni |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 01/31/2007
Posts: 8
|
[quote:0e2f618ecd="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[/quote:0e2f618ecd]Hi Mike,
I am having a problem with fxcor, I wonder if related to the new version I installed from https://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
Carla Maceroni
INAF - Osservatorio Astronomico di Roma
Monteporzio Catone (RM) Italy
|
|
|
|
fitz |
04/21/2006 03:33PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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 https://iraf.net/ftp/pub/x_rv.e.RHUX and this will be fixed in the next release.Cheers,
-Mike
|
|
|
|