aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/convert.py
Commit message (Collapse)AuthorAgeFilesLines
* convert.py: do not use Numba JITAaron LI2017-08-291-14/+8
|
* utils/convert.py: Add function "JyPerPix_to_K()"Aaron LI2017-08-131-0/+17
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/convert.py: omega unit default to [arcsec^2], other improvementsAaron LI2017-08-031-10/+11
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/convert.py: Improve various comments/descriptionsAaron LI2017-08-031-23/+33
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/convert.py: Improve unit check and conversionAaron LI2017-08-031-2/+2
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Revert "utils/convert.py: Use 'utils.units' module"Aaron LI2017-06-241-7/+6
| | | | | | This reverts commit eb660ae70db40d36418f1e4eb886fd9bb02af1a7. Numba cannot recognize AUC/AC classes, or needs further updates
* 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