aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/convert.py
Commit message (Collapse)AuthorAgeFilesLines
* utils/convert.py: Use 'utils.units' moduleAaron LI2017-06-231-6/+7
|
* convert.py: Optimize "Fnu_to_Tb()" and "Sb_to_Tb()"Aaron LI2016-10-241-0/+65
| | | | | | | | | * Optimize the "Fnu_to_Tb()" and "Sb_to_Tb()" functions by explicitly calculating the conversions, avoiding the slow `astropy.unit` conversions (which is rather slow). The new fast functions are named as "Fnu_to_Tb_fast()" and "Sb_to_Tb_fast()". * Optimize the new functions using `numba.jit` further. * Add `numba` to the dependencies.
* Add utils/convert.py: Implement brightness temperature conversionAaron LI2016-10-151-0/+63