jeffctaylor / astro2013

A centralized place for my code this spring and summer
2 stars 0 forks source link

hard-coded values in get_conversion_factor #7

Open PBarmby opened 11 years ago

PBarmby commented 11 years ago

The hard-coded number 2.3504 * 10**(-5) should be compute-able with the units package: it's just the conversion between MJy/steradians and Jy/arcsec.

I was wonderng if it would be better to store some of the other numbers in some kind of 'calibration database' so that the code doesn't need to be updated -- but I think astropy discourages this?

sophiathl commented 11 years ago

i like the idea of a calibration database - I haven't seen something like prohibiting this on astropy specifics, but we will check to make sure.

sophiathl commented 11 years ago

Calibration database still to be explored/implemented