diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-22 15:50:58 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-22 15:50:58 +0800 |
commit | cb839cb55a39bbd1342c5b03e85e79757ab6163b (patch) | |
tree | c60f121675f889a7a9d43a988c0ca2da152746b6 /fg21sim/data/__init__.py | |
parent | 29bd5d71bbbebaf61d912c305558e19d5be7be95 (diff) | |
download | fg21sim-cb839cb55a39bbd1342c5b03e85e79757ab6163b.tar.bz2 |
galactic/snr.py: Fix wrong astropy quantity operation
When two quantities of same unit class divides, to get the correct
numerical value, whether use `.decompose().value`, or just convert to
plain Python object, e.g., `float(...)`, which will fail if the input
quantity is not dimensionless.
Diffstat (limited to 'fg21sim/data/__init__.py')
0 files changed, 0 insertions, 0 deletions