Welcome to iraf.net Friday, April 19 2024 @ 01:05 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Imlintran: segmentation violation
   
Lena
 09/19/2014 02:33PM (Read 1116 times)  
+----
Newbie

Status: offline


Registered: 09/19/2014
Posts: 2
Dear colleagues,

please, help me to solve this problem. I can upload sample files anywhere you like is you need them.

\$this-\$this->_split2($m[0])_normalize_entities2($m[0])SYSTEM: x86_64 GNU/Linux Xubuntu 14.04
IRAF: PC-IRAF Revision 2.16.1\$this-\$this->_split2($m[0])_normalize_entities2($m[0])
BUG: Imlintran \$this-\$this->_split2($m[0])_normalize_entities2($m[0])fails to run \$this-\$this->_split2($m[0])_normalize_entities2($m[0])and provides the segmentation violation error when using with 4096x4096 pix FITS file (\$this-\$this->_split2($m[0])_normalize_entities2($m[0])Maidanak Observatory files). But imlintran transforms 1.4 Mb fit file.
\$this-\$this->_split2($m[0])_normalize_entities2($m[0])This problem does not exist in previous IRAF version.



PHP Formatted Code
cl> epar imlintran

input   =                  Input data
output  =                        Output data
xrotatio=                   0.  X rotation angle in degrees
yrotatio=                   0.  Y rotation angle in degrees
xmag    =                   1.  X output pixels per input pixel
ymag    =                   1.  Y output pixels per input pixel
(xin    =                INDEF) X origin of input image in pixels
(yin    =                INDEF) Y origin of input image in pixels
(xout   =                INDEF) X origin of output image in pixels
(yout   =                INDEF) Y origin of output image in pixels
(ncols  =                INDEF) Number of columns in the output image
(nlines =                INDEF) Number of lines in the output image
(interpo=               linear) Interpolant (nearest,linear,poly3,poly5,spline3,
(boundar=              nearest) Boundary extension (nearest,constant,reflect,wra
(constan=                   0.) Constant for constant boundary extension
(fluxcon=                  yes) Preserve image flux ?
(nxblock=                  512) X dimension of working block size in pixels
 


67.1 Mb fits file:

PHP Formatted Code
apphot> imlintran jul0214_000034.fits a.fit xrot=0 yrot=0 xin=100 yin=100 xout=200 yout=200
X output pixels per input pixel (0.:) (1.):
Y output pixels per input pixel (0.:) (1.):

Transforming image jul0214_000034.fits to image a.fit
    xshift: -100.00 yshift: -100.00 xmag: 1.00 ymag: 1.00 xrot: 0.00 yrot: 0.00
ERROR: segmentation violation
  «nyblock=nyblock, verbose=verbose)»
     line 48: imgeom$imlintran.cl
     called as: „imlintran (input=jul0214_000034.fits, output=a.fit, xrotation=0., yrotation=0., xin=100., yin=100., xout=200., yout=200.)
 


1.4 Mb fit file:

PHP Formatted Code
apphot> imlintran GRB_001_001.fit a.fit xrot=0 yrot=0 xin=100 yin=100 xout=200 yout=200
X output pixels per input pixel (0.:) (1.):
Y output pixels per input pixel (0.:) (1.):

Transforming image GRB_001_001.fit to image a.fit
    xshift: -100.00 yshift: -100.00 xmag: 1.00 ymag: 1.00 xrot: 0.00 yrot: 0.00
apphot> display a.fit
frame to be written into (1:16) (1):
z1=4044.91 z2=4672.991


 
Profile Email
 Quote
fitz
 09/19/2014 03:49PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Please upload the problem image to the anonymous ftp at ftp://iraf.noao.edu/pub and we'll have a look, this doesn't sound like a known problem.

 
Profile Email
 Quote
Lena
 09/20/2014 08:41AM  
+----
Newbie

Status: offline


Registered: 09/19/2014
Posts: 2
ftp://iraf.noao.edu/pub/jul0114_000070.fits

 
Profile Email
 Quote
fitz
 09/22/2014 04:27PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

Thanks for the data. The short answer is that the image is 3-D and this is triggering a problem in the MWCS code. You can work around it by specifying the 2-D image section as e.g.

cl\$this->_split2($m[0]) imlintran jul0114_000070.fits[*,*,1] ......

For the next release we'll add a trap in the code to print out a more informative error message.

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