Welcome to iraf.net Thursday, May 02 2024 @ 03:01 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 bug in blkrep?
   
Arp
 03/04/2010 10:20AM (Read 1261 times)  
++---
Junior

Status: offline


Registered: 06/15/2009
Posts: 34
Hi!Is there a bug in blkrep?Because, I have a fits file with the dimension 512x1, its one line.
If I want to enlarge it to 512x512 I would use blkrep and use 512 for dimension 2. but this simply does nothing... the resulting image has the same dimension than the original one.If I, however use a 512x2 as an input and use 256 for dimension 2, it works fine.Or is that normal for blkrep?

 
Profile Email
 Quote
fitz
 03/04/2010 10:20AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I suspect that what you have is a 1-D file (i.e. a FITS NAXIS=1 or an imhead on the file shows the size as "[512]" and not "[512,1]"). In thise case, higher dimensions are ignored and you need to actually turn the file into a legitimate 2-D image using e.g.[code:1:9de3e470b3]
cl> imstack foo.fits bar.fits
[/code:1:9de3e470b3]Where foo.fits is "[512]} and "bar.fits" will be "[512,1]", BLKREP will then work as expected on bar.fits.-Mike

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