[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #15704] Assuming a default size for --wcsdistortion when no data i

From: Sachin Kumar Singh
Subject: [task #15704] Assuming a default size for --wcsdistortion when no data included
Date: Tue, 23 Jun 2020 20:08:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Follow-up Comment #3, task #15704 (project gnuastro):

The problem is fixed now and it read and write data from simply wcs files
only. The commit is pushed here

The problem, arose because the function `wcsdistortion_get_tpvparams` was not
reading the pv parameters somehow. So, I read directly from the disseq
parameter of wcs which fixed the problem. It also made its reading style
similar to `wcsdistortion_get_siparams`, providing uniformity in code. 

I also tried to test the results using the sip_tpv module but it constantly
broke complaining `numpy.linalg.LinAlgError: Singular matrix` during inversion
of array(it may be due to fact it was unable to read CD matrix as it is not
directly present in the header from which python simply uses something like
`cd[i]=header['cdn'] %n)` i.e a dictionary to read data).


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]