Welcome to iraf.net Friday, May 10 2024 @ 01:41 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Fourier Filtering with FXCOR
   
fitz
 05/12/2014 11:57PM (Read 1080 times)  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

[Moderator's Note: Forwarded from story submission]
Hello:

Apologies if this is not the right place to submit questions and if so, can someone please explain how to post a new question in a forum?

I noticed that fxcor can do fourier filtering in the course of doing cross-correlations for rv determinations. I'm interested in something far simpler. Can the fourier filtering routine in fxcor be used as a stand-alone? in other words, is there a way to out put the filtered object spectrum?

thanks,
Sally

 
Profile Email
 Quote
fitz
 05/13/2014 12:02AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040


Apologies if this is not the right place to submit questions and if so, can someone please explain how to post a new question in a forum?


Use the 'Forum' option on the main banner bar to get the forums main page, select an appropriate forum for the question (e.g. 'Application'), and then use the "New Topic" button to start a thread.


I noticed that fxcor can do fourier filtering in the course of doing cross-correlations for rv determinations. I'm interested in something far simpler. Can the fourier filtering routine in fxcor be used as a stand-alone? in other words, is there a way to out put the filtered object spectrum?


Unforutnately, there is no way to save the filtered spectrum from FXCOR. However, the BWILTER task in STSDAS.PLAYPEN is essentially the same algorithm depending on your filter parameters. You can also do "cl\$this->_split2($m[0]) refer filter" to find other tasks that do image filtering which may help, likewise see the smoothing (boxcar) functions in tasks like SPLOT.

 
Profile Email
 Quote
msoey
 06/11/2014 12:41AM  
+----
Newbie

Status: offline


Registered: 07/25/2007
Posts: 3
Hi Mike,

Thanks so much for the tip on BWFILTER -- I think that's what I'm looking for!

Except that it seems to have a bug or something. It seems to work ok non-interactively, but when trying to run interactively, it doesn't seem to respond when I hit return (or anything else) to mark the filter threshold frequency. Or, when it finally bombs, it says, "frequency out of range" or "frequency must be positive". I've set a nominal value of 0.1 for the paramter "freq" which isn't supposed to be relevant unless it's run non-interactively. I'm just running with this very simple set of parameters:

playpen\$this->_split2($m[0]) lpar bwfilter
input = "test.fits" input
output = "test3.fits" output
(interactive = yes) interactive mode?
(freq = 0.1) frequency where signal is comparable to noise
(device = "stdgraph") graphics device
(cursor = "") graphics cursor input
(Version = "19August1994") date of installation
(mode = "al")


The input file is just a plain old 1D spectrum:

playpen\$this->_split2($m[0]) imhead test
test[34701][real]: 75689

Any more suggestions?

thanks again,
Sally

 
Profile Email
 Quote
fitz
 06/12/2014 06:35AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

The cursor read problem is an incompatibility between the 32-bit only STSDAS binaries linked against an older IRAF, and the 64-bit CL (linux64 or macintel) binary from a newer IRAF version I'm guessing you are using. This can be fixed by using a 32-bit CL binary, and if you installed both the 32- and 64-bit binaries then you can do this by simply changing your IRAFARCH, otherwise let me know which platform you are using and I can provide one.

The good news is that the STSDAS v3.17 system that came out today appears to have fixed this. If you are running IRAF v2.16 then doing a "make stsdas" in your iraf$extern directory will update the package and the problem should be fixed. The new system was linked against v2.14, v2.15 or v2.16 depending on which release doc you read, but at least on 64-bit Mac the cursor read correctly.

 
Profile Email
 Quote
msoey
 06/12/2014 02:46PM  
+----
Newbie

Status: offline


Registered: 07/25/2007
Posts: 3
Great, I think we can fix that then -- thanks again!

S.

 
Profile Email
 Quote
   
Content generated in: 0.18 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login