[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, 21 Mar 2023 10:54:24 -0400 (EDT) |
Follow-up Comment #3, task #16222 (project gnuastro):
Thanks for your interest in this task Bharat.
These generic operators are defined in the
[https://www.gnu.org/software/gnuastro/manual/html_node/Arithmetic-on-datasets.html
Arithmetic library], you can see its source in
[https://git.savannah.gnu.org/cgit/gnuastro.git/tree/lib/arithmetic.c
lib/arithmetic.c]. The 'astarithmetic' executable (in 'bin/arithmetic', simply
calls the Arithmetic library for many operations, including the unit
conversion ones).
Within the Arithmetic library, you will see that the unit conversion operators
have some special wrapper functions (like 'arithmetic_counts_to_from_sb',
which actually call the functions within the Gnuastro units library (starting
with 'gal_units_*'). I hope this helps ;-).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?16222>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/