天文学常数软件开发包 Astroconst 简介

Astroconst 主页

Astroconst 是一个自由软件包,它的内容就是包含有天文学常数表的一些头文件,这些头文件有多个,分别支持C、Fortran、Perl、java、Gnuplot和IDL等。对于程序开发人员、进行天文研究的人员来说,都是一个不错的软件包,可以省去好多功夫。

另外该软件包还包含一个小巧的终端模式的计算器astrocalc,有兴趣可以玩玩。

安装该软件包也很简单,只要安装到/usr/local/include中即可。目前最新的版本是2002年的V2.3版。安装包里包含有一些例程可供参考。

下栽:RPM SRPM TGZ

详细了解参看Astroconst README

附:软件包的内容:

The astroconst package consists of the following files:

README			Documentation (this file)
CHANGES			Recent changes
astroconst.h		C header file
astroconst.F		Fortran header file
astroconst.pl		Perl header file
astroconst.java	Java source file
astroconst.gp		Gnuplot header file
astroconst.ogp		Gnuplot (old versions) header file
AC_CGS.class		Java CGS class file
AC_MKS.class		Java MKS class file
AC_NA.class		Java dimensionless class file 
		 	(used by AC_CGS and AC_MKS)
astroconst.idl		IDL header file
astroconst.dat		Master data file for constants
generate.pl		Generates header files from master data file
astrocalc		Simple bc-like Perl-based calculator that uses
			astroconst
astrocalc-mks		Like astrocalc, but in MKS units
examples/sample-cgs.c		C CGS sample file
examples/sample-mks.c		C MKS sample file
examples/sample-cgs.F		Fortran CGS sample file
examples/sample-mks.F		Fortran MKS sample file
examples/sample-cgs.pl	Perl CGS sample file
examples/sample-mks.pl	Perl MKS sample file
examples/sample-cgs.java	Java CGS sample file
examples/sample-mks.java	Java MKS sample file
examples/sample-cgs.idl	IDL CGS sample file
examples/sample-mks.idl	IDL MKS sample file
examples/sample-cgs.gp	Gnuplot CGS sample file
examples/sample-mks.gp	Gnuplot MKS sample file
examples/sample-cgs.ogp	Gnuplot (old versions) CGS sample file
examples/sample-mks.ogp	Gnuplot (old versions) MKS sample file