Welcome to iraf.net Friday, April 19 2024 @ 08:57 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 missing data
   
duvall
 12/13/2016 12:42PM (Read 1306 times)  
+++--
Chatty

Status: offline


Registered: 03/08/2006
Posts: 59
Running iraf on linux.

Is there some way to get routines that use image interpolation to not use the missing values? I have an image that has some large negative numbers for missing.
jan2.fits[1024,1024][real]:

From the header.
BLANK = -2147483648
BZERO = 0.
BSCALE = 0.01

I tried the magnify task and it uses the missing values as valid numbers. My real problem is my own code that
uses the msi_ interpolation routines, but I thought if I could get it to work on, say, magnify, that this would be a start.

Do I somehow need to put Nan's into the bad values?

Thanks.
Tom

 
Profile Email
 Quote
valdes
 04/25/2017 10:47PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
Hello,

I was going through some old forum questions. No the IRAF interpolation code doesn't have anything to use masks. What I would suggest is you first replace the bad data. If you make a mask for the data you want to minimize the effect on you can then use fixpix to interpolate over the regions and that will make the interpolators much better behaved.

Frank Valdes

 
Profile Email
 Quote
   
Content generated in: 0.09 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