|
lsst.cpputils ga32aa97882+7403ac30ac
|
Utilities for converting between flux and magnitude in C++. More...
#include <cmath>Go to the source code of this file.
Namespaces | |
| namespace | lsst |
| Forward declarations for lsst::cpputils::Cache. | |
| namespace | lsst::cpputils |
Functions | |
| double | lsst::cpputils::nanojanskyToABMagnitude (double flux) |
| Convert a flux in nanojansky to AB magnitude. More... | |
| double | lsst::cpputils::ABMagnitudeToNanojansky (double magnitude) |
| Convert an AB magnitude to a flux in nanojansky. More... | |
Utilities for converting between flux and magnitude in C++.
Use astropy.units ABmag and nJy for converstions in python:
Definition in file Magnitude.h.