[Top][All Lists]

[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
Arithmetic library], you can see its source in
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:


Message sent via Savannah

reply via email to

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