Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Physics-constants library?

85 views
Skip to first unread message

Mirko Vukovic

unread,
Feb 21, 2013, 10:05:16 AM2/21/13
to GSLL, antik...@common-lisp.net
I did not find a library with physics constants on cliki or quicklisp.

There is one available from within GSLL, but loading GSLL just for physics constants is an overkill.

Are there any other ones?

I have one of my own (somewhat incomplete) that works for me, and I can clean it up and push it to quicklisp if nothing meaningful is out there.


Mirko

Pascal J. Bourguignon

unread,
Feb 21, 2013, 1:16:43 PM2/21/13
to
I gathered a few constants in an old emacs lisp file:
https://gitorious.org/com-informatimago/emacs/blobs/master/pjb-constants.el


Of course, one would have to keep track of the official best values.
Some source like: http://physics.nist.gov/cuu/index.html perhaps?

Wikipedia also has a lot of constants.

--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.

Mirko Vukovic

unread,
Feb 22, 2013, 9:21:24 AM2/22/13
to
On Thursday, February 21, 2013 1:16:43 PM UTC-5, informatimago wrote:
Thanks,

Ralph Schleicher sent me an email with his nist-physics-constants.lisp program with values from http://physics.nist.gov/cuu/Constants/Table/allascii.txt

I hope he will make it available to others via quicklisp.

Mirko

Ralph Schleicher

unread,
Feb 25, 2013, 5:46:47 PM2/25/13
to
Mirko Vukovic <mirko....@gmail.com> writes:

> Ralph Schleicher sent me an email with his nist-physics-constants.lisp
> program with values from
> http://physics.nist.gov/cuu/Constants/Table/allascii.txt
>
> I hope he will make it available to others via quicklisp.

I've refactored the code to make it future proove, i.e. each revision
of the CODATA recommended values is embedded in it's own package. That
way you can explicitly refer to an individual revision by adding the
package prefix. Default is to use the latest values. I've also added
doc strings and the functions return the relative standard uncertainty
as the third value.

The library is public available from
<https://github.com/SCR4/codata-recommended-values.git>
and I've also submitted an issue to add it to quicklisp.

--
Ralph

Mirko Vukovic

unread,
Feb 25, 2013, 10:42:13 PM2/25/13
to
Thank you :-)
0 new messages