diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-24 22:21:31 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-24 22:21:31 +0800 |
commit | 200ac8cdc3661af0306b85d7589a13759a66ee41 (patch) | |
tree | 4fb517aea9812bb891774510daf41207692530ec /bin/fg21sim-download-snr-data | |
parent | 5fa8d50cbf9aacbc846cf650d1cbd2ec9fd0b5a3 (diff) | |
download | fg21sim-200ac8cdc3661af0306b85d7589a13759a66ee41.tar.bz2 |
convert.py: Optimize "Fnu_to_Tb()" and "Sb_to_Tb()"
* 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.
Diffstat (limited to 'bin/fg21sim-download-snr-data')
0 files changed, 0 insertions, 0 deletions