[SciPy-Dev] Updating constants

Nathaniel Smith njs@pobox....
Fri Jun 11 13:54:24 CDT 2010

On Fri, Jun 11, 2010 at 11:46 AM, Vincent Davis
<vincent@vincentdavis.net> wrote:
> Ok a few more issues/question about constants.codata.
> Some of the names seem rather messed up because of how the raw text is
>  read. For example
> Loschmidt constant (273.15 K, 101.325 kPa)             2.686 7774 e25
>      0.000 0047 e25        m^-3
> The above line gets added to the physical_constants dict with the key
> value 'Loschmidt constant (273.15 K, 101.325 kPa)'.
> codata.value('Loschmidt constant (273.15 K, 101.325 kPa)')
> 2.6867773000000001e+25
> Seems like it should be no more that 'Loschmidt constant' and I would
> recommend 'Loschmidt' unless there is a conflict.

If that's the "official name", then it seems to me that scipy should
support it... possibly along with shorter aliases for convenience?

-- Nathaniel

More information about the SciPy-Dev mailing list