gnuastro-devel
[Top][All Lists]
Advanced

[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
<https://gitlab.com/sachinkumarsingh092/gnuastro-dev/-/tree/bad-tpv-to-sip>. 

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:

  <https://savannah.gnu.org/task/?15704>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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