gnuastro-devel
[Top][All Lists]
Advanced

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

[task #16222] Arithmetic operators to convert areas for example mag/arcs


From: Mohammad Akhlaghi
Subject: [task #16222] Arithmetic operators to convert areas for example mag/arcsec2 to counts/pix
Date: Tue, 28 Jun 2022 13:53:49 -0400 (EDT)

URL:
  <https://savannah.gnu.org/task/?16222>

                 Summary: Arithmetic operators to convert areas for example
mag/arcsec2 to counts/pix
                 Project: GNU Astronomy Utilities
               Submitter: makhlaghi
               Submitted: Tue 28 Jun 2022 06:53:47 PM BST
         Should Start On: Tue 28 Jun 2022 12:00:00 AM BST
   Should be Finished on: Tue 28 Jun 2022 12:00:00 AM BST
                Category: Arithmetic
                Priority: 5 - Normal
              Item Group: Enhancement
                  Status: Postponed
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 28 Jun 2022 06:53:47 PM BST By: Mohammad Akhlaghi <makhlaghi>
It would be very useful to have operators for converting arcsec^2 to number of
pixels, and vice-versa. Based on an input WCS. We currently have the necessary
operators to convert magnitudes to counts and vice-versa, but we don't have
any for converting common area units.

For example:


$ astarithmetic 1 arcsecsq-to-pixnum --wcsfile=image.fits


This will be useful when we need to convert mag/arcsec^2 into image units:
counts/pixel. In fact since this is a common conversion, we can have a
high-level operator for it, maybe something like this:


$ astarithmetic 25 surfbright-to-countsperpix --wcsfile=image.fits


Of course, if an image with WCS is already present in the Arithmetic command,
there is no need to use '--wcsfile'. 

These can also be available for column arithmetic in Table.







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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