bugGNU Astronomy Utilities - Bugs: bug #51385, Pixel scale measurement when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #51385: Pixel scale measurement when dimension scale isn't equal or doesn't decrease

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Tue 04 Jul 2017 11:07:48 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Item Group: Output not reasonableStatus: Fixed
Privacy: PublicAssigned to: Mohammad Akhlaghi <makhlaghi>
Open/Closed: Closed

Tue 04 Jul 2017 11:39:24 PM UTC, comment #1:

This bug has been fixed and pushed to the main repo.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Tue 04 Jul 2017 11:07:48 PM UTC, original submission:

The `gal_wcs_pixel_scale' function (new name for the `gal_wcs_pixel_scale_deg' function of version 0.3 from commit 58ec3afd) uses Singular value decomposition (SVD) to find the pixel scale from the full WCS matrix independent of its rotation.

However, GSL's SVD implementation orders the singluar values based on their values. It does not preserve the original ordering of the input matrix.

Until now, `gal_wcs_pixel_scale' would just return the output of GSL's SVD function. So it was correct when the pixel scales were identical in all dimensions or when the scales decrease for higher dimensions.

It is possible to use the V matrix output to find the correct order and permute the pixel scales correspondingly. I am now busy implementing it and will push the fix when it is complete.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by makhlaghi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 04 Jul 2017 11:39:24 PM UTCmakhlaghiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
      Summarygal_wcs_pixel_scale output dimension order does not necessarily correspond to input=>Pixel scale measurement when dimension scale isn't equal or doesn't decrease

    Back to the top


    Powered by Savane 3.1-cleanup1