summaryrefslogtreecommitdiffstats
ModeNameSize
-rw-r--r--INSTALL136logstatsplain
-rw-r--r--LANGUAGE.HOWTO2156logstatsplain
-rw-r--r--LICENSE18007logstatsplain
-rw-r--r--Makefile.in2484logstatsplain
-rw-r--r--Makefile.win.in646logstatsplain
-rw-r--r--PLATFORMS372logstatsplain
-rw-r--r--README205logstatsplain
-rw-r--r--VERSION6logstatsplain
d---------addon73logstatsplain
-rwxr-xr-xconfigure9784logstatsplain
d---------doc1486logstatsplain
d---------examples2065logstatsplain
-rw-r--r--make.bat1084logstatsplain
d---------packages30logstatsplain
d---------src4487logstatsplain
d---------tmake228logstatsplain
d---------wintools35logstatsplain
ph'>
-rw-r--r--ast/ast-for-wcslib/wcslib-instructions112
-rw-r--r--ast/ast.news1189
-rw-r--r--ast/ast_cpp.in11
-rw-r--r--ast/ast_dev86
-rw-r--r--ast/ast_err.msg214
-rw-r--r--ast/ast_link.in463
-rw-r--r--ast/ast_link_adam.in406
-rw-r--r--ast/ast_par.source733
-rw-r--r--ast/ast_test.c115
-rw-r--r--ast/ast_tester/README33
-rw-r--r--ast/ast_tester/a20070718_00010_02_cube.ast339
-rw-r--r--ast/ast_tester/a20070718_00010_02_cube.fits-wcs61
-rw-r--r--ast/ast_tester/aitoff.attr1
-rw-r--r--ast/ast_tester/aitoff.box1
-rw-r--r--ast/ast_tester/aitoff.head13
-rwxr-xr-xast/ast_tester/ast_tester232
-rw-r--r--ast/ast_tester/brad.map58
-rw-r--r--ast/ast_tester/brad.simp49
-rw-r--r--ast/ast_tester/car1.attr1
-rw-r--r--ast/ast_tester/car1.box1
-rw-r--r--ast/ast_tester/car1.fattr1
-rw-r--r--ast/ast_tester/car1.head32
-rw-r--r--ast/ast_tester/car2.attr1
-rw-r--r--ast/ast_tester/car2.box1
-rw-r--r--ast/ast_tester/car2.fattr1
-rw-r--r--ast/ast_tester/car2.head32
-rw-r--r--ast/ast_tester/car3.attr1
-rw-r--r--ast/ast_tester/car3.box1
-rw-r--r--ast/ast_tester/car3.head8
-rw-r--r--ast/ast_tester/car4.attr0
-rw-r--r--ast/ast_tester/car4.box1
-rw-r--r--ast/ast_tester/car4.fattr1
-rw-r--r--ast/ast_tester/car4.head38
-rw-r--r--ast/ast_tester/car5.attr0
-rw-r--r--ast/ast_tester/car5.box1
-rw-r--r--ast/ast_tester/car5.head38
-rw-r--r--ast/ast_tester/car6.attr0
-rw-r--r--ast/ast_tester/car6.box1
-rw-r--r--ast/ast_tester/car6.head39
-rw-r--r--ast/ast_tester/cobe.attr1
-rw-r--r--ast/ast_tester/cobe.box1
-rw-r--r--ast/ast_tester/cobe.head61
-rw-r--r--ast/ast_tester/degen1.ast318
-rw-r--r--ast/ast_tester/degen1.fits-wcs40
-rwxr-xr-xast/ast_tester/doplot53
-rw-r--r--ast/ast_tester/dss.ast166
-rw-r--r--ast/ast_tester/dss.dss58
-rw-r--r--ast/ast_tester/dss.fits-dss108
-rw-r--r--ast/ast_tester/dss.fits-wcs39
-rw-r--r--ast/ast_tester/hpx.attr1
-rw-r--r--ast/ast_tester/hpx.box1
-rw-r--r--ast/ast_tester/hpx.head10
-rw-r--r--ast/ast_tester/joye_car_headers/CAR_model.head47
-rw-r--r--ast/ast_tester/joye_car_headers/CHIPASS_Equ.head39
-rw-r--r--ast/ast_tester/joye_car_headers/car1.fattr1
-rw-r--r--ast/ast_tester/joye_car_headers/car1.head32
-rw-r--r--ast/ast_tester/joye_car_headers/car2.fattr1
-rw-r--r--ast/ast_tester/joye_car_headers/car2.head32
-rw-r--r--ast/ast_tester/joye_car_headers/car3.head8
-rw-r--r--ast/ast_tester/joye_car_headers/car4.fattr1
-rw-r--r--ast/ast_tester/joye_car_headers/car4.head38
-rw-r--r--ast/ast_tester/joye_car_headers/car5.head38
-rw-r--r--ast/ast_tester/joye_car_headers/cmap_3years_GP_D2.head162
-rwxr-xr-xast/ast_tester/joye_car_headers/doit17
-rw-r--r--ast/ast_tester/joye_car_headers/total_hi.head35
-rw-r--r--ast/ast_tester/longslit.fits-pc18
-rw-r--r--ast/ast_tester/longslit.fits-wcs22
-rwxr-xr-xast/ast_tester/makeplot47
-rwxr-xr-xast/ast_tester/maketest35
-rw-r--r--ast/ast_tester/origin.attr1
-rw-r--r--ast/ast_tester/origin.box1
-rw-r--r--ast/ast_tester/origin.head18
-rw-r--r--ast/ast_tester/plot3d-test1.ast340
-rw-r--r--ast/ast_tester/plotter.f230
-rw-r--r--ast/ast_tester/polco.attr1
-rw-r--r--ast/ast_tester/polco.box1
-rw-r--r--ast/ast_tester/polco.head86
-rw-r--r--ast/ast_tester/polco2.attr1
-rw-r--r--ast/ast_tester/polco2.box1
-rw-r--r--ast/ast_tester/polco2.head86
-rw-r--r--ast/ast_tester/regression.current7583
-rw-r--r--ast/ast_tester/regression.f1515
-rw-r--r--ast/ast_tester/regression.out7630
-rw-r--r--ast/ast_tester/rigby.map240
-rw-r--r--ast/ast_tester/rigby.simp201
-rw-r--r--ast/ast_tester/scp.attr1
-rw-r--r--ast/ast_tester/scp.box1
-rw-r--r--ast/ast_tester/scp.head204
-rw-r--r--ast/ast_tester/serpens.attr1
-rw-r--r--ast/ast_tester/serpens.box1
-rw-r--r--ast/ast_tester/serpens.head160
-rw-r--r--ast/ast_tester/simplify.f123
-rw-r--r--ast/ast_tester/sip.fits-wcs289
-rw-r--r--ast/ast_tester/sip.head288
-rw-r--r--ast/ast_tester/sparse.ast392
-rw-r--r--ast/ast_tester/specflux.ast29
-rw-r--r--ast/ast_tester/specflux.attr1
-rw-r--r--ast/ast_tester/specflux.box2
-rw-r--r--ast/ast_tester/specflux.head28
-rw-r--r--ast/ast_tester/splittest1.ast185
-rw-r--r--ast/ast_tester/stcschan-test1-doc3-props.ast126
-rw-r--r--ast/ast_tester/stcschan-test1-doc3.ast272
-rw-r--r--ast/ast_tester/testchannel.f88
-rw-r--r--ast/ast_tester/testchebymap.f475
-rw-r--r--ast/ast_tester/testcmpmap.f149
-rw-r--r--ast/ast_tester/testconvert.c232
-rw-r--r--ast/ast_tester/testerror.c44
-rw-r--r--ast/ast_tester/testfitschan.f988
-rw-r--r--ast/ast_tester/testfitstable.f590
-rw-r--r--ast/ast_tester/testflux.f354
-rw-r--r--ast/ast_tester/testframeset.f391
-rw-r--r--ast/ast_tester/testkeymap.f1369
-rw-r--r--ast/ast_tester/testlutmap.f177
-rw-r--r--ast/ast_tester/testmapping.f85
-rw-r--r--ast/ast_tester/testnormmap.f94
-rw-r--r--ast/ast_tester/testobject.c120
-rw-r--r--ast/ast_tester/testplot3d.f1357
-rw-r--r--ast/ast_tester/testpolymap.f319
-rw-r--r--ast/ast_tester/testrate.f344
-rw-r--r--ast/ast_tester/testratemap.f148
-rw-r--r--ast/ast_tester/testrebin.f4176
-rw-r--r--ast/ast_tester/testrebinseq.f1580
-rw-r--r--ast/ast_tester/testregions.f4032
-rw-r--r--ast/ast_tester/testskyframe.f89
-rw-r--r--ast/ast_tester/testspecflux.f331
-rw-r--r--ast/ast_tester/testspecframe.f251
-rw-r--r--ast/ast_tester/teststc.f1858
-rw-r--r--ast/ast_tester/teststc_com13
-rw-r--r--ast/ast_tester/teststc_eg171
-rw-r--r--ast/ast_tester/teststc_eg1018
-rw-r--r--ast/ast_tester/teststc_eg2114
-rw-r--r--ast/ast_tester/teststc_eg3113
-rw-r--r--ast/ast_tester/teststc_eg455
-rw-r--r--ast/ast_tester/teststc_eg5109
-rw-r--r--ast/ast_tester/teststc_eg649
-rw-r--r--ast/ast_tester/teststc_eg752
-rw-r--r--ast/ast_tester/teststc_eg852
-rw-r--r--ast/ast_tester/teststc_eg949
-rwxr-xr-xast/ast_tester/teststcschan.f654
-rw-r--r--ast/ast_tester/testswitchmap.f794
-rw-r--r--ast/ast_tester/testtable.f537
-rw-r--r--ast/ast_tester/testtime.f979
-rw-r--r--ast/ast_tester/testtrangrid.f276
-rw-r--r--ast/ast_tester/testunitnormmap.f324
-rw-r--r--ast/ast_tester/testxmlchan.f246
-rw-r--r--ast/ast_tester/testxmlchan_com13
-rw-r--r--ast/ast_tester/testzoommap.f91
-rw-r--r--ast/ast_tester/timeplot.attr1
-rw-r--r--ast/ast_tester/timeplot.box1
-rw-r--r--ast/ast_tester/timeplot.head34
-rw-r--r--ast/ast_tester/timj.ast234
-rw-r--r--ast/ast_tester/timj.fits-aips11
-rw-r--r--ast/ast_tester/timj.fits-iraf13
-rw-r--r--ast/ast_tester/timj.fits-pc16
-rw-r--r--ast/ast_tester/timj.fits-wcs39
-rw-r--r--ast/ast_tester/timj.native217
-rw-r--r--ast/ast_tester/tnx.attr1
-rw-r--r--ast/ast_tester/tnx.box1
-rw-r--r--ast/ast_tester/tnx.head180
-rw-r--r--ast/ast_tester/tsc.attr1
-rw-r--r--ast/ast_tester/tsc.box1
-rw-r--r--ast/ast_tester/tsc.head116
-rw-r--r--ast/ast_tester/wcsconverter.f222
-rw-r--r--ast/ast_tester/zpn.attr1
-rw-r--r--ast/ast_tester/zpn.box1
-rw-r--r--ast/ast_tester/zpn.head136
-rw-r--r--ast/ast_tester/zpx.attr1
-rw-r--r--ast/ast_tester/zpx.head153
-rw-r--r--ast/astbad.c181
-rw-r--r--ast/axis.c3500
-rw-r--r--ast/axis.h625
-rwxr-xr-xast/bootstrap134
-rw-r--r--ast/box.c5062
-rw-r--r--ast/box.h234
-rw-r--r--ast/builddocs.in146
-rwxr-xr-xast/buildhyperdocs11
-rw-r--r--ast/c2f77.c125
-rw-r--r--ast/c2f77.h166
-rwxr-xr-xast/cexpand32
-rwxr-xr-xast/cexpand.pl22
-rw-r--r--ast/channel.c6458
-rw-r--r--ast/channel.h687
-rw-r--r--ast/chebymap.c2404
-rw-r--r--ast/chebymap.h234
-rw-r--r--ast/circle.c2900
-rw-r--r--ast/circle.h241
-rw-r--r--ast/cminpack/CopyrightMINPACK.txt52
-rw-r--r--ast/cminpack/README.md128
-rw-r--r--ast/cminpack/cminpack.h370
-rw-r--r--ast/cminpack/cminpackP.h62
-rw-r--r--ast/cminpack/dpmpar.c201
-rw-r--r--ast/cminpack/enorm.c157
-rw-r--r--ast/cminpack/lmder.c526
-rw-r--r--ast/cminpack/lmder1.c167
-rw-r--r--ast/cminpack/lmpar.c338
-rw-r--r--ast/cminpack/qrfac.c285
-rw-r--r--ast/cminpack/qrsolv.c218
-rw-r--r--ast/cmpframe.c10846
-rw-r--r--ast/cmpframe.h428
-rw-r--r--ast/cmpframe.pdfbin7432 -> 0 bytes-rw-r--r--ast/cmpmap.c4739
-rw-r--r--ast/cmpmap.h300
-rw-r--r--ast/cmpregion.c5127
-rw-r--r--ast/cmpregion.h251
-rw-r--r--ast/complex.pdfbin15323 -> 0 bytes-rw-r--r--ast/component.xml44
-rw-r--r--ast/component.xml.in44
-rw-r--r--ast/configure.ac243
-rw-r--r--ast/devtools/make_simtest4
-rw-r--r--ast/devtools/simtest.c864
-rwxr-xr-xast/doincludes22
-rw-r--r--ast/dsbspecframe.c3266
-rw-r--r--ast/dsbspecframe.h298
-rw-r--r--ast/dssmap.c2283
-rw-r--r--ast/dssmap.h401
-rw-r--r--ast/ellipse.c3055
-rw-r--r--ast/ellipse.h244
-rw-r--r--ast/ems.h185
-rw-r--r--ast/erfa.h72
-rw-r--r--ast/erfa/INFO19
-rw-r--r--ast/erfa/LICENSE53
-rw-r--r--ast/erfa/Makefile.am47
-rw-r--r--ast/erfa/README.rst93
-rw-r--r--ast/erfa/RELEASE.rst180
-rw-r--r--ast/erfa/a2af.c129
-rw-r--r--ast/erfa/a2tf.c125
-rw-r--r--ast/erfa/ab.c137
-rw-r--r--ast/erfa/af2a.c116
-rw-r--r--ast/erfa/anp.c91
-rw-r--r--ast/erfa/anpm.c91
-rw-r--r--ast/erfa/apcg.c181
-rw-r--r--ast/erfa/apcg13.c184
-rw-r--r--ast/erfa/apci.c190
-rw-r--r--ast/erfa/apci13.c202
-rw-r--r--ast/erfa/apco.c264
-rw-r--r--ast/erfa/apco13.c287
-rw-r--r--ast/erfa/apcs.c233
-rw-r--r--ast/erfa/apcs13.c191
-rw-r--r--ast/erfa/aper.c162
-rw-r--r--ast/erfa/aper13.c181
-rw-r--r--ast/erfa/apio.c213
-rw-r--r--ast/erfa/apio13.c259
-rw-r--r--ast/erfa/atci13.c159
-rw-r--r--ast/erfa/atciq.c154
-rw-r--r--ast/erfa/atciqn.c191
-rw-r--r--ast/erfa/atciqz.c153
-rw-r--r--ast/erfa/atco13.c243
-rw-r--r--ast/erfa/atic13.c152
-rw-r--r--ast/erfa/aticq.c199
-rw-r--r--ast/erfa/aticqn.c237
-rw-r--r--ast/erfa/atio13.c222
-rw-r--r--ast/erfa/atioq.c243
-rw-r--r--ast/erfa/atoc13.c233
-rw-r--r--ast/erfa/atoi13.c228
-rw-r--r--ast/erfa/atoiq.c260
-rw-r--r--ast/erfa/bi00.c125
-rw-r--r--ast/erfa/bp00.c181
-rw-r--r--ast/erfa/bp06.c152
-rw-r--r--ast/erfa/bpn2xy.c109
-rw-r--r--ast/erfa/c2i00a.c148
-rw-r--r--ast/erfa/c2i00b.c148
-rw-r--r--ast/erfa/c2i06a.c145
-rw-r--r--ast/erfa/c2ibpn.c151
-rw-r--r--ast/erfa/c2ixy.c140
-rw-r--r--ast/erfa/c2ixys.c132
-rw-r--r--ast/erfa/c2s.c105
-rw-r--r--ast/erfa/c2t00a.c163
-rw-r--r--ast/erfa/c2t00b.c159
-rw-r--r--ast/erfa/c2t06a.c161
-rw-r--r--ast/erfa/c2tcio.c131
-rw-r--r--ast/erfa/c2teqx.c131
-rw-r--r--ast/erfa/c2tpe.c176
-rw-r--r--ast/erfa/c2txy.c168
-rw-r--r--ast/erfa/cal2jd.c148
-rw-r--r--ast/erfa/cp.c89
-rw-r--r--ast/erfa/cpv.c91
-rw-r--r--ast/erfa/cr.c92
-rw-r--r--ast/erfa/d2dtf.c245
-rw-r--r--ast/erfa/d2tf.c169
-rw-r--r--ast/erfa/dat.c306
-rw-r--r--ast/erfa/dtdb.c1222
-rw-r--r--ast/erfa/dtf2d.c212
-rw-r--r--ast/erfa/eceq06.c141
-rw-r--r--ast/erfa/ecm06.c144
-rw-r--r--ast/erfa/ee00.c137
-rw-r--r--ast/erfa/ee00a.c144
-rw-r--r--ast/erfa/ee00b.c150
-rw-r--r--ast/erfa/ee06a.c131
-rw-r--r--ast/erfa/eect00.c291
-rw-r--r--ast/erfa/eform.c155
-rw-r--r--ast/erfa/eo06a.c140
-rw-r--r--ast/erfa/eors.c117
-rw-r--r--ast/erfa/epb.c100
-rw-r--r--ast/erfa/epb2jd.c100
-rw-r--r--ast/erfa/epj.c102
-rw-r--r--ast/erfa/epj2jd.c100
-rw-r--r--ast/erfa/epv00.c2598
-rw-r--r--ast/erfa/eqec06.c142
-rw-r--r--ast/erfa/eqeq94.c141
-rw-r--r--ast/erfa/era00.c145
-rw-r--r--ast/erfa/erfa.h517
-rw-r--r--ast/erfa/erfam.h208
-rw-r--r--ast/erfa/fad03.c112
-rw-r--r--ast/erfa/fae03.c111
-rw-r--r--ast/erfa/faf03.c115
-rw-r--r--ast/erfa/faju03.c111
-rw-r--r--ast/erfa/fal03.c112
-rw-r--r--ast/erfa/falp03.c112
-rw-r--r--ast/erfa/fama03.c111
-rw-r--r--ast/erfa/fame03.c111
-rw-r--r--ast/erfa/fane03.c108
-rw-r--r--ast/erfa/faom03.c113
-rw-r--r--ast/erfa/fapa03.c112
-rw-r--r--ast/erfa/fasa03.c111
-rw-r--r--ast/erfa/faur03.c108
-rw-r--r--ast/erfa/fave03.c111
-rw-r--r--ast/erfa/fk52h.c152
-rw-r--r--ast/erfa/fk5hip.c135
-rw-r--r--ast/erfa/fk5hz.c169
-rw-r--r--ast/erfa/fw2m.c143
-rw-r--r--ast/erfa/fw2xy.c130
-rw-r--r--ast/erfa/g2icrs.c170
-rw-r--r--ast/erfa/gc2gd.c143
-rw-r--r--ast/erfa/gc2gde.c208
-rw-r--r--ast/erfa/gd2gc.c142
-rw-r--r--ast/erfa/gd2gce.c146
-rw-r--r--ast/erfa/gmst00.c154
-rw-r--r--ast/erfa/gmst06.c145
-rw-r--r--ast/erfa/gmst82.c160
-rw-r--r--ast/erfa/gst00a.c147
-rw-r--r--ast/erfa/gst00b.c155
-rw-r--r--ast/erfa/gst06.c149
-rw-r--r--ast/erfa/gst06a.c140
-rw-r--r--ast/erfa/gst94.c140
-rw-r--r--ast/erfa/h2fk5.c157
-rw-r--r--ast/erfa/hfk5z.c184
-rw-r--r--ast/erfa/icrs2g.c170
-rw-r--r--ast/erfa/ir.c92
-rw-r--r--ast/erfa/jd2cal.c164
-rw-r--r--ast/erfa/jdcalf.c170
-rw-r--r--ast/erfa/ld.c161
-rw-r--r--ast/erfa/ldn.c183
-rw-r--r--ast/erfa/ldsun.c115
-rw-r--r--ast/erfa/lteceq.c138
-rw-r--r--ast/erfa/ltecm.c157
-rw-r--r--ast/erfa/lteqec.c139
-rw-r--r--ast/erfa/ltp.c140
-rw-r--r--ast/erfa/ltpb.c133
-rw-r--r--ast/erfa/ltpecl.c177
-rw-r--r--ast/erfa/ltpequ.c177
-rw-r--r--ast/erfa/num00a.c130
-rw-r--r--ast/erfa/num00b.c130
-rw-r--r--ast/erfa/num06a.c134
-rw-r--r--ast/erfa/numat.c118
-rw-r--r--ast/erfa/nut00a.c2056
-rw-r--r--ast/erfa/nut00b.c381
-rw-r--r--ast/erfa/nut06a.c162
-rw-r--r--ast/erfa/nut80.c334
-rw-r--r--ast/erfa/nutm80.c126
-rw-r--r--ast/erfa/obl06.c127
-rw-r--r--ast/erfa/obl80.c127
-rw-r--r--ast/erfa/p06e.c330
-rw-r--r--ast/erfa/p2pv.c92
-rw-r--r--ast/erfa/p2s.c100
-rw-r--r--ast/erfa/pap.c148
-rw-r--r--ast/erfa/pas.c105
-rw-r--r--ast/erfa/pb06.c153
-rw-r--r--ast/erfa/pdp.c93
-rw-r--r--ast/erfa/pfw06.c174
-rw-r--r--ast/erfa/plan94.c523
-rw-r--r--ast/erfa/pm.c85
-rw-r--r--ast/erfa/pmat00.c127
-rw-r--r--ast/erfa/pmat06.c131
-rw-r--r--ast/erfa/pmat76.c150
-rw-r--r--ast/erfa/pmp.c94
-rw-r--r--ast/erfa/pmpx.c153
-rw-r--r--ast/erfa/pmsafe.c206
-rw-r--r--ast/erfa/pn.c118
-rw-r--r--ast/erfa/pn00.c186
-rw-r--r--ast/erfa/pn00a.c172
-rw-r--r--ast/erfa/pn00b.c172
-rw-r--r--ast/erfa/pn06.c196
-rw-r--r--ast/erfa/pn06a.c162
-rw-r--r--ast/erfa/pnm00a.c130
-rw-r--r--ast/erfa/pnm00b.c130
-rw-r--r--ast/erfa/pnm06a.c133
-rw-r--r--ast/erfa/pnm80.c135
-rw-r--r--ast/erfa/pom00.c124
-rw-r--r--ast/erfa/ppp.c94
-rw-r--r--ast/erfa/ppsp.c103
-rw-r--r--ast/erfa/pr00.c151
-rw-r--r--ast/erfa/prec76.c157
-rw-r--r--ast/erfa/pv2p.c90
-rw-r--r--ast/erfa/pv2s.c153
-rw-r--r--ast/erfa/pvdpv.c111
-rw-r--r--ast/erfa/pvm.c95
-rw-r--r--ast/erfa/pvmpv.c96
-rw-r--r--ast/erfa/pvppv.c96
-rw-r--r--ast/erfa/pvstar.c216
-rw-r--r--ast/erfa/pvtob.c162
-rw-r--r--ast/erfa/pvu.c102
-rw-r--r--ast/erfa/pvup.c97
-rw-r--r--ast/erfa/pvxpv.c116
-rw-r--r--ast/erfa/pxp.c103
-rw-r--r--ast/erfa/refco.c262
-rw-r--r--ast/erfa/rm2v.c120
-rw-r--r--ast/erfa/rv2m.c127
-rw-r--r--ast/erfa/rx.c119
-rw-r--r--ast/erfa/rxp.c108
-rw-r--r--ast/erfa/rxpv.c95
-rw-r--r--ast/erfa/rxr.c108
-rw-r--r--ast/erfa/ry.c119
-rw-r--r--ast/erfa/rz.c119
-rw-r--r--ast/erfa/s00.c380
-rw-r--r--ast/erfa/s00a.c152
-rw-r--r--ast/erfa/s00b.c152
-rw-r--r--ast/erfa/s06.c377
-rw-r--r--ast/erfa/s06a.c154
-rw-r--r--ast/erfa/s2c.c94
-rw-r--r--ast/erfa/s2p.c97
-rw-r--r--ast/erfa/s2pv.c112
-rw-r--r--ast/erfa/s2xpv.c96
-rw-r--r--ast/erfa/sepp.c114
-rw-r--r--ast/erfa/seps.c102
-rw-r--r--ast/erfa/sp00.c127
-rw-r--r--ast/erfa/starpm.c214
-rw-r--r--ast/erfa/starpv.c273
-rw-r--r--ast/erfa/sxp.c93
-rw-r--r--ast/erfa/sxpv.c94
-rw-r--r--ast/erfa/t_erfa_c.c9742
-rw-r--r--ast/erfa/taitt.c119
-rw-r--r--ast/erfa/taiut1.c120
-rw-r--r--ast/erfa/taiutc.c168
-rw-r--r--ast/erfa/tcbtdb.c141
-rw-r--r--ast/erfa/tcgtt.c118
-rw-r--r--ast/erfa/tdbtcb.c146
-rw-r--r--ast/erfa/tdbtt.c130
-rw-r--r--ast/erfa/tf2a.c116
-rw-r--r--ast/erfa/tf2d.c116
-rw-r--r--ast/erfa/tr.c102
-rw-r--r--ast/erfa/trxp.c102
-rw-r--r--ast/erfa/trxpv.c102
-rw-r--r--ast/erfa/tttai.c119
-rw-r--r--ast/erfa/tttcg.c121
-rw-r--r--ast/erfa/tttdb.c130
-rw-r--r--ast/erfa/ttut1.c119
-rw-r--r--ast/erfa/ut1tai.c120
-rw-r--r--ast/erfa/ut1tt.c119
-rw-r--r--ast/erfa/ut1utc.c202
-rw-r--r--ast/erfa/utctai.c186
-rw-r--r--ast/erfa/utcut1.c156
-rw-r--r--ast/erfa/xy06.c2767
-rw-r--r--ast/erfa/xys00a.c142
-rw-r--r--ast/erfa/xys00b.c142
-rw-r--r--ast/erfa/xys06a.c142
-rw-r--r--ast/erfa/zp.c86
-rw-r--r--ast/erfa/zpv.c88
-rw-r--r--ast/erfa/zr.c92
-rw-r--r--ast/erfa2ast.h248
-rw-r--r--ast/erfam.h61
-rw-r--r--ast/err.h66
-rw-r--r--ast/err_drama.c122
-rw-r--r--ast/err_ems.c108
-rw-r--r--ast/err_null.c111
-rw-r--r--ast/error.c1359
-rw-r--r--ast/error.h362
-rw-r--r--ast/f77.h.in1096
-rw-r--r--ast/fbox.c110
-rw-r--r--ast/fchannel.c473
-rw-r--r--ast/fchebymap.c137
-rw-r--r--ast/fcircle.c128
-rw-r--r--ast/fcmpframe.c104
-rw-r--r--ast/fcmpmap.c106
-rw-r--r--ast/fcmpregion.c107
-rw-r--r--ast/fdsbspecframe.c100
-rw-r--r--ast/fdssmap.c75
-rw-r--r--ast/fellipse.c136
-rw-r--r--ast/ferror.c120
-rwxr-xr-xast/fetch5
-rw-r--r--ast/ffitschan.c1023
-rw-r--r--ast/ffitstable.c234
-rw-r--r--ast/ffluxframe.c104
-rw-r--r--ast/fframe.c514
-rw-r--r--ast/fframeset.c214
-rw-r--r--ast/fgrismmap.c99
-rw-r--r--ast/finterval.c109
-rw-r--r--ast/fintramap.c332
-rw-r--r--ast/fitschan.c43747
-rw-r--r--ast/fitschan.h933
-rw-r--r--ast/fitstable.c3006
-rw-r--r--ast/fitstable.h235
-rw-r--r--ast/fkeymap.c1441
-rw-r--r--ast/flutmap.c107
-rw-r--r--ast/fluxframe.c4490
-rw-r--r--ast/fluxframe.h267
-rw-r--r--ast/fmapping.c771
-rw-r--r--ast/fmathmap.c122
-rw-r--r--ast/fmatrixmap.c110
-rw-r--r--ast/fnormmap.c101
-rw-r--r--ast/fnullregion.c104
-rw-r--r--ast/fobject.c674
-rw-r--r--ast/fpcdmap.c103
-rw-r--r--ast/fpermmap.c110
-rw-r--r--ast/fplot.c683
-rw-r--r--ast/fplot3d.c107
-rw-r--r--ast/fpointlist.c117
-rw-r--r--ast/fpolygon.c226
-rw-r--r--ast/fpolymap.c159
-rw-r--r--ast/fprism.c105
-rw-r--r--ast/frame.c16067
-rw-r--r--ast/frame.f71
-rw-r--r--ast/frame.h1459
-rw-r--r--ast/frames.pdfbin7196 -> 0 bytes-rw-r--r--ast/frameset.c13337
-rw-r--r--ast/frameset.h714
-rw-r--r--ast/frameset.pdfbin28443 -> 0 bytes-rw-r--r--ast/fratemap.c106
-rw-r--r--ast/fregion.c297
-rw-r--r--ast/fronta.pdfbin22646 -> 0 bytes-rw-r--r--ast/fronta_bw.pdfbin22635 -> 0 bytes-rw-r--r--ast/frontb.pdfbin66281 -> 0 bytes-rw-r--r--ast/frontb_bw.pdfbin66247 -> 0 bytes-rw-r--r--ast/frontc.pdfbin43197 -> 0 bytes-rw-r--r--ast/frontc_bw.pdfbin43186 -> 0 bytes-rw-r--r--ast/fsalign.pdfbin51413 -> 0 bytes-rw-r--r--ast/fsconvert.pdfbin18693 -> 0 bytes-rw-r--r--ast/fselectormap.c115
-rw-r--r--ast/fsexample.pdfbin17716 -> 0 bytes-rw-r--r--ast/fshiftmap.c103
-rw-r--r--ast/fskyframe.c112
-rw-r--r--ast/fslamap.c122
-rw-r--r--ast/fsmerge.pdfbin47115 -> 0 bytes-rw-r--r--ast/fspecfluxframe.c104
-rw-r--r--ast/fspecframe.c134
-rw-r--r--ast/fspecmap.c124
-rw-r--r--ast/fsphmap.c99
-rw-r--r--ast/fsremap.pdfbin24970 -> 0 bytes-rw-r--r--ast/fstc.c114
-rw-r--r--ast/fstccatalogentrylocation.c117
-rw-r--r--ast/fstcobsdatalocation.c117
-rw-r--r--ast/fstcresourceprofile.c118
-rw-r--r--ast/fstcschan.c131
-rw-r--r--ast/fstcsearchlocation.c117
-rw-r--r--ast/fswitchmap.c118
-rw-r--r--ast/ftable.c330
-rw-r--r--ast/ftemplateclass.c109
-rw-r--r--ast/ftimeframe.c114
-rw-r--r--ast/ftimemap.c122
-rw-r--r--ast/ftranmap.c104
-rw-r--r--ast/funitmap.c101
-rw-r--r--ast/funitnormmap.c105
-rw-r--r--ast/fwcsmap.c108
-rw-r--r--ast/fwinmap.c110
-rw-r--r--ast/fxmlchan.c130
-rw-r--r--ast/fzoommap.c103
-rwxr-xr-xast/getatt163
-rw-r--r--ast/getnewversion15
-rw-r--r--ast/globals.c253
-rw-r--r--ast/globals.h247
-rw-r--r--ast/grf.h110
-rw-r--r--ast/grf3d.c102
-rw-r--r--ast/grf3d.h69
-rw-r--r--ast/grf3d_pgplot.c3196
-rw-r--r--ast/grf_2.0.c101
-rw-r--r--ast/grf_3.2.c74
-rw-r--r--ast/grf_5.6.c77
-rw-r--r--ast/grf_null.c98
-rw-r--r--ast/grf_pgplot.c1494
-rw-r--r--ast/gridplot.pdfbin50536 -> 0 bytes-rw-r--r--ast/gridplot_bw.pdfbin50506 -> 0 bytes-rw-r--r--ast/grismmap.c2596
-rw-r--r--ast/grismmap.h353
-rw-r--r--ast/interval.c4686
-rw-r--r--ast/interval.h236
-rw-r--r--ast/intramap.c2942
-rw-r--r--ast/intramap.h344
-rw-r--r--ast/keymap.c10972
-rw-r--r--ast/keymap.h569
-rw-r--r--ast/leap-seconds.pngbin47101 -> 0 bytes-rw-r--r--ast/loader.c199
-rw-r--r--ast/loader.h49
-rw-r--r--ast/lutmap.c2629
-rw-r--r--ast/lutmap.h335
-rw-r--r--ast/makeh313
-rw-r--r--ast/mapping.c24692
-rw-r--r--ast/mapping.h856
-rw-r--r--ast/mapping.pdfbin8013 -> 0 bytes-rw-r--r--ast/mathmap.c7421
-rw-r--r--ast/mathmap.h410
-rw-r--r--ast/matrixmap.c5731
-rw-r--r--ast/matrixmap.h318
-rw-r--r--ast/memory.c5470
-rw-r--r--ast/memory.h347
-rw-r--r--ast/normmap.c1720
-rw-r--r--ast/normmap.h217
-rw-r--r--ast/nullregion.c2093
-rw-r--r--ast/nullregion.h221
-rw-r--r--ast/object.c8950
-rw-r--r--ast/object.f70
-rw-r--r--ast/object.h.in1960
-rw-r--r--ast/overgrid.pdfbin26963 -> 0 bytes-rw-r--r--ast/overgrid_bw.pdfbin25865 -> 0 bytes-rw-r--r--ast/pal.h582
-rw-r--r--ast/pal/pal.h551
-rw-r--r--ast/pal/pal1sofa.h142
-rw-r--r--ast/pal/palAddet.c112
-rw-r--r--ast/pal/palAmpqk.c159
-rw-r--r--ast/pal/palCaldj.c99
-rw-r--r--ast/pal/palDat.c95
-rw-r--r--ast/pal/palDe2h.c142
-rw-r--r--ast/pal/palDeuler.c141
-rw-r--r--ast/pal/palDh2e.c133
-rw-r--r--ast/pal/palDjcal.c97
-rw-r--r--ast/pal/palDmat.c182
-rw-r--r--ast/pal/palDrange.c77
-rw-r--r--ast/pal/palDs2tp.c127
-rw-r--r--ast/pal/palDtp2s.c95
-rw-r--r--ast/pal/palDtps2c.c151
-rw-r--r--ast/pal/palDtt.c77
-rw-r--r--ast/pal/palEcmat.c82
-rw-r--r--ast/pal/palEqgal.c118
-rw-r--r--ast/pal/palEtrms.c106
-rw-r--r--ast/pal/palEvp.c110
-rw-r--r--ast/pal/palFk45z.c186
-rw-r--r--ast/pal/palFk524.c259
-rw-r--r--ast/pal/palFk54z.c113
-rw-r--r--ast/pal/palGaleq.c118
-rw-r--r--ast/pal/palGalsup.c116
-rw-r--r--ast/pal/palGeoc.c83
-rw-r--r--ast/pal/palMappa.c129
-rw-r--r--ast/pal/palMapqkz.c150
-rw-r--r--ast/pal/palOne2One.c1482
-rw-r--r--ast/pal/palPrebn.c98
-rw-r--r--ast/pal/palPrec.c107
-rw-r--r--ast/pal/palPrenut.c111
-rw-r--r--ast/pal/palPvobs.c108
-rw-r--r--ast/pal/palRvgalc.c111
-rw-r--r--ast/pal/palRvlg.c106
-rw-r--r--ast/pal/palRvlsrd.c116
-rw-r--r--ast/pal/palRvlsrk.c116
-rw-r--r--ast/pal/palSubet.c112
-rw-r--r--ast/pal/palSupgal.c116
-rw-r--r--ast/pal/palmac.h136
-rw-r--r--ast/pal2ast.h134
-rw-r--r--ast/palwrap.c301
-rw-r--r--ast/parallel.pdfbin10441 -> 0 bytes-rw-r--r--ast/pcdmap.c3218
-rw-r--r--ast/pcdmap.h357
-rw-r--r--ast/permmap.c3204
-rw-r--r--ast/permmap.h322
-rw-r--r--ast/pg3d.h68
-rw-r--r--ast/plot.c32074
-rw-r--r--ast/plot.f71
-rw-r--r--ast/plot.h1417
-rw-r--r--ast/plot3d.c8587
-rw-r--r--ast/plot3d.h258
-rw-r--r--ast/pointlist.c3407
-rw-r--r--ast/pointlist.h239
-rw-r--r--ast/pointset.c3285
-rw-r--r--ast/pointset.h711
-rw-r--r--ast/polygon.c7087
-rw-r--r--ast/polygon.h353
-rw-r--r--ast/polymap.c6107
-rw-r--r--ast/polymap.h386
-rwxr-xr-xast/prepare_all41
-rwxr-xr-xast/prepare_docs16
-rwxr-xr-xast/prepare_hyperdocs37
-rwxr-xr-xast/prepare_release39
-rw-r--r--ast/prism.c4448
-rw-r--r--ast/prism.h238
-rw-r--r--ast/proj.c4840
-rw-r--r--ast/proj.h181
-rw-r--r--ast/ratemap.c2011
-rw-r--r--ast/ratemap.h276
-rw-r--r--ast/region.c13502
-rw-r--r--ast/region.h515
-rwxr-xr-xast/selectfc29
-rw-r--r--ast/selectormap.c1838
-rw-r--r--ast/selectormap.h277
-rw-r--r--ast/series.pdfbin10149 -> 0 bytes-rw-r--r--ast/shiftmap.c1617
-rw-r--r--ast/shiftmap.h290
-rw-r--r--ast/simpexamp.pdfbin7842 -> 0 bytes-rw-r--r--ast/skyaxis.c5150
-rw-r--r--ast/skyaxis.h428
-rw-r--r--ast/skyframe.c12592
-rw-r--r--ast/skyframe.h508
-rw-r--r--ast/slamap.c5027
-rw-r--r--ast/slamap.h330
-rw-r--r--ast/specfluxframe.c2189
-rw-r--r--ast/specfluxframe.h215
-rw-r--r--ast/specframe.c7437
-rw-r--r--ast/specframe.h430
-rw-r--r--ast/specmap.c4696
-rw-r--r--ast/specmap.h282
-rw-r--r--ast/sphmap.c2061
-rw-r--r--ast/sphmap.h374
-rw-r--r--ast/stc.c3703
-rw-r--r--ast/stc.h240
-rw-r--r--ast/stccatalogentrylocation.c804
-rw-r--r--ast/stccatalogentrylocation.h223
-rw-r--r--ast/stcobsdatalocation.c1051
-rw-r--r--ast/stcobsdatalocation.h236
-rw-r--r--ast/stcresourceprofile.c807
-rw-r--r--ast/stcresourceprofile.h223
-rw-r--r--ast/stcs-ex1.txt13
-rw-r--r--ast/stcschan-demo1.c288
-rw-r--r--ast/stcschan-demo2.c263
-rw-r--r--ast/stcschan-demo3.c435
-rw-r--r--ast/stcschan-demo4.c262
-rw-r--r--ast/stcschan-demo5.c300
-rw-r--r--ast/stcschan.c8732
-rw-r--r--ast/stcschan.h308
-rw-r--r--ast/stcsearchlocation.c806
-rw-r--r--ast/stcsearchlocation.h222
-rw-r--r--ast/sun210_figures/cmpframe.pdfbin7432 -> 0 bytes-rw-r--r--ast/sun210_figures/complex.pdfbin15323 -> 0 bytes-rw-r--r--ast/sun210_figures/frames.pdfbin7196 -> 0 bytes-rw-r--r--ast/sun210_figures/frameset.pdfbin28443 -> 0 bytes-rw-r--r--ast/sun210_figures/fronta.pdfbin22394 -> 0 bytes-rw-r--r--ast/sun210_figures/fronta_bw.pdfbin22635 -> 0 bytes-rw-r--r--ast/sun210_figures/frontb.pdfbin57273 -> 0 bytes-rw-r--r--ast/sun210_figures/frontb_bw.pdfbin66247 -> 0 bytes-rw-r--r--ast/sun210_figures/frontc.pdfbin57629 -> 0 bytes-rw-r--r--ast/sun210_figures/frontc_bw.pdfbin43186 -> 0 bytes-rw-r--r--ast/sun210_figures/fsalign.pdfbin51413 -> 0 bytes-rw-r--r--ast/sun210_figures/fsconvert.pdfbin18693 -> 0 bytes-rw-r--r--ast/sun210_figures/fsexample.pdfbin17716 -> 0 bytes-rw-r--r--ast/sun210_figures/fsmerge.pdfbin47115 -> 0 bytes-rw-r--r--ast/sun210_figures/fsremap.pdfbin24970 -> 0 bytes-rw-r--r--ast/sun210_figures/gridplot.pdfbin50536 -> 0 bytes-rw-r--r--ast/sun210_figures/gridplot_bw.pdfbin20421 -> 0 bytes-rw-r--r--ast/sun210_figures/mapping.pdfbin8013 -> 0 bytes-rw-r--r--ast/sun210_figures/overgrid.pdfbin26963 -> 0 bytes-rw-r--r--ast/sun210_figures/overgrid_bw.pdfbin25865 -> 0 bytes-rw-r--r--ast/sun210_figures/parallel.pdfbin10441 -> 0 bytes-rw-r--r--ast/sun210_figures/series.pdfbin10149 -> 0 bytes-rw-r--r--ast/sun210_figures/simpexamp.pdfbin7842 -> 0 bytes-rw-r--r--ast/sun211_figures/cmpframe.pdfbin7432 -> 0 bytes-rw-r--r--ast/sun211_figures/complex.pdfbin15323 -> 0 bytes-rw-r--r--ast/sun211_figures/frames.pdfbin7196 -> 0 bytes-rw-r--r--ast/sun211_figures/frameset.pdfbin28443 -> 0 bytes-rw-r--r--ast/sun211_figures/fronta.pdfbin22394 -> 0 bytes-rw-r--r--ast/sun211_figures/fronta_bw.pdfbin22635 -> 0 bytes-rw-r--r--ast/sun211_figures/frontb.pdfbin57273 -> 0 bytes-rw-r--r--ast/sun211_figures/frontb_bw.pdfbin66247 -> 0 bytes-rw-r--r--ast/sun211_figures/frontc.pdfbin57629 -> 0 bytes-rw-r--r--ast/sun211_figures/frontc_bw.pdfbin43186 -> 0 bytes-rw-r--r--ast/sun211_figures/fsalign.pdfbin51413 -> 0 bytes-rw-r--r--ast/sun211_figures/fsconvert.pdfbin18693 -> 0 bytes-rw-r--r--ast/sun211_figures/fsexample.pdfbin17716 -> 0 bytes-rw-r--r--ast/sun211_figures/fsmerge.pdfbin47115 -> 0 bytes-rw-r--r--ast/sun211_figures/fsremap.pdfbin24962 -> 0 bytes-rw-r--r--ast/sun211_figures/gridplot.pdfbin50536 -> 0 bytes-rw-r--r--ast/sun211_figures/gridplot_bw.pdfbin20421 -> 0 bytes-rw-r--r--ast/sun211_figures/mapping.pdfbin8013 -> 0 bytes-rw-r--r--ast/sun211_figures/overgrid.pdfbin26963 -> 0 bytes-rw-r--r--ast/sun211_figures/overgrid_bw.pdfbin25865 -> 0 bytes-rw-r--r--ast/sun211_figures/parallel.pdfbin10441 -> 0 bytes-rw-r--r--ast/sun211_figures/series.pdfbin10149 -> 0 bytes-rw-r--r--ast/sun211_figures/simpexamp.pdfbin7842 -> 0 bytes-rw-r--r--ast/sun_master.tex21879
-rw-r--r--ast/switchmap.c2875
-rw-r--r--ast/switchmap.h289
-rw-r--r--ast/table.c5246
-rw-r--r--ast/table.h309
-rw-r--r--ast/templateclass.README29
-rw-r--r--ast/templateclass.c1483
-rw-r--r--ast/templateclass.h216
-rw-r--r--ast/timeframe.c7530
-rw-r--r--ast/timeframe.h324
-rw-r--r--ast/timemap.c5330
-rw-r--r--ast/timemap.h285
-rw-r--r--ast/tpn.c393
-rw-r--r--ast/tranmap.c2327
-rw-r--r--ast/tranmap.h276
-rw-r--r--ast/unit.c6218
-rw-r--r--ast/unit.h83
-rw-r--r--ast/unitmap.c1425
-rw-r--r--ast/unitmap.h288
-rw-r--r--ast/unitnormmap.c1666
-rw-r--r--ast/unitnormmap.h299
-rw-r--r--ast/version.h.in73
-rw-r--r--ast/wcsmap.c6094
-rw-r--r--ast/wcsmap.h591
-rw-r--r--ast/wcsmath.h67
-rw-r--r--ast/wcstrig.c189
-rw-r--r--ast/wcstrig.h63
-rw-r--r--ast/winmap.c4389
-rw-r--r--ast/winmap.h300
-rw-r--r--ast/xml.c7119
-rw-r--r--ast/xml.h392
-rw-r--r--ast/xmlchan.c14120
-rw-r--r--ast/xmlchan.h300
-rw-r--r--ast/zoommap.c2074
-rw-r--r--ast/zoommap.h322
813 files changed, 0 insertions, 624593 deletions
diff --git a/ast/.gitignore b/ast/.gitignore
deleted file mode 100644
index 742b687..0000000
--- a/ast/.gitignore
+++ /dev/null
@@ -1,65 +0,0 @@
-/AST_PAR
-/addversion
-/ast.h
-/astbad
-/ast_cpp
-/ast_link
-/ast_link_adam
-/ast_test
-/builddocs
-/f77.h
-/object.h
-/sun210.tex
-/sun210.pdf
-/sun211.tex
-/sun211.pdf
-/version.h
-/*.trs
-*.safe
-*.lo
-*.o
-*.la
-.deps/
-.libs/
-.bug
-AST_ERR
-Makefile
-Makefile.in
-aclocal.m4
-ast_err.h
-ast_test.log
-autom4te.cache/
-build-aux/
-cminpack/.deps/
-cminpack/.dirstamp
-componentinfo.dtd
-config.h
-config.h.in
-config.log
-config.status
-configure
-experiments
-fac_1521_err
-libtool
-stamp-h1
-starconf.status
-sun210.htx/
-sun210.htx_tar
-sun210.lof
-sun210.log
-sun210.out
-sun210.toc
-sun211.htx/
-sun211.htx_tar
-sun211.lof
-sun211.log
-sun211.out
-sun211.toc
-test-suite.log
-make.log
-make.log.err
-*~
-/ast_tester/*.ps
-/ast_tester/fred.tmp
-/ast_tester/fred.txt
-/ast_tester/fred2.txt
diff --git a/ast/AST_to_do b/ast/AST_to_do
deleted file mode 100644
index a1faf93..0000000
--- a/ast/AST_to_do
+++ /dev/null
@@ -1,23 +0,0 @@
-Things to do in AST (not necesarily priority order):
-
-Added 17/1/05:
-
-Done 17/1/05 - Add Prism class to CVS
-Done 17/1/05 - Correct void * arithmetic in keymap.c
-- Changing version in configure.ac and then doing make does not result in
- version.h being re-made.
-Done 29/6/05 - Complete STC classes
-Done 29/6/05 - Integrate TimeFrame
-- Move observer position attributes into Frame class
-- Extend FluxFrame to describe magnitudes and antenna temperature.
-- Write SOAP service to show off STC functionality
-- Add AzEl system to SkyFrame
-- Flux conservation in Mapping resample routines
-- Write proper tutorial documentation for new classes (regions, STC, fluxframe, etc).
-- Add support for FITS-WCS paper III "-TAB" algorithm code to FitsChan
-- Add support for HEALPIX ?? (e.g. see http://www.spacebanter.com/showthread.php?p=336715#post336715)
-- Pure Java version
-- Monitor progresss on FITS-WCS paper IV (and eventually paper V)
-- Extend ATOOLS to cover Regions, TimeFrame & STC
-- Speed up the STC facilities of XmlCHan and Stc (astSimplify is particularly
- slow)
diff --git a/ast/COPYING b/ast/COPYING
deleted file mode 100644
index 94a9ed0..0000000
--- a/ast/COPYING
+++ /dev/null
@@ -1,674 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
-
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
- "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
-"recipients" may be individuals or organizations.
-
- To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
- A "covered work" means either the unmodified Program or a work based
-on the Program.
-
- To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
- An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
-form of a work.
-
- A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
- The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
- The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
- The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
- The Corresponding Source for a work in source code form is that
-same work.
-
- 2. Basic Permissions.
-
- All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
- You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
-makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
- No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
- When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
- 4. Conveying Verbatim Copies.
-
- You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
- You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
- You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
- a) The work must carry prominent notices stating that you modified
- it, and giving a relevant date.
-
- b) The work must carry prominent notices stating that it is
- released under this License and any conditions added under section
- 7. This requirement modifies the requirement in section 4 to
- "keep intact all notices".
-
- c) You must license the entire work, as a whole, under this
- License to anyone who comes into possession of a copy. This
- License will therefore apply, along with any applicable section 7
- additional terms, to the whole of the work, and all its parts,
- regardless of how they are packaged. This License gives no
- permission to license the work in any other way, but it does not
- invalidate such permission if you have separately received it.
-
- d) If the work has interactive user interfaces, each must display
- Appropriate Legal Notices; however, if the Program has interactive
- interfaces that do not display Appropriate Legal Notices, your
- work need not make them do so.
-
- A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
- You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
- a) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by the
- Corresponding Source fixed on a durable physical medium
- customarily used for software interchange.
-
- b) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by a
- written offer, valid for at least three years and valid for as
- long as you offer spare parts or customer support for that product
- model, to give anyone who possesses the object code either (1) a
- copy of the Corresponding Source for all the software in the
- product that is covered by this License, on a durable physical
- medium customarily used for software interchange, for a price no
- more than your reasonable cost of physically performing this
- conveying of source, or (2) access to copy the
- Corresponding Source from a network server at no charge.
-
- c) Convey individual copies of the object code with a copy of the
- written offer to provide the Corresponding Source. This
- alternative is allowed only occasionally and noncommercially, and
- only if you received the object code with such an offer, in accord
- with subsection 6b.
-
- d) Convey the object code by offering access from a designated
- place (gratis or for a charge), and offer equivalent access to the
- Corresponding Source in the same way through the same place at no
- further charge. You need not require recipients to copy the
- Corresponding Source along with the object code. If the place to
- copy the object code is a network server, the Corresponding Source
- may be on a different server (operated by you or a third party)
- that supports equivalent copying facilities, provided you maintain
- clear directions next to the object code saying where to find the
- Corresponding Source. Regardless of what server hosts the
- Corresponding Source, you remain obligated to ensure that it is
- available for as long as needed to satisfy these requirements.
-
- e) Convey the object code using peer-to-peer transmission, provided
- you inform other peers where the object code and Corresponding
- Source of the work are being offered to the general public at no
- charge under subsection 6d.
-
- A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
- A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
- "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
- If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
- The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
- Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
- 7. Additional Terms.
-
- "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
- When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
- Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
- a) Disclaiming warranty or limiting liability differently from the
- terms of sections 15 and 16 of this License; or
-
- b) Requiring preservation of specified reasonable legal notices or
- author attributions in that material or in the Appropriate Legal
- Notices displayed by works containing it; or
-
- c) Prohibiting misrepresentation of the origin of that material, or
- requiring that modified versions of such material be marked in
- reasonable ways as different from the original version; or
-
- d) Limiting the use for publicity purposes of names of licensors or
- authors of the material; or
-
- e) Declining to grant rights under trademark law for use of some
- trade names, trademarks, or service marks; or
-
- f) Requiring indemnification of licensors and authors of that
- material by anyone who conveys the material (or modified versions of
- it) with contractual assumptions of liability to the recipient, for
- any liability that these contractual assumptions directly impose on
- those licensors and authors.
-
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
- If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
- Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
- 8. Termination.
-
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
- However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
- Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
-nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
- Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
-for enforcing compliance by third parties with this License.
-
- An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
- 11. Patents.
-
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
-work thus licensed is called the contributor's "contributor version".
-
- A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
- Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
- In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
- If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
- If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
- A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
- Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
- If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
- Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work. The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
- If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- <program> Copyright (C) <year> <name of author>
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
- You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-<http://www.gnu.org/licenses/>.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/ast/COPYING.LESSER b/ast/COPYING.LESSER
deleted file mode 100644
index 65c5ca8..0000000
--- a/ast/COPYING.LESSER
+++ /dev/null
@@ -1,165 +0,0 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-
- This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
- 0. Additional Definitions.
-
- As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
-
- "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
- An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
- A "Combined Work" is a work produced by combining or linking an
-Application with the Library. The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
- The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
- The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
- 1. Exception to Section 3 of the GNU GPL.
-
- You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
- 2. Conveying Modified Versions.
-
- If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
- a) under this License, provided that you make a good faith effort to
- ensure that, in the event an Application does not supply the
- function or data, the facility still operates, and performs
- whatever part of its purpose remains meaningful, or
-
- b) under the GNU GPL, with none of the additional permissions of
- this License applicable to that copy.
-
- 3. Object Code Incorporating Material from Library Header Files.
-
- The object code form of an Application may incorporate material from
-a header file that is part of the Library. You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
- a) Give prominent notice with each copy of the object code that the
- Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the object code with a copy of the GNU GPL and this license
- document.
-
- 4. Combined Works.
-
- You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
- a) Give prominent notice with each copy of the Combined Work that
- the Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
- document.
-
- c) For a Combined Work that displays copyright notices during
- execution, include the copyright notice for the Library among
- these notices, as well as a reference directing the user to the
- copies of the GNU GPL and this license document.
-
- d) Do one of the following:
-
- 0) Convey the Minimal Corresponding Source under the terms of this
- License, and the Corresponding Application Code in a form
- suitable for, and under terms that permit, the user to
- recombine or relink the Application with a modified version of
- the Linked Version to produce a modified Combined Work, in the
- manner specified by section 6 of the GNU GPL for conveying
- Corresponding Source.
-
- 1) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (a) uses at run time
- a copy of the Library already present on the user's computer
- system, and (b) will operate properly with a modified version
- of the Library that is interface-compatible with the Linked
- Version.
-
- e) Provide Installation Information, but only if you would otherwise
- be required to provide such information under section 6 of the
- GNU GPL, and only to the extent that such information is
- necessary to install and execute a modified version of the
- Combined Work produced by recombining or relinking the
- Application with a modified version of the Linked Version. (If
- you use option 4d0, the Installation Information must accompany
- the Minimal Corresponding Source and Corresponding Application
- Code. If you use option 4d1, you must provide the Installation
- Information in the manner specified by section 6 of the GNU GPL
- for conveying Corresponding Source.)
-
- 5. Combined Libraries.
-
- You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
- a) Accompany the combined library with a copy of the same work based
- on the Library, uncombined with any other library facilities,
- conveyed under the terms of this License.
-
- b) Give prominent notice with the combined library that part of it
- is a work based on the Library, and explaining where to find the
- accompanying uncombined form of the same work.
-
- 6. Revised Versions of the GNU Lesser General Public License.
-
- The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
- If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
diff --git a/ast/COPYING.LIB b/ast/COPYING.LIB
deleted file mode 100644
index eb685a5..0000000
--- a/ast/COPYING.LIB
+++ /dev/null
@@ -1,481 +0,0 @@
- GNU LIBRARY GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1991 Free Software Foundation, Inc.
- 675 Mass Ave, Cambridge, MA 02139, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the library GPL. It is
- numbered 2 because it goes with version 2 of the ordinary GPL.]
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
- This license, the Library General Public License, applies to some
-specially designated Free Software Foundation software, and to any
-other libraries whose authors decide to use it. You can use it for
-your libraries, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if
-you distribute copies of the library, or if you modify it.
-
- For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you. You must make sure that they, too, receive or can get the source
-code. If you link a program with the library, you must provide
-complete object files to the recipients so that they can relink them
-with the library, after making changes to the library and recompiling
-it. And you must show them these terms so they know their rights.
-
- Our method of protecting your rights has two steps: (1) copyright
-the library, and (2) offer you this license which gives you legal
-permission to copy, distribute and/or modify the library.
-
- Also, for each distributor's protection, we want to make certain
-that everyone understands that there is no warranty for this free
-library. If the library is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original
-version, so that any problems introduced by others will not reflect on
-the original authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that companies distributing free
-software will individually obtain patent licenses, thus in effect
-transforming the program into proprietary software. To prevent this,
-we have made it clear that any patent must be licensed for everyone's
-free use or not licensed at all.
-
- Most GNU software, including some libraries, is covered by the ordinary
-GNU General Public License, which was designed for utility programs. This
-license, the GNU Library General Public License, applies to certain
-designated libraries. This license is quite different from the ordinary
-one; be sure to read it in full, and don't assume that anything in it is
-the same as in the ordinary license.
-
- The reason we have a separate public license for some libraries is that
-they blur the distinction we usually make between modifying or adding to a
-program and simply using it. Linking a program with a library, without
-changing the library, is in some sense simply using the library, and is
-analogous to running a utility program or application program. However, in
-a textual and legal sense, the linked executable is a combined work, a
-derivative of the original library, and the ordinary General Public License
-treats it as such.
-
- Because of this blurred distinction, using the ordinary General
-Public License for libraries did not effectively promote software
-sharing, because most developers did not use the libraries. We
-concluded that weaker conditions might promote sharing better.
-
- However, unrestricted linking of non-free programs would deprive the
-users of those programs of all benefit from the free status of the
-libraries themselves. This Library General Public License is intended to
-permit developers of non-free programs to use free libraries, while
-preserving your freedom as a user of such programs to change the free
-libraries that are incorporated in them. (We have not seen how to achieve
-this as regards changes in header files, but we have achieved it as regards
-changes in the actual functions of the Library.) The hope is that this
-will lead to faster development of free libraries.
-
- The precise terms and conditions for copying, distribution and
-modification follow. Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library". The
-former contains code derived from the library, while the latter only
-works together with the library.
-
- Note that it is possible for a library to be covered by the ordinary
-General Public License rather than by this special one.
-
- GNU LIBRARY GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any software library which
-contains a notice placed by the copyright holder or other authorized
-party saying it may be distributed under the terms of this Library
-General Public License (also called "this License"). Each licensee is
-addressed as "you".
-
- A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
- The "Library", below, refers to any such software library or work
-which has been distributed under these terms. A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language. (Hereinafter, translation is
-included without limitation in the term "modification".)
-
- "Source code" for a work means the preferred form of the work for
-making modifications to it. For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
- Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it). Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-
- 1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
- You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
- 2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) The modified work must itself be a software library.
-
- b) You must cause the files modified to carry prominent notices
- stating that you changed the files and the date of any change.
-
- c) You must cause the whole of the work to be licensed at no
- charge to all third parties under the terms of this License.
-
- d) If a facility in the modified Library refers to a function or a
- table of data to be supplied by an application program that uses
- the facility, other than as an argument passed when the facility
- is invoked, then you must make a good faith effort to ensure that,
- in the event an application does not supply such function or
- table, the facility still operates, and performs whatever part of
- its purpose remains meaningful.
-
- (For example, a function in a library to compute square roots has
- a purpose that is entirely well-defined independent of the
- application. Therefore, Subsection 2d requires that any
- application-supplied function or table used by this function must
- be optional: if the application does not supply it, the square
- root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library. To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License. (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.) Do not make any other change in
-these notices.
-
- Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
- This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
- 4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
- If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library". Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
- However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library". The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
- When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library. The
-threshold for this to be true is not precisely defined by law.
-
- If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work. (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
- Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
- 6. As an exception to the Sections above, you may also compile or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
- You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License. You must supply a copy of this License. If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License. Also, you must do one
-of these things:
-
- a) Accompany the work with the complete corresponding
- machine-readable source code for the Library including whatever
- changes were used in the work (which must be distributed under
- Sections 1 and 2 above); and, if the work is an executable linked
- with the Library, with the complete machine-readable "work that
- uses the Library", as object code and/or source code, so that the
- user can modify the Library and then relink to produce a modified
- executable containing the modified Library. (It is understood
- that the user who changes the contents of definitions files in the
- Library will not necessarily be able to recompile the application
- to use the modified definitions.)
-
- b) Accompany the work with a written offer, valid for at
- least three years, to give the same user the materials
- specified in Subsection 6a, above, for a charge no more
- than the cost of performing this distribution.
-
- c) If distribution of the work is made by offering access to copy
- from a designated place, offer equivalent access to copy the above
- specified materials from the same place.
-
- d) Verify that the user has already received a copy of these
- materials or that you have already sent this user a copy.
-
- For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it. However, as a special exception,
-the source code distributed need not include anything that is normally
-distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
- It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system. Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
- 7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
- a) Accompany the combined library with a copy of the same work
- based on the Library, uncombined with any other library
- facilities. This must be distributed under the terms of the
- Sections above.
-
- b) Give prominent notice with the combined library of the fact
- that part of it is a work based on the Library, and explaining
- where to find the accompanying uncombined form of the same work.
-
- 8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License. Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License. However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
- 9. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Library or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
- 10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all. For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded. In such case, this License incorporates the limitation as if
-written in the body of this License.
-
- 13. The Free Software Foundation may publish revised and/or new
-versions of the Library General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation. If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
- 14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission. For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this. Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
- NO WARRANTY
-
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- Appendix: How to Apply These Terms to Your New Libraries
-
- If you develop a new library, and you want it to be of the greatest
-possible use to the public, we recommend making it free software that
-everyone can redistribute and change. You can do so by permitting
-redistribution under these terms (or, alternatively, under the terms of the
-ordinary General Public License).
-
- To apply these terms, attach the following notices to the library. It is
-safest to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least the
-"copyright" line and a pointer to where the full notice is found.
-
- <one line to give the library's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public
- License along with this library; if not, write to the Free
- Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the library, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
- library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-
- <signature of Ty Coon>, 1 April 1990
- Ty Coon, President of Vice
-
-That's all there is to it!
diff --git a/ast/Ers.h b/ast/Ers.h
deleted file mode 100644
index a66fa82..0000000
--- a/ast/Ers.h
+++ /dev/null
@@ -1,245 +0,0 @@
-#ifndef ERSINC
-#define ERSINC
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-/* E r s . h
-
- * Module name:
- Ers.h
-
- * Function:
- Function header for the Ers routines
-
- * Description:
- Should be included by all files using the Ers routines.
-
- * Language:
- C
-
- * Support: Tony Farrell, AAO
-
- * Copyright (c) Anglo-Australian Telescope Board, 1995.
- Not to be used for commercial purposes without AATB permission.
-
- * @(#) $Id: Ers.h,v 1.3 2005/05/17 22:21:19 rkackley Exp $
-
-
- * History:
- 04-Aug-1992 - TJF - Original version
- 25-Sep-1992 - TJF - Update comments
- 06-Oct-1992 - TJF - Rewrite for complete Ers package.
- 04-Aug-1993 - TJF - maxsize argument to ErsSPrintf needs a type
- 28-Sep-1993 - TJF - Use GNUC attribute to flag the ers calls
- as printf style. Use drama.h for configuration
- stuff.
-
- 29-Sep-1993 - TJF - Add Sccs id
- 06-Mar-1994 - TJF - Add Task Id stuff.
- 05-Feb-1995 - TJF - Add BROADCAST flag
- 06-Aug-1996 - TJF - Add const to strings arguments of ErsVSPrintf
- 30-May-2001 - TJF - Add ErsSetLogRoutine.
- 15-Jun-2001 - TJF - Add ErsGetTaskId.
- {@change entry@}
-
-
- */
-
-#ifdef ERS_STANDALONE
-/*
- * DRAMA macros and types used by Ers. They are defined here when we
- * are building ers standalone.
- */
-#define DVOID void
-#define DVOIDP void *
-#define DPUBLIC extern
-#define DPRIVATE static
-#define DCONSTV const
-#define DCONSTR const
-#define STATUS__OK 0
-#define DPROTOTYPES_OK
-#define DFLOAT_OK
-#define DCONST_I
-typedef long int StatusType;
-#define StatusOkP(_value_) (*(_value_) == STATUS__OK)
-#else
-/*
- * Include the drama.h file for configuration macros.
- */
-
-#include "drama.h"
-
-#include "status.h" /* For StatusType etc */
-#endif
-
-/*
- * Get around problems in Sparc include files, they are not ANSI compatible
- */
-#if defined(__sparc__) && !defined(sparc)
-#define sparc 1
-#endif
-
-/*
- * Floating point stuff. Only used in ErsVSPrintf.
- */
-#ifdef DFLOAT_OK
-/*
- * These values taken from bsd floatio.h
- */
-# define ERS_MAXEXP 308
-# define ERS_MAXFRACT 39
-#endif
-
-/*
- * Constants
- */
-
-#define ERS_C_LEN 200 /* Maximum length of reported messages */
-#define ERS_C_MAXMSG 30 /* Maximum number of reported messages */
-
-#define ERS_M_NOFMT (1<<0) /* Message flag masks */
-#define ERS_M_HIGHLIGHT (1<<1)
-#define ERS_M_BELL (1<<2)
-#define ERS_M_ALARM (1<<3)
-#define ERS_M_BROADCAST (1<<4)
-
-
-/*
- * This structure is used to store details of a message
- */
-typedef struct {
- StatusType mesStatus; /* Status of message */
- unsigned int context; /* Context message was written at */
- int flags; /* Message flags */
- char message[ERS_C_LEN]; /* The formated message */
- } ErsMessageType;
-
-typedef DVOIDP ErsTaskIdType;
-
-#ifdef DPROTOTYPES_OK
-/*
- * This type is that required for log routines - called on each call to
- * ErsRep with details of a single message.
- *
- * The argument "logArg" is a user value supplied when ErsStart is called.
- * It enables the user to pass any appropriate value to the log routine.
- */
-typedef DVOID (*ErsLogRoutineType)(
- DVOIDP logArg, /* Supplied to ErsStart */
- DCONSTV ErsMessageType * message,/* The message */
- StatusType * status);
-/*
- * The type is that requried for the output routine - called to output
- * the messages to the user. An array of message may be output by one
- * call, with count being the number of message to output.
- *
- * The argument "outArg" is a user value supplied when ErsStart is called.
- * It enables the user to pass any appropriate value to the log routine.
- */
-typedef DVOID (*ErsOutRoutineType)(
- DVOIDP outArg, /* Supplied to ErsStart */
- unsigned int count, /* Number of messages */
- DCONSTV ErsMessageType messages[],/* Array of messages */
- StatusType * status);
-
-
-/*
- * Function prototypes.
- *
- *
- * We can't define these prorotype in the Ers main module unless we have
- * stdarg.h.
- */
-#if !defined(ERS_MAIN) || defined(DSTDARG__OK)
- DPUBLIC DVOID ErsRep(DCONSTV int flags, StatusType * status,
- DCONSTV char * string , ...)
-#ifdef __GNUC__
- __attribute__ ((format (printf, 3, 4)))
-#endif
- ;
- DPUBLIC DVOID ErsOut(DCONSTV int flags, StatusType * status,
- DCONSTV char * string, ...)
-#ifdef __GNUC__
- __attribute__ ((format (printf, 3, 4)))
-#endif
- ;
- DPUBLIC int ErsSPrintf(DCONSTV int maxLength,
- char *string,
- DCONSTV char * fmt,...)
-#ifdef __GNUC__
- __attribute__ ((format (printf, 3, 4)))
-#endif
- ;
-
-#endif /* DSTDARG_OK */
-
-DPUBLIC ErsTaskIdType ErsStart(
- ErsOutRoutineType outRoutine,
- DVOIDP outArg,
- ErsLogRoutineType logRoutine,
- DVOIDP logArg,
- StatusType * status);
-DPUBLIC DVOID ErsStop(StatusType * status);
-DPUBLIC DVOID ErsPush(void);
-DPUBLIC DVOID ErsAnnul(StatusType * status);
-DPUBLIC DVOID ErsFlush(StatusType * status);
-DPUBLIC DVOID ErsClear(StatusType * status);
-DPUBLIC DVOID ErsPop(void);
-DPUBLIC DVOID ErsSetLogRoutine(
- ErsLogRoutineType logRoutine,
- DVOIDP logArg,
- ErsLogRoutineType *oldLogRoutine,
- DVOIDP *oldLogArg,
- StatusType * status);
-
-DPUBLIC ErsTaskIdType ErsGetTaskId(StatusType *status);
-DPUBLIC DVOID ErsEnableTask(ErsTaskIdType TaskId,
- ErsTaskIdType * SavedTaskId);
-DPUBLIC DVOID ErsRestoreTask(ErsTaskIdType TaskId);
-
-
-#ifdef DSTDARG_OK
-# include <stdarg.h>
-#else
-# include <varargs.h>
-#endif
-DPUBLIC int ErsVSPrintf(
- int maxLength,
- char *string ,
- DCONSTV char * fmt0,
- va_list ap);
-#else
-/* Don't use prorotypes */
-typedef DVOID (*ErsLogRoutineType)();
-typedef DVOID (*ErsOutRoutineType)();
-
-DPUBLIC DVOID ErsRep();
-DPUBLIC DVOID ErsOut();
-
-DPUBLIC DVOID ErsStart();
-DPUBLIC DVOID ErsStop();
-DPUBLIC DVOID ErsPush();
-DPUBLIC DVOID ErsPop();
-DPUBLIC DVOID ErsAnnul();
-DPUBLIC DVOID ErsFlush();
-DPUBLIC DVOID ErsClear();
-DPUBLIC DVOID ErsSetLogRoutine();
-DPUBLIC ErsTaskIdType ErsGetTaskId();
-
-DPUBLIC int ErsVSPrintf();
-DPUBLIC int ErsSPrintf();
-
-DPUBLIC DVOID ErsEnableTask();
-DPUBLIC DVOID ErsRestoreTask();
-
-
-#endif
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/ast/GRF_PAR b/ast/GRF_PAR
deleted file mode 100644
index 0c1d9aa..0000000
--- a/ast/GRF_PAR
+++ /dev/null
@@ -1,124 +0,0 @@
-*+
-* Name:
-* GRF_PAR
-
-* Purpose:
-* Define the constants needed to implement Fortran GRF routines.
-
-* Language:
-* Fortran 77
-
-* Type of Module:
-* Include file.
-
-* Description:
-* This file contains definitions which are required by Fortran 77
-* programs which implement their own grf routines (routines for
-* drawing graphics primitive used by the AST Plot class).
-
-* Copyright:
-* Copyright (C) 1997-2006 Council for the Central Laboratory of the
-* Research Councils
-
-* Licence:
-* This program is free software: you can redistribute it and/or
-* modify it under the terms of the GNU Lesser General Public
-* License as published by the Free Software Foundation, either
-* version 3 of the License, or (at your option) any later
-* version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General
-* License along with this program. If not, see
-* <http://www.gnu.org/licenses/>.
-
-* Authors:
-* DSB: David S. Berry (Starlink)
-
-* History:
-* 13-JUN-2001 (DSB):
-* Original version.
-*-
-
-* Values identifying different graphics attributes.
- INTEGER GRF__STYLE
- PARAMETER ( GRF__STYLE = 0 )
-
- INTEGER GRF__WIDTH
- PARAMETER ( GRF__WIDTH = 1 )
-
- INTEGER GRF__SIZE
- PARAMETER ( GRF__SIZE = 2 )
-
- INTEGER GRF__FONT
- PARAMETER ( GRF__FONT = 3 )
-
- INTEGER GRF__COLOUR
- PARAMETER ( GRF__COLOUR = 4 )
-
-* Values identifying different graphics primatives.
- INTEGER GRF__TEXT
- PARAMETER ( GRF__TEXT = 0 )
-
- INTEGER GRF__LINE
- PARAMETER ( GRF__LINE = 1 )
-
- INTEGER GRF__MARK
- PARAMETER ( GRF__MARK = 2 )
-
-* The number of different graphics attributes.
- INTEGER GRF__NATTR
- PARAMETER ( GRF__NATTR = 5 )
-
-* Values identifying capabilities.
- INTEGER GRF__ESC
- PARAMETER ( GRF__ESC = 0 )
-
- INTEGER GRF__MJUST
- PARAMETER ( GRF__MJUST = 1 )
-
- INTEGER GRF__SCALES
- PARAMETER ( GRF__SCALES = 2 )
-
-* Values identifying types of graphics escape sequence
- INTEGER GRF__ESPER
- PARAMETER ( GRF__ESPER = 1 )
-
- INTEGER GRF__ESSUP
- PARAMETER ( GRF__ESSUP = 2 )
-
- INTEGER GRF__ESSUB
- PARAMETER ( GRF__ESSUB = 3 )
-
- INTEGER GRF__ESGAP
- PARAMETER ( GRF__ESGAP = 4 )
-
- INTEGER GRF__ESBAC
- PARAMETER ( GRF__ESBAC = 5 )
-
- INTEGER GRF__ESSIZ
- PARAMETER ( GRF__ESSIZ = 6 )
-
- INTEGER GRF__ESWID
- PARAMETER ( GRF__ESWID = 7 )
-
- INTEGER GRF__ESFON
- PARAMETER ( GRF__ESFON = 8 )
-
- INTEGER GRF__ESCOL
- PARAMETER ( GRF__ESCOL = 9 )
-
- INTEGER GRF__ESSTY
- PARAMETER ( GRF__ESSTY = 10 )
-
- INTEGER GRF__ESPOP
- PARAMETER ( GRF__ESPOP = 11 )
-
- INTEGER GRF__ESPSH
- PARAMETER ( GRF__ESPSH = 12 )
-
-
diff --git a/ast/Makefile.am b/ast/Makefile.am
deleted file mode 100644
index 56096e7..0000000
--- a/ast/Makefile.am
+++ /dev/null
@@ -1,828 +0,0 @@
-## Process this file with automake to produce Makefile.in
-
-# First declare various groups of files. These were initially extracted
-# from the grp.make file, as constructed by the SDT newdev command
-GRP_C_ROUTINES = \
- axis.c \
- box.c \
- channel.c \
- chebymap.c \
- circle.c \
- cmpframe.c \
- cmpmap.c \
- cmpregion.c \
- dsbspecframe.c \
- dssmap.c \
- ellipse.c \
- error.c \
- fitschan.c \
- fitstable.c \
- fluxframe.c \
- frame.c \
- frameset.c \
- globals.c \
- grismmap.c \
- interval.c \
- intramap.c \
- keymap.c \
- loader.c \
- lutmap.c \
- mapping.c \
- mathmap.c \
- matrixmap.c \
- memory.c \
- normmap.c \
- nullregion.c \
- object.c \
- pcdmap.c \
- permmap.c \
- plot.c \
- plot3d.c \
- pointlist.c \
- pointset.c \
- polygon.c \
- polymap.c \
- prism.c \
- ratemap.c \
- region.c \
- selectormap.c \
- shiftmap.c \
- skyaxis.c \
- skyframe.c \
- slamap.c \
- specfluxframe.c \
- specframe.c \
- specmap.c \
- sphmap.c \
- stc.c \
- stccatalogentrylocation.c \
- stcobsdatalocation.c \
- stcresourceprofile.c \
- stcschan.c \
- stcsearchlocation.c \
- switchmap.c \
- table.c \
- timeframe.c \
- timemap.c \
- tranmap.c \
- unit.c \
- unitmap.c \
- unitnormmap.c \
- wcsmap.c \
- winmap.c \
- xml.c \
- xmlchan.c \
- zoommap.c
-
-
-# The C source files required for the Fortran interface
-if !NOFORTRAN
-F_C_ROUTINES = \
- c2f77.c \
- fbox.c \
- fchannel.c \
- fchebymap.c \
- fcircle.c \
- fcmpframe.c \
- fcmpmap.c \
- fcmpregion.c \
- fdsbspecframe.c \
- fdssmap.c \
- fellipse.c \
- ferror.c \
- ffitschan.c \
- ffitstable.c \
- ffluxframe.c \
- fframe.c \
- fframeset.c \
- fgrismmap.c \
- finterval.c \
- fintramap.c \
- fkeymap.c \
- flutmap.c \
- fmapping.c \
- fmathmap.c \
- fmatrixmap.c \
- fnormmap.c \
- fnullregion.c \
- fobject.c \
- fpcdmap.c \
- fpermmap.c \
- fplot.c \
- fplot3d.c \
- fpointlist.c \
- fpolygon.c \
- fpolymap.c \
- fprism.c \
- fratemap.c \
- fregion.c \
- fselectormap.c \
- fshiftmap.c \
- fskyframe.c \
- fslamap.c \
- fspecfluxframe.c \
- fspecframe.c \
- fspecmap.c \
- fsphmap.c \
- fstc.c \
- fstccatalogentrylocation.c \
- fstcobsdatalocation.c \
- fstcresourceprofile.c \
- fstcschan.c \
- fstcsearchlocation.c \
- fswitchmap.c \
- ftable.c \
- ftimeframe.c \
- ftimemap.c \
- ftranmap.c \
- funitmap.c \
- funitnormmap.c \
- fwcsmap.c \
- fwinmap.c \
- fxmlchan.c \
- fzoommap.c
-else
-F_C_ROUTINES =
-endif
-
-# Header files which contribute to the "ast.h" file, organised to correspond
-# with the class hierarchy.
-AST_H_FILES = \
- xml.h \
- wcstrig.h \
- proj.h \
- memory.h \
- error.h \
- globals.h \
- unit.h \
- ast_err.h \
- version.h \
- object.h \
- keymap.h \
- table.h \
- fitstable.h \
- pointset.h \
- axis.h \
- skyaxis.h \
- mapping.h \
- cmpmap.h \
- dssmap.h \
- grismmap.h \
- intramap.h \
- lutmap.h \
- mathmap.h \
- matrixmap.h \
- pcdmap.h \
- permmap.h \
- polymap.h \
- chebymap.h \
- ratemap.h \
- normmap.h \
- shiftmap.h \
- slamap.h \
- specmap.h \
- sphmap.h \
- timemap.h \
- selectormap.h \
- switchmap.h \
- tranmap.h \
- unitmap.h \
- unitnormmap.h \
- wcsmap.h \
- winmap.h \
- zoommap.h \
- frame.h \
- cmpframe.h \
- specfluxframe.h \
- fluxframe.h \
- frameset.h \
- plot.h \
- plot3d.h \
- skyframe.h \
- specframe.h \
- dsbspecframe.h \
- region.h \
- box.h \
- circle.h \
- cmpregion.h \
- ellipse.h \
- interval.h \
- nullregion.h \
- pointlist.h \
- polygon.h \
- prism.h \
- stc.h \
- stcresourceprofile.h \
- stcsearchlocation.h \
- stccatalogentrylocation.h \
- stcobsdatalocation.h \
- timeframe.h \
- channel.h \
- fitschan.h \
- stcschan.h \
- xmlchan.h
-
-# All the (C) include files required to build the library.
-GRP_C_INCLUDE_FILES = \
- $(AST_H_FILES) \
- ems.h \
- err.h \
- Ers.h \
- f77.h \
- grf.h \
- grf3d.h \
- pg3d.h \
- loader.h \
- pal2ast.h \
- skyaxis.h \
- erfa2ast.h \
- stc.h \
- stcresourceprofile.h \
- stcsearchlocation.h \
- stccatalogentrylocation.h \
- stcobsdatalocation.h \
- wcsmath.h \
- wcstrig.h \
- xmlchan.h
-
-if !NOFORTRAN
-F_C_INCLUDE_FILES = \
- c2f77.h
-
-# The following list should include AST_PAR, but that must not be
-# distributed, and so it is listed separately in
-# nodist_libast_la_SOURCES below.
-GRP_F_INCLUDE_FILES = \
- GRF_PAR \
- AST_ERR
-
-else
-F_C_INCLUDE_FILES =
-GRP_F_INCLUDE_FILES =
-endif
-
-# If we have no Fortran we are not building f77.h and we probably
-# do not want a Fortran runtime. This requires that PGPLOT is disabled.
-# We replace it with the stub GRF interface. An alternative would
-# be to have the PGPLOT wrappers use a preprocessor symbol to build
-# the pgplot to always error if used.
-if !NOFORTRAN
-GRF_PGPLOT_SOURCES = \
- grf_pgplot.c
-GRF3D_PGPLOT_SOURCES = \
- grf3d_pgplot.c
-else
-GRF_PGPLOT_SOURCES = \
- grf_5.6.c
-GRF3D_PGPLOT_SOURCES = \
- grf3d.c
-endif
-
-
-## Following declaration isn't used
-## LATEX_DOCUMENTATION_FILES = \
-## sun210.tex \
-## sun211.tex
-
-DOCUMENTATION_PRODUCTS = $(PAPER_DOCUMENTATION) $(HYPER_DOCUMENTATION)
-PAPER_DOCUMENTATION = sun210.tex sun211.tex sun210.pdf sun211.pdf
-HYPER_DOCUMENTATION = sun210.htx_tar sun211.htx_tar
-
-PDF_FIGURES = \
- cmpframe.pdf \
- complex.pdf \
- frames.pdf \
- frameset.pdf \
- fronta.pdf \
- fronta_bw.pdf \
- frontb.pdf \
- frontb_bw.pdf \
- frontc.pdf \
- frontc_bw.pdf \
- fsalign.pdf \
- fsconvert.pdf \
- fsexample.pdf \
- fsmerge.pdf \
- fsremap.pdf \
- gridplot.pdf \
- gridplot_bw.pdf \
- mapping.pdf \
- overgrid.pdf \
- overgrid_bw.pdf \
- parallel.pdf \
- series.pdf \
- simpexamp.pdf
-
-WCSLIB_FILES = \
- proj.c \
- tpn.c \
- proj.h \
- wcstrig.c \
- wcsmath.h \
- wcstrig.h
-
-STAR_PAL_FILES = \
- pal/pal.h \
- pal/palAddet.c \
- pal/palAmpqk.c \
- pal/palCaldj.c \
- pal/palDat.c \
- pal/palDe2h.c \
- pal/palDeuler.c \
- pal/palDh2e.c \
- pal/palDjcal.c \
- pal/palDmat.c \
- pal/palDrange.c \
- pal/palDs2tp.c \
- pal/palDtp2s.c \
- pal/palDtps2c.c \
- pal/palDtt.c \
- pal/palEcmat.c \
- pal/palEqgal.c \
- pal/palEtrms.c \
- pal/palEvp.c \
- pal/palFk45z.c \
- pal/palFk524.c \
- pal/palFk54z.c \
- pal/palGaleq.c \
- pal/palGalsup.c \
- pal/palMappa.c \
- pal/palMapqkz.c \
- pal/palOne2One.c \
- pal/palPrebn.c \
- pal/palPrec.c \
- pal/palPrenut.c \
- pal/palPvobs.c \
- pal/palRvgalc.c \
- pal/palRvlg.c \
- pal/palRvlsrd.c \
- pal/palRvlsrk.c \
- pal/palSubet.c \
- pal/palSupgal.c \
- pal/pal1sofa.h \
- pal/palmac.h
-
-ERFA_FILES = \
- erfa/00READ.ME \
- erfa/erfa.h \
- erfa/erfam.h \
- erfa/a2af.c \
- erfa/a2tf.c \
- erfa/af2a.c \
- erfa/anp.c \
- erfa/anpm.c \
- erfa/bi00.c \
- erfa/bp00.c \
- erfa/bp06.c \
- erfa/bpn2xy.c \
- erfa/c2i00a.c \
- erfa/c2i00b.c \
- erfa/c2i06a.c \
- erfa/c2ibpn.c \
- erfa/c2ixy.c \
- erfa/c2ixys.c \
- erfa/c2s.c \
- erfa/c2t00a.c \
- erfa/c2t00b.c \
- erfa/c2t06a.c \
- erfa/c2tcio.c \
- erfa/c2teqx.c \
- erfa/c2tpe.c \
- erfa/c2txy.c \
- erfa/cal2jd.c \
- erfa/cp.c \
- erfa/cpv.c \
- erfa/cr.c \
- erfa/d2dtf.c \
- erfa/d2tf.c \
- erfa/dat.c \
- erfa/dtdb.c \
- erfa/dtf2d.c \
- erfa/ee00.c \
- erfa/ee00a.c \
- erfa/ee00b.c \
- erfa/ee06a.c \
- erfa/eect00.c \
- erfa/eform.c \
- erfa/eo06a.c \
- erfa/eors.c \
- erfa/epb.c \
- erfa/epb2jd.c \
- erfa/epj.c \
- erfa/epj2jd.c \
- erfa/epv00.c \
- erfa/eqeq94.c \
- erfa/era00.c \
- erfa/fad03.c \
- erfa/fae03.c \
- erfa/faf03.c \
- erfa/faju03.c \
- erfa/fal03.c \
- erfa/falp03.c \
- erfa/fama03.c \
- erfa/fame03.c \
- erfa/fane03.c \
- erfa/faom03.c \
- erfa/fapa03.c \
- erfa/fasa03.c \
- erfa/faur03.c \
- erfa/fave03.c \
- erfa/fk52h.c \
- erfa/fk5hip.c \
- erfa/fk5hz.c \
- erfa/fw2m.c \
- erfa/fw2xy.c \
- erfa/gc2gd.c \
- erfa/gc2gde.c \
- erfa/gd2gc.c \
- erfa/gd2gce.c \
- erfa/gmst00.c \
- erfa/gmst06.c \
- erfa/gmst82.c \
- erfa/gst00a.c \
- erfa/gst00b.c \
- erfa/gst06.c \
- erfa/gst06a.c \
- erfa/gst94.c \
- erfa/h2fk5.c \
- erfa/hfk5z.c \
- erfa/ir.c \
- erfa/jd2cal.c \
- erfa/jdcalf.c \
- erfa/num00a.c \
- erfa/num00b.c \
- erfa/num06a.c \
- erfa/numat.c \
- erfa/nut00a.c \
- erfa/nut00b.c \
- erfa/nut06a.c \
- erfa/nut80.c \
- erfa/nutm80.c \
- erfa/obl06.c \
- erfa/obl80.c \
- erfa/p06e.c \
- erfa/p2pv.c \
- erfa/p2s.c \
- erfa/pap.c \
- erfa/pas.c \
- erfa/pb06.c \
- erfa/pdp.c \
- erfa/pfw06.c \
- erfa/plan94.c \
- erfa/pm.c \
- erfa/pmat00.c \
- erfa/pmat06.c \
- erfa/pmat76.c \
- erfa/pmp.c \
- erfa/pn.c \
- erfa/pn00.c \
- erfa/pn00a.c \
- erfa/pn00b.c \
- erfa/pn06.c \
- erfa/pn06a.c \
- erfa/pnm00a.c \
- erfa/pnm00b.c \
- erfa/pnm06a.c \
- erfa/pnm80.c \
- erfa/pom00.c \
- erfa/ppp.c \
- erfa/ppsp.c \
- erfa/pr00.c \
- erfa/prec76.c \
- erfa/pv2p.c \
- erfa/pv2s.c \
- erfa/pvdpv.c \
- erfa/pvm.c \
- erfa/pvmpv.c \
- erfa/pvppv.c \
- erfa/pvstar.c \
- erfa/pvu.c \
- erfa/pvup.c \
- erfa/pvxpv.c \
- erfa/pxp.c \
- erfa/refco.c \
- erfa/rm2v.c \
- erfa/rv2m.c \
- erfa/rx.c \
- erfa/rxp.c \
- erfa/rxpv.c \
- erfa/rxr.c \
- erfa/ry.c \
- erfa/rz.c \
- erfa/s00.c \
- erfa/s00a.c \
- erfa/s00b.c \
- erfa/s06.c \
- erfa/s06a.c \
- erfa/s2c.c \
- erfa/s2p.c \
- erfa/s2pv.c \
- erfa/s2xpv.c \
- erfa/sepp.c \
- erfa/seps.c \
- erfa/sp00.c \
- erfa/starpm.c \
- erfa/starpv.c \
- erfa/sxp.c \
- erfa/sxpv.c \
- erfa/taitt.c \
- erfa/taiut1.c \
- erfa/taiutc.c \
- erfa/tcbtdb.c \
- erfa/tcgtt.c \
- erfa/tdbtcb.c \
- erfa/tdbtt.c \
- erfa/tf2a.c \
- erfa/tf2d.c \
- erfa/tr.c \
- erfa/trxp.c \
- erfa/trxpv.c \
- erfa/tttai.c \
- erfa/tttcg.c \
- erfa/tttdb.c \
- erfa/ttut1.c \
- erfa/ut1tai.c \
- erfa/ut1tt.c \
- erfa/ut1utc.c \
- erfa/utctai.c \
- erfa/utcut1.c \
- erfa/xy06.c \
- erfa/xys00a.c \
- erfa/xys00b.c \
- erfa/xys06a.c \
- erfa/zp.c \
- erfa/zpv.c \
- erfa/zr.c
-
-PAL_FILES = \
- palwrap.c \
- pal.h \
- erfa.h \
- erfam.h
-
-CMINPACK_FILES = \
- cminpack/cminpack.h \
- cminpack/cminpackP.h \
- cminpack/lmder1.c \
- cminpack/lmder.c \
- cminpack/dpmpar.c \
- cminpack/enorm.c \
- cminpack/qrfac.c \
- cminpack/lmpar.c \
- cminpack/qrsolv.c
-
-bin_SCRIPTS = ast_link
-dist_bin_SCRIPTS = ast_link_adam
-noinst_SCRIPTS = ast_cpp
-dist_noinst_SCRIPTS = makeh
-# Scripts are not distributed by default (since they might be derived objects)
-# Add these to the distribution below. In fact, it would be useful
-# and straightforward to make ast_link{,_adam} derived, since they
-# could then have installation directories painlessly edited in to
-# them. This might be a requirement for scripts which supported
-# linking against shared libraries.
-
-# Headers required by library users. Both of the following lines
-# indicate headers which are installed.
-include_HEADERS = GRF_PAR grf.h grf3d.h
-# Following are generated, so should not be distributed.
-nodist_include_HEADERS = ast.h AST_PAR
-include_MESSAGES = AST_ERR ast_err.h
-
-if EXTERNAL_PAL
-PAL_LIB =
-else
-PAL_LIB = libast_pal.la
-endif
-
-lib_LTLIBRARIES = \
- $(PAL_LIB) \
- libast.la \
- libast_err.la \
- libast_ems.la \
- libast_drama.la \
- libast_grf3d.la \
- libast_grf_2.0.la \
- libast_grf_3.2.la \
- libast_grf_5.6.la \
- libast_pgplot.la \
- libast_pgplot3d.la
-
-stardocs_DATA = @STAR_LATEX_DOCUMENTATION@
-dist_starnews_DATA = ast.news
-dist_pkgdata_DATA = COPYING COPYING.LESSER COPYING.LIB
-
-# Make all library code position independent by default. This is handy for
-# creating shareable libraries from the static ones (Java JNI libraries).
-# Note we do not simply set the AM_CFLAGS variable, as this would also
-# apply to programs compiled without using libtool, possibly causing the
-# compilation to fail.
-
-if !NOTHREADS
-
-if !NOPIC
-libast_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -DTHREAD_SAFE
-else
-libast_la_CFLAGS = $(AM_CFLAGS) -DTHREAD_SAFE
-endif
-
-else
-libast_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-
-endif
-
-if !NOPIC
-libast_err_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-libast_ems_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-libast_drama_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-libast_grf3d_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-libast_grf_2_0_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-libast_grf_3_2_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-libast_grf_5_6_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-libast_pgplot_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-libast_pgplot3d_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-libast_pal_la_CFLAGS = $(AM_CFLAGS) -prefer-pic
-endif
-
-# The module containing the main AST classes
-libast_la_SOURCES = \
- $(GRP_C_ROUTINES) \
- $(F_C_ROUTINES) \
- $(GRP_C_INCLUDE_FILES) \
- $(F_C_INCLUDE_FILES) \
- $(GRP_F_INCLUDE_FILES) \
- $(CMINPACK_FILES) \
- $(WCSLIB_FILES) \
- ast_err.h
-
-# Ensure libast links against libraries containing functions used within
-# libast. If AST is configured --with-external-pal, then the internal
-# libast_pal library will be empty, and we link to an external PAL
-# library instead.
-if EXTERNAL_PAL
-libast_la_LIBADD = $(libdir)/libpal.la
-else
-libast_la_LIBADD = libast_pal.la
-endif
-
-# AST_PAR is really part of GRP_F_INCLUDE_FILES, but it must not be
-# distributed, so list it separately.
-nodist_libast_la_SOURCES = \
- ast.h \
- AST_PAR
-
-# The default error reporting module.
-libast_err_la_SOURCES = err_null.c
-
-# The error reporting module that uses EMS to deliver errors.
-libast_ems_la_SOURCES = err_ems.c
-
-# The error reporting module that uses DRAMA Ers to deliver errors.
-libast_drama_la_SOURCES = err_drama.c
-
-# The module containing null implementations of the 3D graphics routines
-# required by AST
-libast_grf3d_la_SOURCES = grf3d.c
-
-# The module containing null implementations of the graphics routines
-# required by AST V2.0
-libast_grf_2_0_la_SOURCES = grf_2.0.c
-
-# The module containing null implementations of the graphics routines
-# added by AST V3.2 and not present in V2.0
-libast_grf_3_2_la_SOURCES = grf_3.2.c
-
-# The module containing null implementations of the graphics routines
-# added by AST V5.6 and not present in V3.2
-libast_grf_5_6_la_SOURCES = grf_5.6.c
-
-# The graphics module that uses PGPLOT for 2D graphical output.
-libast_pgplot_la_SOURCES = $(GRF_PGPLOT_SOURCES)
-
-# The graphics module that uses PGPLOT for 3D graphical output.
-libast_pgplot3d_la_SOURCES = $(GRF3D_PGPLOT_SOURCES)
-
-# Positional astronomy libraries.
-libast_pal_la_SOURCES = $(PAL_FILES)
-
-# The following files are built by the targets in this makefile.
-MAINTAINERCLEANFILES = version.h builddocs addversion \
- ast.h $(DOCUMENTATION_PRODUCTS)
-CLEANFILES = AST_PAR ast.h
-
-# Special cases start here
-
-# The AST_PAR include file is produced by compiling the astbad.c
-# program and editing its output into the ast_par.source file (while
-# also changing the "E" exponent character to a "D"). The astbad.c
-# and ast_par.source must be distributed (the generation of the
-# AST__BAD value must be done on the build host) but not installed.
-noinst_PROGRAMS = astbad
-astbad_SOURCES = astbad.c pointset.h
-AST_PAR: ast_par.source astbad
- sed -e 's/<AST__BAD>/'`./astbad AST__BAD | tr 'E' 'D'`'/' \
- -e 's/<AST__NAN>/'`./astbad AST__NAN | tr 'E' 'D'`'/' \
- -e 's/<AST__NANR>/'`./astbad AST__NANF | tr 'E' 'D'`'/' \
- ast_par.source >$@
-
-# ast_link is generated from ast_link.in; ast_link_adam does not
-# need configuration, and so is not mentioned in AC_CONFIG_FILES within
-# configure.ac, and so is not distributed automatically.
-#
-# makeh is required in order to build ast.h after distribution (see below).
-EXTRA_DIST = ast_par.source sun210_figures sun211_figures pal erfa cminpack
-
-# ast.h depends on the error-facility files. ast.h _could_ be made
-# before distribution, but since it's generated from other distributed
-# files, it's more robust to distribute makeh and make ast.h on the
-# build host.
-ast.h: $(AST_H_FILES) ast_err.h makeh config.h
- @PERL@ ./makeh -s $(srcdir) $(AST_H_FILES) >$@
-
-# AST_ERR and ast_err.h are `generated source files', and so must be
-# generated before any other compilations are done. Note that these
-# files are generated on the distribution host, and so this
-# declaration has no effect post-distribution.
-#
-# AST_PAR is also a generated source file, but it should _not_ be
-# included in the list of BUILT_SOURCES, otherwise `make' tries to make
-# it before it makes the `astbad' program it depends on. Instead,
-# just rely on the dependencies expressed in the main body above to
-# have AST_PAR built before it is needed.
-#
-# version.h is included by object.h, and thus indirectly by most modules.
-# It's most straightforward to build it at the beginning.
-BUILT_SOURCES = AST_ERR ast_err.h version.h
-
-# Form a second link to the main object library (static and shared). This
-# is used when a second pass through the library is needed during linking
-# to resolve references made within other AST libraries (e.g. the grf
-# modules, etc), to functions defined within libast (e.g. memory management
-# and error reporting functions). Do not forget to change the contents of
-# the libast_pass2.la file to refer to libast_pass2.* rather than libast.*.
-# Use target install-exec-hook rather than install-exec-local so that the
-# soft links and files are created *after* the main library has been
-# installed.
-install-exec-hook: libast.la
- $(mkdir_p) $(DESTDIR)$(libdir)
- cd $(DESTDIR)$(libdir); \
- for f in `ls libast.*`; do \
- ff=`echo $$f | sed -e 's/libast/libast_pass2/'`; \
- if test -f "$$ff"; then rm "$$ff"; fi; \
- $(LN_S) $$f $$ff; \
- $(MANIFEST) && echo "MANIFEST:$(DESTDIR)$(libdir)/$$ff" || :; \
- done; \
- if test -f "libast.la"; then \
- if test -f "libast_pass2.la"; then rm "libast_pass2.la"; fi; \
- sed -e 's/libast\./libast_pass2\./g' libast.la > libast_pass2.la; \
- fi
-
-# Make pre-distribution files. These are files which are required for
-# building the distribution, but are not themselves distributed.
-# The source files here should be mentioned in STAR_PREDIST_SOURCES in
-# configure.ac
-@PREDIST@predist_subs = sed \
-@PREDIST@ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),' \
-@PREDIST@ -e 's,@PACKAGE_VERSION_MAJOR\@,$(PACKAGE_VERSION_MAJOR),' \
-@PREDIST@ -e 's,@PACKAGE_VERSION_MINOR\@,$(PACKAGE_VERSION_MINOR),' \
-@PREDIST@ -e 's,@PACKAGE_VERSION_RELEASE\@,$(PACKAGE_VERSION_RELEASE),' \
-@PREDIST@ -e 's,@PERL\@,$(PERL),' \
-@PREDIST@ -e 's,@STARLINK\@,$(STARLINK),'
-
-@PREDIST@version.h: version.h.in configure.ac
-@PREDIST@ rm -f $@; $(predist_subs) version.h.in >$@
-@PREDIST@builddocs: builddocs.in configure.ac
-@PREDIST@ rm -f $@; $(predist_subs) builddocs.in >$@; chmod +x $@
-@PREDIST@addversion: addversion.in configure.ac
-@PREDIST@ rm -f $@; $(predist_subs) addversion.in >$@; chmod +x $@
-
-# Documentation
-@PREDIST@$(PAPER_DOCUMENTATION): sun211_figures builddocs addversion
-@PREDIST@ ./builddocs
-
-# The contents of the sun211_figures directory is identical to that
-# sun210_figures
-sun211_figures: sun210_figures
- $(LN_S) sun210_figures sun211_figures
-
-# Installation check
-
-TESTS = ast_test
-check_PROGRAMS = ast_test
-ast_test_SOURCES = ast_test.c
-
-test: install
- cd ast_tester && STARLINK=@STARLINK@ PGPLOT_DIR=@STARLINK@/bin ./ast_tester -nd
-
-#ast_test_LDADD = `ast_link`
-# Expand ast_link to avoid libast_pass2, which causes problems for Solaris
-ast_test_LDADD = @LIBPAL@ libast.la libast_pal.la libast_grf_3.2.la libast_grf_5.6.la libast_grf_2.0.la libast_grf3d.la libast_err.la -lm
-
-# Need to include latex support files in the distribution tar ball so
-# that the docs can be built from the tex source files. Requires environment
-# variable STARLATEXSUPPORT to be deined. Is there a better way to do this?
-dist-hook:
- cp -p $(STARLATEXSUPPORT)/starlink.cls $(distdir)/
- cp -p $(STARLATEXSUPPORT)/starabbrev.sty $(distdir)/
- cp -p $(STARLATEXSUPPORT)/starstyle.sty $(distdir)/
- cp -p $(STARLATEXSUPPORT)/sst.sty $(distdir)/
diff --git a/ast/Notes b/ast/Notes
deleted file mode 100644
index bb4ac0e..0000000
--- a/ast/Notes
+++ /dev/null
@@ -1,105 +0,0 @@
-
-Random notes about the autoconfing of AST
-
-Initial version imported from a tarball supplied by DSB. The tarball
-contained David's RCS repository plus the development directory (dev/)
-and the `reference' directory (ref/) which contains a checkout of the
-RCS repository. The development directory contains working versions
-of the files in the reference directory, plus miscellaneous test files
-and notes, plus copies of sdt.tar.Z (the RCS wrapper which has long
-been used for AST development) and sst_source.tar.Z (the documentation
-builder).
-
-The RCS repository was dropped into the CVS repository on 14 November
-2003, and tagged with ast-3-1-0-import. After thinking a bit about
-tagging policies (and writing these up on the wiki and posting to the
-stardev group), I tagged this same point as
-bp-dev-nxg-20031121-autoconfing and created a branch
-dev-nxg-20031121-autoconfing (21 November -- busy week since the
-14th...). That's the one I'll work on.
-
-I've created configure.ac, and I've developed the build system using
-reasonably current versions of the autotools (namely autoconf-2.57,
-automake versions 1.6.3 or 1.7.5, and libtool versions 1.4.2 or 1.5).
-There's no point jumping through hoops to use random obsolete versions
-(reading old documentation, and trying to keep things forwards
-compatible, untestably) simply because they're installed on RH7.3. If
-anyone plans to install these newer versions, I recall that autoconf,
-libtool, automake was the order that worked (it matters), and you need
-to install GNU m4 first on Solaris or Alpha
-
-Created starlink.m4, which includes macro STAR_FACILITY_CODE which
-facilitates declaring the `err' facility code which has been allocated
-to this library. This also AC_SUBSTs the variable ERR_FACILITY_CODE,
-and I've moved ast_err.msg and error.h to the corresponding .in files,
-modified them to have that code inserted, and put them in
-AC_CONFIG_FILES. This file should be moved to a central location when
-I work out where such a central location should be. At that point,
-./bootstrap should be edited to contain that location.
-
-The two files in grp.make's F_ROUTINES group, object.f and frame.f,
-don't appear to be used anywhere. I've omitted them in Makefile.am
-
-
-Building AST
-------------
-
-To build AST directly from the repository, you need reasonably current
-versions of the autotools (as noted above). If anyone plans to
-install these newer versions, I recall that autoconf, libtool,
-automake was the order that worked (it matters), and you need to
-install GNU m4 first on Solaris or Alpha.
-
-Recall the discussion we had on stardev about autotools and generated
-files. I have now checked in the generated files configure,
-config.h.in and Makefile.in. Later, I'll either add the fixes I added
-to autoastrom to make the `missing' script work, or see if there's a
-more supported way to do that. With those fixes and additions, it
-_will_not_matter_ which autotools versions you have, as long as you
-don't have to alter Makefile.am or configure.ac, and in any case it
-the autotools are completely unneeded for building from the
-distribution tarball.
-
-To build from the repository, do
-
- ./bootstrap
- ./configure
- make
-
-
-Conventions and facilities so far
----------------------------------
-
-The version number is set in the AC_INIT line in configure.ac, and
-propagated from there to the locations where it's needed.
-
-The string @STAR_BOILERPLATE@ must be in Makefile.{am,in}. All this
-does at present is include boilerplate for calling messgen _if_
-STAR_FACILITY_CODE is present (which it is, for AST).
-
-configure.ac should have STAR_DEFAULTS near the beginning (sets the
-default installation location to be /star rather than GNU default
-/usr/local, ensures that the STARLINK environment variable is set).
-
-STAR_FACILITY_CODE declares the error-reporting system facility code
-which has been allocated to this library.
-
-
-Modifications to AST files
---------------------------
-
-ast_err.msg is now created from ast_err.msg.in, and has the facility
-code declared in STAR_FACILITY_CODE edited into it at that point.
-Same for error.h and error.h.in.
-
-ast_cpp generated from ast_cpp.in with the CC edited in
-
-makeh now calls ast_cpp through /bin/sh (avoids having to worry about
-execute bits)
-
-Versioning: The version number (as mentioned above, set in
-configure.ac) is now substituted into version.h.in, broken into
-major.minor-release, and version.h is included in ast.h. File
-object.c now includes version.h to implement the astVersion_
-function. AST_MAJOR_VERS and co removed from makeh (since they're now
-included in ast.h inside version.h).
diff --git a/ast/STARLINK_BRANCHES b/ast/STARLINK_BRANCHES
deleted file mode 100644
index 975ab87..0000000
--- a/ast/STARLINK_BRANCHES
+++ /dev/null
@@ -1,46 +0,0 @@
-
-AST branches
-============
-
-dev-dsb-20040406
-----------------
-
-Branch created on 6th April 2004, to support classic ast.tar.Z version.
-
-
-DEV-nxg-20040830-ast-timeframe
-------------------------------
-
-Branch created on 2004 August 30, to support Norman's TimeFrame work.
-Should probably have the trunk merged to it at some point, before much
-more work is done on TimeFrame. ABANDONED 2005 March 18, in favour of
-DEV-nxg-20050314-ast-timeframe.
-
-DEV-nxg-20050314-ast-timeframe
-------------------------------
-
-Created 2005 March 14, as a fresh branch from the AST HEAD, on the
-grounds that AST has moved forward a significant amount from the
-point where branch DEV-nxg-20040830-ast-timeframe was created, and
-there's no point in multiplying our merging problems unnecessarily.
-The changes done on that previous branch were merged onto this branch,
-mostly with a patch file, but by hand where there were already conflicts.
-
-By 2005-05-04T16:00, the HEAD had again diverged significantly from
-the original branch point, so Norman merged the HEAD differences from
-the branch point onto the branch:
-
- cvs update -j bp-DEV-nxg-20050314-ast-timeframe -j HEAD
-
-DEV-dsb-20041123-ast-stc
-------------------------
-
-Branch created on "23rd November 2004" to support DSB's STC work. This is
-a branch off dev-dsb-20040406. Once I've got something worth using, I'll
-create a similar branch of the trunk. Need to think carefully about how
-to distribute AST-with-STC since AST is starting to look a bit bloated,
-and the majority of AST users won't be interested in STC.
-
-
-
-
diff --git a/ast/addcopyright b/ast/addcopyright
deleted file mode 100755
index 4772023..0000000
--- a/ast/addcopyright
+++ /dev/null
@@ -1,2 +0,0 @@
-sed -e 's/* <COPYRIGHT_STATEMENT>/* Copyright (C) 1997-'"`date +%Y`"' Council for the Central Laboratory of the\n* Research Councils/' \
- -e 's/<COPYRIGHT_STATEMENT>/Copyright (C) 1997-'"`date +%Y`"' Council for the Central Laboratory of the Research Councils/'
diff --git a/ast/addlinks b/ast/addlinks
deleted file mode 100755
index 997dad6..0000000
--- a/ast/addlinks
+++ /dev/null
@@ -1,163 +0,0 @@
-#! /usr/bin/env perl
-
-# Read a set of labels (one per line) from the "global.labels" file.
-# Then read the input lines and create links for the first occurrence
-# of each label in each Latex section encountered (the links use \htmlref
-# to refer to HTX labels elsewhere in the document). Omit links wherever
-# they are not appropriate.
-
-# Read the list of labels for which links should be generated (these may
-# contain Latex escape characters, as they must exactly match the text from
-# which the link will be generated).
- open( LABELS, 'global.labels' );
- @labels = <LABELS>;
- close( LABELS );
-
-# Sort the labels into descending order of length. This is to avoid problems
-# with labels which are abbreviations of other labels.
- @labels = sort { length( $b ) <=> length( $a ) } @labels;
-
-# Build a regexp that will match any one of the labels.
- $pattern = "";
- for $label ( @labels ) {
-
-# Remove newlines from each label.
- $label =~ s/\n//g;
-
-# Labels must be whole words unless they start/end without an alphanumeric.
- $label_q = quotemeta( $label );
- if ( $label =~ m/^\w/ ) { $label_q = "\\b" . $label_q };
- if ( $label =~ m/\w$/ ) { $label_q = $label_q . "\\b" };
-
-# Build the regexp.
- $pattern = !$pattern ? $label_q : $pattern . "|" . $label_q;
- }
-
-# Loop through the input data.
- $sdiy = 0;
- $inr = 0;
- $source_line = 10;
- $verbatim = 0;
- while ( <> ) {
-
-# Detect the start of each type of document section.
- ( $s ) = /^ *\\section\{/; # Latex section
- ( $ss ) = /^ *\\subsection\{/; # Latex subsection
- ( $sss ) = /^ *\\subsubsection\{/; # Latex subsubsection
- ( $sr ) = /^ *\\sstroutine\{/; # SST routine description
-
-# We only consider sst diytopic sections to be of significance if they
-# introduce a listing of attributes or Functions. This is so that these
-# sections always contain links. SO if the previous line was a diytopic
-# line, see if this line contains the single word "Attributes" or
-# "Functions"
- if( $sdiy ) {
- ( $attrfun ) = /^ *(Attributes|Functions) *$/;
- $linkatfun = 0;
- $sdiy = 0;
- } else {
- ( $sdiy ) = /^ *\\sstdiytopic\{/;
- }
-
-# Do not make links in the introductory text in an Attributes or
-# Functions DIY section.
- if( $attrfun ) {
- if( /^ *\\sstitemlist\{/ ) { $linkatfun = 1 };
- } else {
- $linkatfun = 0;
- }
-
-# Watch for the end of the list of attributes or functions.
- if( $attrfun ) {
- if( /^ *\} *$/ ) {
- $attrfun = 0;
- $linkatfun = 0;
- }
- }
-
-# Note if a new section has started.
- $sx = ( $s || $ss || $sss || $sr );
- if ( $sx ) {
-
-# Set a flag to indicate which type of section we are in.
- $ins = $inss = $insss = $inr = 0;
- if ( $s ) { $ins = 1 };
- if ( $ss ) { $inss = 1 };
- if ( $sss ) { $insss = 1 };
- if ( $sr ) { $inr = 1 };
-
-# Clear the count of source lines for this section.
- $source_line = 0;
-
-# Clear the array of flags indicating which labels have been used.
- undef %used;
- }
-
-# Note if we are in a Latex "verbatim" or "terminalv" environment.
- if ( /^ *\\begin\{(verbatim|terminalv)\} *$/ ) { $verbatim = 1 };
-
-# Count the source lines read from each section.
- $source_line++;
-
-# Obtain an array of all the labels matched in the current source line.
- @match = /$pattern/og;
-
-# Consider generating a link for each label matched.
- for $label ( @match ) {
- $label_q = quotemeta( $label );
-
-# In an SST routine description, extract the name of the routine from
-# the second source line and mark the label of that name "used". This
-# prevents links being made to this section from within itself.
- if ( $inr && $source_line == 2 ) {
- $used{ $label }++;
- $label_x = $_;
- $label_x =~ s/\W//g;
- #s/$/\\sstlabel{$label_x}/;
- }
-
-# If we are in a Functions or Attributes section, see if the match occurs
-# at the start of the line and is followed by a colon. If it is, it is the
-# name of the main Function or Attribute being described and so should be
-# linkified.
- $atfun = ( $linkatfun && ( /^ *$label_q:/ ) );
-
-# Is this a caption? Do not replace entries in first part of caption
-# that appears in TOC LOF
- $iscap = /\\caption/;
-
-# Check if a link should be made. Omit links in "verbatim" environments,
-# in any line which starts a new section (because labels don't work properly
-# if they get into the table of contents), in the 4th line of an SST
-# routine description (because these also go into the TOC), or if the label
-# has already been used in this section. We always linkify any match if it
-# is in a list of Function or Attribute descriptions, if it is at the start
-# of the line and is followed by a colon.
- if ( $atfun || ( !$verbatim &&
- !$iscap &&
- !$sx &&
- !( $inr && ( $source_line == 4 ) ) &&
- !$used{ $label } ) ) {
-
-# Increment the number of usages of this label.
- $used{ $label }++;
-
-# Labels must be whole words unless they start/end without an alphanumeric.
- if ( $label =~ m/^\w/ ) { $label_q = "\\b" . $label_q };
- if ( $label =~ m/\w$/ ) { $label_q = $label_q . "\\b" };
-
-# Form a version of the label with non alphanumerics removed.
- $label_x = $label;
- #$label_x =~ s/\W//g;
-
-# Edit each instance of the label in the source line to insert an \htmlref.
- s/$label_q/\\htmlref{$label}{$label_x}/;
- }
- }
-
-# Detect the end of "verbatim" environments.
- if ( /^ *\\end\{(verbatim|terminalv)\} *$/ ) { $verbatim = 0 };
-
-# Output the modified line.
- print;
- }
diff --git a/ast/addversion.in b/ast/addversion.in
deleted file mode 100644
index 955a971..0000000
--- a/ast/addversion.in
+++ /dev/null
@@ -1,10 +0,0 @@
-
-vers="@PACKAGE_VERSION@"
-majversno="`echo "${vers}" | awk -F . '{print $1;}'`"
-minversno="`echo "${vers}" | awk -F . '{print $2;}'`"
-relsno="`echo "${vers}" | awk -F . '{print $3;}'`"
-versno="${majversno}.${minversno}"
-sed -e 's/<VERSION_NUMBER>/'"${versno}"'/g' \
- -e 's/<MAJOR_VERSION_NUMBER>/'"${majversno}"'/g' \
- -e 's/<MINOR_VERSION_NUMBER>/'"${minversno}"'/g' \
- -e 's/<RELEASE_NUMBER>/'"${relsno}"'/g'
diff --git a/ast/ast-for-wcslib/astTester.c b/ast/ast-for-wcslib/astTester.c
deleted file mode 100644
index 0cd6a92..0000000
--- a/ast/ast-for-wcslib/astTester.c
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Purpose:
- * Tests the cut down version of AST used by WCSLIB for handling units
- * strings.
- */
-
-/* System header files. */
-#include <stdio.h>
-
-/* The following line causes the AST header files to make the internal
- "protected" interface available. The functions defined in unit.h are
- only available with in the protected interface. */
-#define astCLASS wcslib
-
-/* Include header files for the AST classes which are used below. */
-#include "unit.h"
-#include "mapping.h"
-
-main(){
- int pass;
- char *label;
- double xin[3], xout[3];
-
- pass = 1;
-
-/* Get the Mapping from a speed value in km/h to a log(speed) value
- in "log(m/s)". */
- AstMapping *map = astUnitMapper( "km/h", "log(m/s)", "speed", &label );
-
-/* If no Mapping could be found, test has failed. */
- if( !map ) {
- pass = 0;
- printf("No Mapping returned by astUnitMapper\n");
-
-/* If a Mapping was returned by astUnitMapper, it can be used with any of the
- methods defined by the Mapping class. See:
-
- http://www.starlink.ac.uk/~dsb/ast/sun211.htx/node450.html
-
- Here, we use the Mapping to transform three speed values (first is
- negative and so should produce a bad log(speed) value). */
- } else {
- xin[0] = -1.0;
- xin[1] = 1.0;
- xin[2] = 100.0;
- astTran1( map, 3, xin, 1, xout );
-
-/* Check above transformation was succesful. */
- if( astOK ) {
-
-/* Check the transformed values and label are correct. */
- if( xout[ 0 ] != AST__BAD ) {
- printf( "xout[0] wrong: %.*g should be %.*g\n",
- DBL_DIG, xout[0], DBL_DIG, AST__BAD );
- pass = 0;
-
- } else if( fabs( xout[ 1 ] - (-0.556302500767287) ) > 1.0E-5 ) {
- printf( "xout[1] wrong: %.*g should be -0.556302500767287\n",
- DBL_DIG, xout[1] );
- pass = 0;
-
- } else if( fabs( xout[ 2 ] - 1.44369749923271 ) > 1.0E-5 ) {
- printf( "xout[2] wrong: %.*g should be 1.44369749923271\n",
- DBL_DIG, xout[2] );
- pass = 0;
-
- } else if( strcmp( label, "log( speed )" ) ) {
- printf( "label wrong: \"%s\" should be \"log( speed )\"\n",
- label );
- pass = 0;
- }
-
- } else {
- printf( "Error on return from astTran1\n" );
- pass = 0;
- }
- }
-
-/* Say whether the test has been passed or not */
- if( !pass ) {
- printf("\n AST unit test failed\n\n");
- } else {
- printf("\n AST unit test passed\n\n");
- }
-}
diff --git a/ast/ast-for-wcslib/loader.c b/ast/ast-for-wcslib/loader.c
deleted file mode 100644
index d71c6fb..0000000
--- a/ast/ast-for-wcslib/loader.c
+++ /dev/null
@@ -1,35 +0,0 @@
-/* A dummy version of loader.c for use in the WCSLIB sub-set of AST */
-#define astCLASS
-#include "channel.h"
-#include "loader.h"
-#include "mapping.h"
-#include "mathmap.h"
-#include "object.h"
-#include "pointset.h"
-#include "unitmap.h"
-#include "zoommap.h"
-
-#include "error.h"
-#include "ast_err.h"
-#include <stddef.h>
-#include <string.h>
-
-AstLoaderType *astGetLoader( const char *class ) {
- if ( !astOK ) return NULL;
-
-#define LOAD(name) \
-if ( !strcmp( class, #name ) ) return (AstLoaderType *) astLoad##name##_
-
- LOAD(Channel);
- LOAD(Mapping);
- LOAD(MathMap);
- LOAD(Object);
- LOAD(PointSet);
- LOAD(UnitMap);
- LOAD(ZoomMap);
-
- astError( AST__OCLUK, "astGetLoader: Object of unknown class \"%s\" cannot "
- "be loaded.", class );
- return NULL;
-#undef LOAD
-}
diff --git a/ast/ast-for-wcslib/matrixmap.h b/ast/ast-for-wcslib/matrixmap.h
deleted file mode 100644
index d999180..0000000
--- a/ast/ast-for-wcslib/matrixmap.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/* A dummy version of matrixmap.h for use in the WCSLIB sub-set of AST */
-#define astMatrixMap(nin,nout,mode,mat,opts) \
- (astError(AST__INTER,"Internal AST programming error - " \
- "an attempt has been made to create a MatrixMap" ), \
- astError(AST__INTER,"The WCSLIB version of AST does not include " \
- "the MatrixMap class" ), \
- NULL)
diff --git a/ast/ast-for-wcslib/plot.h b/ast/ast-for-wcslib/plot.h
deleted file mode 100644
index 1678ec9..0000000
--- a/ast/ast-for-wcslib/plot.h
+++ /dev/null
@@ -1,2 +0,0 @@
-/* A dummy version of plot.h for use in the WCSLIB sub-set of AST */
-#define astStripEscapes(result) result
diff --git a/ast/ast-for-wcslib/wcslib-instructions b/ast/ast-for-wcslib/wcslib-instructions
deleted file mode 100644
index 82c4369..0000000
--- a/ast/ast-for-wcslib/wcslib-instructions
+++ /dev/null
@@ -1,112 +0,0 @@
-From dsb@ast.man.ac.uk Thu Jul 15 17:23:14 2004
-Date: Thu, 15 Jul 2004 17:19:38 +0100 (BST)
-From: David Berry <dsb@ast.man.ac.uk>
-To: Mark Calabretta <Mark.Calabretta@atnf.CSIRO.AU>
-Cc: Eric Greisen <egreisen@nrao.edu>, D.L.Giaretta@rl.ac.uk
-Subject: Re: Legacy FITS headers
-
-Mark,
-
-> On Tue 2004/07/13 10:38:01 +0100, David Berry wrote
-> in a message to: Mark Calabretta <Mark.Calabretta@atnf.csiro.au>
-> and copied to: Eric Greisen <egreisen@nrao.edu>
->
-> >headers. When reading headers, AST parses CUNIT and applies the
-> >appropriate conversion factors where necessary. It uses a neat little
-> >utility module which, given two units strings (using the paper I syntax)
-> >will parse them and return a Mapping between them if possible).
->
-> Hi David,
->
-> That's something I would like to include directly in WCSLIB if possible
-> rather than reinventing the wheel, quite a large one too by the look of
-> it!
->
-> Looking at unit.c though, it seems to depend on a lot of other AST
-> code (dependency list appended), I really need a self-contained
-> version, preferably in one .h and one .c file. It looks like the CCLRC
-> copyright is reasonably permissive with regard to distributing modified
-> forms of the AST code. I'd need to change it only so far as to make it
-> self-contained, also probably changing global symbol names to prevent
-> potential conflicts with the AST object library.
->
-> How does that sound to you?
-
-All Starlink software is being moved over to GPL licences, so there should
-be no legal problem in you using parts of AST.
-
-Getting everything relevant to unit.c into one .c and one .h file could be
-quite tricky. Having said that, you could manage with only a few of the
-many files in the AST distribution. I've played about with this a bit
-today, and the following seems to produce a minimal AST system which
-allows the facilities of unit.c to be used:
-
-1) Make a new directory and cd into it
-
-2) Get the latest version of AST (V3.3-4) from:
-
-ftp://ftp.starlink.ac.uk/pub/users-ftp/dsb/ast/V3.3-4/ast.tar.Z
-
-(I found and fixed a bug in unit.c today whilst I was looking into this)
-
-3) Execute the following commands:
-% uncompress ast.tar.Z
-% tar -xf ast.tar ast_source.tar
-% tar -xf ast_source.tar \
- ast_err.h \
- channel.h \
- err.h \
- error.h \
- loader.h \
- mapping.h \
- mathmap.h \
- memory.h \
- object.h \
- pointset.h \
- unitmap.h \
- unit.h \
- zoommap.h \
- channel.c \
- error.c \
- err_null.c \
- mapping.c \
- mathmap.c \
- memory.c \
- object.c \
- pointset.c \
- unitmap.c \
- unit.c \
- zoommap.c
-
-% rm ast_source.tar ast.tar
-
-4) Copy the files attached to this e-mail into this directory (astTester.c
- loader.c matrixmap.h makefile plot.h).
-
-5) Do:
-
-% make
-% make test
-
-(you may need to change some of the macro values in makefile if you are
-not running on a system like redhat 9). This will create a libast.a
-library and run the astTester.c test program. You could look at
-astTester.c to see how to use the astUnitMapper function.
-
-This is the minimal set of AST files needed to use unit.c - it leaves out
-all the graphics and the handling of coordinate systems and FITS headers
-(and also most of the Mapping classes).
-
-In case you need to get back to me about this, I'm away on holiday for the
-next two weeks.
-
-David
-
-
- [ Part 2, "" Application/OCTET-STREAM (Name: "wcslib.tar.gz") ]
- [ 2.8KB. ]
- [ Unable to print this part. ]
-
-
-
-
diff --git a/ast/ast.news b/ast/ast.news
deleted file mode 100644
index cbefd45..0000000
--- a/ast/ast.news
+++ /dev/null
@@ -1,1189 +0,0 @@
-AST Library
------------
- A new release (V8.6.2) of the Starlink AST (astrometry) library is
-now available.
-
- AST provides a comprehensive range of facilities for attaching
-world coordinate systems (such as RA/Dec, frequency, etc) to astronomical
-data, for retrieving and interpreting that information and for generating
-graphical output based on it.
-
- The library should be of interest to anyone writing astronomical
-software which needs to manipulate coordinate system data, especially
-celestial coordinate systems. AST is portable and
-environment-independent.
-
-
-
-Main Changes in this Version
-----------------------------
-
-- The astWrite method of the FitsChan class can now create FITS-WCS headers
-that include keyords describing focal plane distortion using the
-conventions of the Spitzer SIP scheme. This is however only possible if
-the SipOK attribute of the FitsChan is set to a non-zero value (which is
-the default), and the FrameSet being written out contains an appropriate
-PolyMap that conforms to the requirements of the SIP convention.
-
-- The behaviour of the astLinearApprox method of the Mapping class has
-been changed in cases where the Mapping being approximated generates bad
-(AST__BAD) values for one or more of its outputs. Previously, any such
-Mapping would be deemed non-linear and no fit would be returned. Now, a
-fit is returned, provided the other outputs of the Mapping are linear,
-but the fit contains AST__BAD values for the coefficients describing the
-bad Mapping output.
-
-
-Main Changes in V8.6.1
-----------------------
-
-- A new function call astCreatedAt is now available that returns the function
-name, file path and line number at which an AST object was first created.
-
-- The number of digits used to format floating point values has been
-increased in order to avoid loss of precision when converting from binary
-to string and back to binary. This could cause very small changes in numerical
-values returned by AST functions.
-
-- If a FrameSet is supplied as the "Map" argument to astAddFrame, it now
-extracts and stores the base->current Mapping from the supplied FrameSet.
-Previously, the entire FrameSet was stored as the Mapping.
-
-
-Main Changes in V8.5.1
-----------------------
-
-- A new class of Mapping called ChebyMap has been added. This is a
-Mapping that implements Chebyshev polynomial transformations.
-
-- If the function that delivers error messages to the user (astPutErr) is
-re-implemented, the new version can now be registered at run-time using
-the new astSetPutErr function. Previously, the new version needed to be
-linked into the application at build time.
-
-- A bug has been fixed in the PolyMap class that caused incorrect values
-to be returned for the TranForward and TranInverse attributes if the PolyMap
-has been inverted.
-
-- The KeyMap class has a new method called astMapGetC (AST_MAPGETC) which
-returns a named entry as a single string. If the entry is a vector the
-returned string is a comma-separated list of its elements, enclosed in
-parentheses.
-
-- The Frame class now has a new attribute caled DTAI, which can be used
-to specify the number of leap seconds at the moment represented by the
-Frame's Epoch attribute. By default, the internal look-up table of leap
-seconds contained within AST is used. The DTAI attribute allows old
-versions of AST, which may not include the most recent leap seconds, to
-be used with new data.
-
-- The TimeMap class has been changed so that some conversions now require
-a "Dtai" value (i.e. the number of leap seconds) to be supplied by the
-caller. If AST__BAD is supplied for "Dtai", the internal look-up table of
-leap seconds contained withn AST will be used. The conversions affected
-are those between TAI and UTC, and those between TT and TDB.
-
-Main Changes in V8.3.0
-----------------------
-
-- The PAL library files included in the AST distribution have been updated
-to PAL version 0.9.7.
-
-- Multiple identical NormMaps in series will now be simplified to a
-single NormMap.
-
-- A NormMap that encapsulates a basic Frame will now be simplified to a
-UnitMap.
-
-- The astTimeAdd (AST_TIMEADD) method of the TimeMap class now include an
-extra argument that gives the number of values supplied in the arguments
-array. Note, any existing code that uses this method will need to be
-changed.
-
-- The astSlaAdd (AST_SLAADD) method of the SlaMap class now include an
-extra argument that gives the number of values supplied in the arguments
-array. Note, any existing code that uses this method will need to be
-changed.
-
-- The astSpecAdd (AST_SPECADD) method of the SpecMap class now include an
-extra argument that gives the number of values supplied in the arguments
-array. Note, any existing code that uses this method will need to be
-changed.
-
-- If the astMapRegion (AST_MAPREGION) method is used to map a Region into
-a new Frame that has fewer axes than the original Region, and if the
-inverse transformation of the supplied Mapping does not specify a value
-for the missing axes, then those axes are removed entirely from the
-Region. Previously they were retained, but supplied with bad values. This
-affects the number of mesh points per axes for such Regions, and so
-affects the accuracy of overlap determination.
-
-
-Main Changes in V8.3.0
-----------------------
-
-- A new method called astAxNorm has been added to the Frame class that
-normalises an array of axis values. When used with SkyFrames, it allows
-longitude values to be normalised into the shortest range.
-
-- A bug has been fixed in the Fortran include file AST_PAR that caused constants
-related to PI to be defined as single rather than double precision.
-
-- A bug has been fixed in the astGetRegionBounds method that could
-cause the wrong bounds to be returned for regions spanning a longitude =
-zero singularity.
-
-Main Changes in V8.2.0
-----------------------
-
-- A new class of Mapping called UnitNormMap has been added that converts a
-vector to a unit vector relative to a specified centre, plus length. A
-UnitNormMap has N inputs and N+1 outputs.The lower N output coordinates
-represent a unit vector parallel to the supplied input vector, and the
-(N+1)'th output coordinate is the length of the input vector.
-
-- The restriction that Mappings are immutable has been extended to all
-Mapping classes. This means that attributes representing parameters of
-a Mapping's forward or inverse transformation cannot be changed after
-the Mapping has been created. In order to minimise the risk to existing
-software, this rule does not apply to Mappings that have not yet been
-included in other objects such as CmpMaps or FrameSets, or which have not
-yet been cloned. In other words, an error is reported if an attempt is
-made to change the nature of a Mapping's transformation, but only if the
-reference count of the Mapping is greater than one. The Mapping classes
-affected include: GrismMap, LutMap, PcdMap, SphMap, WcsMap and ZoomMap.
-
-
-Main Changes in V8.1.0
-----------------------
-
-- The configure script has a new option "--without-fortran" that allows
-AST to be built in situations where no Fortran compiler is available. The
-resulting library has no Fortran interface and so cannot be used within
-Fortran applications. Also, the link scripts do not attempt to include the
-fortran runtime libraries.
-
-Main Changes in V8.0.7
-----------------------
-
-- A bug in FitsChan has been fixed which could cause a small shift in
- spectral axis value when writing out a spectral cube to FITS-WCS headers,
- This shift occurred only if the celestial axes in the cube were not FK5
- (RA,Dec).
-
-- Avoid some more compiler warnings.
-
-- A "BadKeyValue" warning is now issued by the FitsChan class if an illegal
-FITS keyword value is encountered. See attribute "Warnings" and function
-"astWarnings".
-
-Main Changes in V8.0.6
-----------------------
-
-- Fix bug in FitsChan that caused SIP headers to be treated as linear
-when creating a FrameSet from the headers.
-
-- Fix bug in LutMap that incorrectly allowed an inverse lutmap to be used
-even if the original LutMap was not monotonic.
-
-- Allow attributes to be set for each plane of a Plot3D.
-
-- Avoid some compiler warnings.
-
-Main Changes in V8.0.5
-----------------------
-
-- The SkyFrame class has a new attribute called SkyTol, which specifies
-the smallest significant distance within the SkyFrame. It is used to
-decide if the Mapping between two SkyFrames can be considered a unit
-transformation. The default value is 0.001 arc-seconds.
-
-- A bug has been fixed in the FitsChan class that prevented illegal
-characters within FITS keyword names (i.e. characters not allowed by the
-FITS standard) being detected. This bug could under some circumstances
-cause a subsequent segmentation violation to occur.
-
-- A "BadKeyName" warning is now issued by the FitsChan class if a FITS
-keyword name is encountered that contains any illegal characters. See
-attribute "Warnings" and function "astWarnings".
-
-Main Changes in V8.0.4
-----------------------
-
-- The behaviour of the astAddFrame method has been changed slightly.
-Previously, astAddFrame modified the FrameSet by storing references to
-the supplied Mapping and Frame objects within the FrameSet. This meant
-that any subsequent changes to the current Frame of the modified FrameSet
-also affected the supplied Frame object. Now, astAddFrame stores deep
-copies of the Mapping and Frame objects (rather than references) within
-the modified FrameSet. This means that subsequent changes to the modified
-FrameSet will now have no effect on the supplied Frame.
-
-- The choice of default tick-mark for time axes has been improved, to avoid
-previous issues which could result in no suitable gap being found, or
-inappropriate tick marks when using formatted dates.
-
-- A new method called astRegionOutline has been added to the Plot class.
-It draws the outline of a supplied AST Region.
-
-- A bug has been fixed that could cause astSimplfy to enter an infinite loop.
-
-- Some improvements have been made to the Mapping simplification process
-that allow more Mappings to be simplified.
-
-- The Frame class has a new read-only attribute called "InternalUnit",
-which gives the units used for the unformatted (i.e. floating-point) axis
-values used internally by application code. For most Frames, the
-InternalUnit value is just the same as the Unit value (i.e. formatted and
-unformatted axis values use the same units). However, the SkyFrame class
-always returns "rad" for InternalUnit, regardless of the value of Unit,
-indicating that floating-point SkyFrame axis values are always in units
-of radians.
-
-- The LutMap class has a new attribute called LutEpsilon, which specifies
-the relative error of the values in the table. It is used to decide if
-the LutMap can be simplified to a straight line.
-
-
-Main Changes in V8.0.3
-----------------------
-
-- Methods astRebin, astRebinSeq, astResample and astTranGrid now report an
-error if an array is specified that has more pixels than can be counted by
-a 32 bit integer.
-
-- The hypertext documentation is now generated using Tex4HT rather
-than latex2html. The format of the hypertext docs has changed
-significantly.
-
-- Another bug fix associated with reading CAR projections from FITS-WCS headers.
-
-- Constructor options strings of the form "..., "%s", text );" can now be
-supplied. This avoids a security issue associated with the alternative
-form "..., text );".
-
-
-Main Changes in V8.0.2
-----------------------
-
-- For security reasons, the change introduced to astAppendString in
- V8.0.1 has been moved to a new function called astAppendStringf, and
- astAppendString itself has been reverted to its V8.0.0 version.
-
-
-Main Changes in V8.0.1
-----------------------
-
-- The macro used to invoke the astAppendString utility function has
- changed to allow printf-style converstions to be included in the
- supplied text. Any code that uses this macro must be re-compiled.
-
-- The astRebin and astRebinSeq family of functions now include support
- for arrays with char (byte) and unsigned char (unsigned byte) data types.
-
-- The Base and Current attributes of a FrameSet may now be set using the
- Domain name or the index of the required Frame.
-
-- The FITS XPH projection is now supported.
-
-- The order of WCS axes within new FITS-WCS headers created by astWrite
- can now be controlled using a new attribute called FitsAxisOrder.
-
-Main Changes in V8.0.0
-----------------------
-
-- AST is now distributed under the Lesser GPL licence.
-
-- Least squares fitting of N-dimensional polynomials is now done using
-files copied from the C/C++ Minpack package (see
-http://devernay.free.fr/hacks/cminpack/index.html).
-
-- Use of the IAU SOFA library has been replaced by ERFA library, which is
-a re-badged copy of SOFA distributed under a less restrictive license. A
-copy of ERFA is included within AST.
-
-Main Changes in V7.3.4
-----------------------
-
-- By default, the simplification of Polygons no longer checks that the
-edges are not bent by the simplification. A new attribute, SimpVertices,
-can be set to zero in order to re-instate this check.
-
-- The Polygon class has a new mathod, astConvex, that returns a Polygon
-representing the shortest polygon (i.e. convex hull) enclosing a
-specified set of pixel values within a supplied array.
-
-Main Changes in V7.3.3
-----------------------
-
-- The FitsChan class has new attributes CardName and CardComm, which hold
-the keyword name and comment of the current card.
-
-- When reading FITS-WCS headers that include polynomial distortion in the
-SIP format, any inverse transformation specified in the header is now
-ignored and a new inverse is created to replace it based on the supplied
-forward transformation. Previously, an inverse was created only if the
-header did not include an inverse. The accuracy of the inverse
-transformation has also been improved, although it may now be slower to
-evaluate in some circumstances.
-
-- A bug has been fixed that could over-write the FitsChan CarLin attribute
-with a non-zero value if the header contains a spectral axis.
-
-- The default options for each newly created FitsChan can now be
-specified via the environment variable FITSCHAN_OPTIONS.
-
-Main Changes in V7.3.2
-----------------------
-
-- Fix support for reading GLS projections from FITS headers.
-
-- The KeyMap class has new sorting options "KeyAgeUp" and "KeyAgeDown" that
-retain the position of an existing entry if its value is changed. See the
-SortBy attribute.
-
-- A bug has been fixed in FitsChan that caused CDELT keywords for sky
-axes to be treated as radians rather than degrees when reading a FITS
-header, if the corresponding CTYPE values included no projection code.
-
-
-Main Changes in V7.3.1
-----------------------
-
-- Fix bug that could cause a segmenatation fault when reading a FITS TNX
-header.
-
-Main Changes in V7.3.0
-----------------------
-
-- IMPORTANT! The interface for the astRebinSeq<X> (AST_REBINSEQ) family
-of functions has been changed in order to allow a greater number of
-pixels to be pasted into the output array. In C, the "nused" parameter
-is now a pointer to a "int64_t" variable, instead of a simple "int". In
-Fortran, the NUSED argument for AST_REBINSEQ<X> is now an INTEGER*8.
-
-APPLICATION CODE SHOULD BE CHANGED ACCORDINGLY TO AVOID SEGMENTATION
-FAULTS AND OTHER ERRATIC BEHAVIOUR.
-
-- Added a new facility to the FrameSet class to allow each Frame to be
-associated with multiple Mappings, any one of which can be used to
-connect the Frame to the other Frames in the FrameSet. The choice of
-which Mapping to use is controlled by the new "Variant" attribute of the
-FrameSet class.
-
-- Mappings (but not Frames) that have a value set for their Ident attribute
-are now left unchanged by the astSimplify (AST_SIMPLIFY) function.
-
-Main Changes in V7.2.0
-----------------------
-
-- A new method call astMapDefined has been added to the KeyMap class.
-It checks if a gtiven key name has a defined value in a given KeyMap.
-
-
-Main Changes in V7.1.1
-----------------------
-
-- A bug has been fixed in FitsChan that caused inappropriate CTYPE values
-to be generated when writing a FrameSet to FITS-WCS headers if the
-current Frame describes generalised spherical coordinates (i.e. a
-SkyFrame with System=Unknown).
-
-- When a FitsChan is used to write an "offset" SkyFrame (see attribute
-SkyRefIs) to a FITS-WCS encoded header, two alternate axis descriptions
-are now created - one for the offset coordinates and one for the absolute
-coordinates. If such a header is subsequently read back into AST, the
-original offset SkyFrame is recreated.
-
-
-Main Changes in V7.1.0
-----------------------
-
-- IMPORTANT! The default behaviour of astRebinSeq is now NOT to conserve
-flux. To conserve flux, the AST__CONSERVEFLUX flag should be supplied
-when calling astRebinSeq. Without this flag, each output value is a
-weighted mean of the neighbouring input values.
-
-- A new flag AST__NONORM can be used with astRebinSeq<X> to indicate that
-normalisation of the output arrays is not required. In this case no
-weights array need be supplied.
-
-- A bug has been fixed in astAddFrame (AST_ADDFRAME) method that could
-result in the incorrect inversion of Mappings within the FrameSet when
-the AST__ALLFRAMES flag is supplied for the "iframe" parameter.
-
-- The astRate method has been re-written to make it faster and more
-reliable.
-
-Main Changes in V7.0.6
-----------------------
-
-- A bug has been fixed in astRebinSeq<X> which could result in
-incorrect normalisation of the final binned data and variance values.
-
-- When reading a FrameSet from a FITS-DSS header, the keywords CNPIX1 and
-CNPIX2 now default to zero if absent. Previously an error was reported.
-
-Main Changes in V7.0.5
-----------------------
-
-- The FitsChan class can now read FITS headers that use the SAO
-convention for representing distorted TAN projections, based on the use
-of "COi_j" keywords to hold the coefficients of the distortion polynomial.
-
-
-Main Changes in V7.0.4
-----------------------
-
-- The previously private grf3d.h header file is now installed into
-prefix/include.
-
-
-Main Changes in V7.0.3
-----------------------
-
-- A bug has been fixed which could cause an incorrect axis to be used when
-accessing axis attributes within CmpFrames. This could happen if axes
-within the CmpFrame have been permuted.
-
-- A bug has been fixed in the SkyFrame class that could cause the two
-values of the SkyRef and/or SkyRefP attributes to be reversed.
-
-- Bugs have been fixed in the CmpRegion class that should allow the border
-around a compound Region to be plotted more quickly, and more accurately.
-Previously, component Regions nested deeply inside a CmpRegion may have
-been completely or partially ignored.
-
-- A bug has been fixed in the Plot3D class that caused a segmentation
-violation if the MinTick attribute was set to zero.
-
-- The astResampleX set of methods now includes astResampleK and
-astResampleUK that handles 64 bit integer data.
-
-Main Changes in V7.0.2
-----------------------
-
-- The libast_pal library is no longer built if the "--with-external_pal"
-option is used when AST is configured.
-
-
-Main Changes in V7.0.1
-----------------------
-
-- The levmar and wcslib code distributed within AST is now stored in the
-main AST library (libast.so) rather than in separate libraries.
-
-
-Main Changes in V7.0.0
-----------------------
-
-- Fundamental positional astronomy calculations are now performed
-using the IAU SOFA library where possible, and the Starlink PAL library
-otherwise (the PAL library contains a subset of the Fortran Starlink SLALIB
-library re-written in C). Copies of these libraries are bundled with AST
-and so do not need to be obtained or built separately, although external
-copies of SOFA and PAL can be used if necessary by including the
-"--with-external_pal" option when configuring AST.
-
-
-Main Changes in V6.0-1
------------------------
-
-- The Spitzer "-SIP" distortion code is now recognised within FITS
-headers that describe non-celestial axes, as well as celestial axes.
-
-- A bug has been fixed that could cause inappropriate equinox values to
-be used when aligning SkyFrames if the AlignSystem attribute is set.
-
-- The format of the version string for AST has changed from
-"<major>.<minor>-<release>" to "<major>.<minor>.<release>".
-
-Main Changes in V6.0
------------------------
-
-- This version of AST is the first that can be used with the Python
-AST wrapper module, starlink.Ast, available at http://github.com/timj/starlink-pyast.
-
-- When reading a FITS-WCS header, the FitsChan class now recognises the
-non-standard "TPV" projection code within a CTYPE keyword value. This
-code is used by SCAMP (see www.astromatic.net/software/scamp) to
-represent a distorted TAN projection.
-
-- The Plot class has been changed to remove visual anomalies (such as
-incorrectly rotated numerical axis labels) if the graphics coordinates have
-unequal scales on the X and Y axes.
-
-- The graphics escape sequences used to produce graphical sky axis labels
-can now be changed using the new function astTuneC (AST_TUNEC).
-
-Main Changes in V5.7-2
------------------------
-
-- The PolyMap class can now use an iterative Newton-Raphson method to
-evaluate the inverse the inverse transformation if no inverse
-transformation is defined when the PolyMap is created.
-
-- The FitsChan class has a new method astWriteFits (AST_WRITEFITS)
-which writes out all cards currently in the FitsChan to the associated
-external data sink (specified either by the SinkFile attribute or the
-sink function supplied when the FitsChan was created), and then empties
-the FitsChan.
-
-- The FitsChan class has a new method astReadFits (AST_READFITS)
-which forces the FitsChan to reads cards from the associated external
-source and appends them to the end of the FitsChan.
-
-- The FitsChan class has a new read-only attribute called "Nkey", which
-holds the number of keywords for which values are held in a FitsChan.
-
-- The FitsChan class has a new read-only attribute called "CardType", which
-holds the data type of the keyword value for the current card.
-
-- The FitsChan astGetFits<X> (AST_GETFITS<X>) methods can now be used to
-returned the value of the current card.
-
-- If the FitsChan astRead method reads a FITS header that uses the
--SIP (Spitzer) distortion code within the CTYPE values, but which does
-not provide an inverse polynomial correction, and for which the PolyTran
-method of the PolyMap class fails to create an accurate estimate of the
-inverse polynomial correction, then an iterative method will be used to
-evaluate the inverse correction for each point transformed.
-
-- The Object class has a new function astToString (C only), which creates
-an in-memory textual serialisation of a given AST Object. A corresponding
-new function called astFromString re-creates the Object from its
-serialisation.
-
-
-Main Changes in V5.7-1
------------------------
-
-- All classes of Channel can now read to and write from specified text
-files, without the need to provide source and sink functions when the
-Channel is created. The files to use are specified by the new attributes
-SourceFile and SinkFile.
-
-- The FitsChan class now ignores trailing spaces in character-valued WCS
-keywords when reading a FrameSet from a FITS header.
-
-- If the FitsChan astRead method reads a FITS header that uses the -SIP
-(Spitzer) distortion code within the CTYPE values, but which does not
-provide an inverse polynomial correction, the FitsChan class will now use
-the PolyTran method of the PolyMap class to create an estimate of the
-inverse polynomial correction.
-
-
-
-Main Changes in V5.7-0
------------------------
-
-- The FitsChan class support for the IRAF-specific "TNX" projection has
-been extended to include reading TNX headers that use a Chebyshev
-representation for the distortion polynomial.
-
-- The FitsChan class support for the IRAF-specific "ZPX" projection has
-been extended to include reading ZPX headers that use simple or Chebyshev
-representation for the distortion polynomial.
-
-- A bug has been fixed in the FitsChan class that caused headers
-including the Spitzer "-SIP" distortion code to be read incorrectly if no
-inverse polynomial was specified in the header.
-
-- A new attribute called PolyTan has been added to the FitsChan class. It
-can be used to indicate that FITS headers that specify a TAN projection
-should be interpreted according to the "distorted TAN" convention
-included in an early draft of FITS-WCS paper II. Such headers are created
-by (for instance) the SCAMP tool (http://www.astromatic.net/software/scamp).
-
-- The PolyMap class now provides a method called astPolyTran (AST_POLYTRAN)
-that adds an inverse transformation to a PolyMap by sampling the forward
-transformation on a regular grid, and then fitting a polynomial function
-from the resulting output values to the grid of input values.
-
-
-Main Changes in V5.6-1
------------------------
-
-- Tables can now have any number of parameters describing the global
-properties of the Table.
-
-- Frames now interpret the unit string "A" as meaning "Ampere" rather
-than "Angstrom", as specified by FITS-WCS paper I.
-
-- A bug has been fixed in the astFindFrame (AST_FINDFRAME) method that
-allowed a template Frame of a more specialised class to match a target
-frame of a less specialised class. For example, this bug would allow a
-template SkyFrame to match a target Frame. This no longer happens.
-
-
-Main Changes in V5.6-0
------------------------
-
-- New functions astBBuf (AST_BBUF) and astEBuf (AST_EBUF) have been added
-to the Plot class. These control the buffering of graphical output
-produced by other Plot methods.
-
-- New functions astGBBuf and astGEBuf have been added to the interface
-defined by file grf.h. The ast_link command has been modified so that the
--grf_v3.2 switch loads dummy versions of the new grf functions. This
-means that applications that use the -grf_v3.2 switch should continue to
-build without any change. However, the new public functions astBBuf and
-astEBuf described in the previous item will report an error unless the
-new grf functions are implemented. If you choose to implement them, you
-should modify your linking procedure to use the -grf (or -grf_v5.6)
-switch in place of the older -grf_v3.2 switch. See the description of the
-ast_link command for details of these switches.
-
-- New method astGetRegionMesh (AST_GETREGIONMESH) returns a set of
-positions covering the boundary, or volume, of a supplied Region.
-
-Main Changes in V5.5-0
------------------------
-
-- The FitsChan "TabOK" attribute is now an integer value rather
-than a boolean value. As in previous versions, it is used to indicate
-whether the "-TAB" algorithm should be supported by the astRead
-(AST_READ) and astWrite (AST_WRITE) methods, but in addition it is now
-also used to give the version number to assign to any table gebnerated as
-a consequence of calling astWrite (AST_WRITE). A negative or zero value
-(the default) indicates that support for the -TAB algorithm is not
-available, where as a positive non-zero value indicates that support is
-available and also gives the table version number to use when creating
-subsequent -TAB headers.
-
-
-Main Changes in V5.4-0
------------------------
-
-- The FitsChan class now has an option to support reading and writing
-of FITS-WCS headers that use the -TAB algorithm described in FITS-WCS paper
-III. This option is controlled by a new FitsChan attribute called TabOK.
-See the documentation for TabOK for more information.
-
-- A new class called "Table" has been added. A Table is a KeyMap in
-which each entry represents a cell in a two-dimensional table.
-
-- A new class called "FitsTable" has been added. A FitsTable is a
-Table that has an associated FitsChan holding headers appropriate to a
-FITS binary table.
-
-- KeyMaps can now hold byte (i.e. "unsigned char" or BYTE) values.
-
-- A new method called astMapRename (AST_MAPRENAME) has been added to rename
-an existing entry in a KeyMap.
-
-- KeyMaps have a new attribute called KeyCase that can be set to zero to
-make the handling of keys case insensitive.
-
-Main Changes in V5.3-2
------------------------
-
-- A bug has been fixed in the FitsChan class that could cause wavelength
-axes to be assigned the units "m/s" when reading WCS information from a
-FITS header.
-
-- The astSet function (AST_SET) now allows literal commas to be included in
-string attribute values. String attribute values that include a literal
-comma should be enclosed in quotation marks.
-
-- A bug in FitsChan has been fixed that caused "-SIN" projection codes within
-FITS-WCS headers to be mis-interpreted, resulting in no FrameSet being
-read by astRead.
-
-- The KeyMap class has a new attribute called "SortBy". It controls
-the order in which keys are returned by the astMapKey (AST_MAPKEY) function.
-Keys can be sorted alphabetically or by age, or left unsorted.
-
-- Access to KeyMaps holding thousands of entries is now significantly
-faster.
-
-- KeyMaps can now hold word (i.e. "short int" or INTEGER*2) values.
-
-Main Changes in V5.3-1
------------------------
-
-- The KeyMap class has a new method called astMapCopy/AST_MAPCOPY that
-copies entries from one KeyMap to another KeyMap.
-
-- The KeyMap class now supports entries that have undefined values. A
-new method called astMapPutU/AST_MAPPUTU will store an entry with undefined
-value in a keymap.
-
-- The KeyMap class has a new boolean attribute called MapLocked. If true
-(non-zero), an error is reported if an attempt is made to add any new entries
-to a KeyMap (the value associated with any old entry may still be changed #
-without error). The default is false (zero).
-
-- The Object class has a new method called astHasAttribute/AST_HASATTRIBUTE
-that returns a boolean value indicating if a specified Object has a named
-attribute.
-
-- The SkyFrame class has two new read-only boolean attributes called
-IsLatAxis and IsLonAxis that can be used to determine the nature of a
-specified SkyFrame axis.
-
-- A bug has been fixed in the astRebin(Seq)/AST_REBIN(SEQ) methods
-that could cause flux to be lost from the edges of the supplied array.
-
-- A bug has been fixed in the astRebin(Seq)/AST_REBIN(SEQ) methods
-that caused the first user supplied parameter to be interpreted as the
-full width of the spreading kernel, rather than the half-width.
-
-- The StcsChan class now ignores case when reading STC-S phrases (except
-that units strings are still case sensitive).
-
-- The Channel class now has an Indent attribute that controls indentation
-in the text created by astWrite/AST_WRITE. The StcsIndent and XmlIndent
-attributes have been removed.
-
-- All classes of Channel now use the string "<bad>" to represent the
-floating point value AST__BAD, rather than the literal formatted value
-(typically "-1.79769313486232e+308" ).
-
-- The KeyMap class now uses the string "<bad>" to represent the
-floating point value AST__BAD, rather than the literal formatted value
-(typically "-1.79769313486232e+308" ).
-
-- The KeyMap class has a new method called astMapPutElem<X>/AST_MAPPUTELEM<X>
-that allows a value to be put into a single element of a vector entry in
-a KeyMap. The vector entry is extended automatically to hold the new
-element if required.
-
-- The DSBSpecFrame class now reports an error if the local oscillator
-frequency is less than the absoliute value of the intermediate frequency.
-
-- A new method astQuadApprox produces a quadratic fit to a 2D Mapping.
-
-- A new method astSkyOffsetMap produces a Mapping from absolute SkyFrame
-coordinates to offset SkyFrame coordinates.
-
-
-Main Changes in Version 5.3
----------------------------
-
-- The details of how a Frame is aligned with another Frame by the
-astFindFrame and astConvert (AST_FINDFRAME and AST_CONVERT) functions
-have been changed. The changes mean that a Frame can now be aligned with
-an instance of a sub-class of Frame, so long as the number of axes and
-the Domain values are consistent. For instance, a basic 2-dimensional
-Frame with Domain "SKY" will now align succesfully with a SkyFrame,
-conversion between the two Frames being achieved using a UnitMap.
-
-- The arrays that supply input values to astMapPut1<X> are now declared
-"const".
-
-- Added method astMatchAxes (AST_MATCHAXES) to the Frame class. This
-allows corresponding axes in two Frames to be identified.
-
-- The astAddFrame (AST_ADDFRAME) method can now be used to append one or
-more axes to all Frames in a FrameSet.
-
-
-Main Changes in Version 5.1
----------------------------
-
-- A new method called astSetFitsCM (AST_SETFITSCM) has been added to
-the FitsChan class. It stores a pure comment card in a FitsChan (that
-is, a card with no keyword name or equals sign).
-
-- A new attribute called ObsAlt has been added to the Frame class. It
-records the geodetic altitude of the observer, in metres. It defaults to
-zero. It is used when converting times to or from the TDB timescale, or
-converting spectral positions to or from the topocentric rest frame, or
-converting sky positions to or from horizon coordinates. The FitsChan
-class will include its effect when creating a set of values for the
-OBSGEO-X/Y/Z keywords, and will also assign a value to it when reading a
-set of OBSGEO-X/Y/Z keyword values from a FITS header.
-
-- The TimeMap conversions "TTTOTDB" and "TDBTOTT", and the SpecMap
-conversions "TPF2HL" and "HLF2TP", now have an additional argument -
-the observer's geodetic altitude.
-
-- The Polygon class has been modified to make it consistent with the
-IVOA STC definition of a Polygon. Specifically, the inside of a polygon
-is now the area to the left of each edge as the vertices are traversed in
-an anti-clockwise manner, as seen from the inside of the celestial sphere.
-Previously, AST used the anti-clockwise convention, but viewed from the
-outside of the celestial sphere instead of the inside. Any Polygon saved
-using previous versions of AST will be identified and negated automatically
-when read by AST V5.2.
-
-- A new class of Channel, called StcsChan, has been added that allows
-conversion of suitable AST Objects to and from IVOA STC-S format.
-
-- A new method called astDownsize (AST_DOWNSIZE) has been added to the
-Polygon class. It produces a new Polygon that contains a subset of the
-vertices in the supplied Polygon. The subset is chosen to retain the main
-features of the supplied Polygion, in so far as that is possible, within
-specified constraints.
-
-- A new constructor called astOutline (AST_OUTLINE) has been added to the
-Polygon class. Given a 2D data array, it identifies the boundary of a
-region within the array that holds pixels with specified values. It then
-creates a new Polygon to describe this boundary to a specified accuracy.
-
-- A new method called astRemoveRegions (AST_REMOVEREGIONS) has been added
-to the Mapping class. It removes the masking effects of any Regions found
-within a (possibly compound) Mapping or Frame. In effect, it replaces
-each Region found within the Mapping or Frame with a UnitMap or
-equivalent Frame.
-
-- A new set of methods, called astMapGetElem<X> (AST_MAPGETELEM<X>) has
-been added to the KeyMap class. They allow a single element of a vector
-valued entry to be returned.
-
-- A new attribute called KeyError has been added to the KeyMap Class. It
-controls whether the astMapGet... (AST_MAPGET...) family of functions report
-an error if an entry with the requested key does not exist in the KeyMap.
-
-Main Changes in Version 5.1
----------------------------
-
-- The astUnlock function now has an extra parameter that controls whether
-or not an error is reported if the Object is currently locked by another
-thread.
-
-- The values of the AST__THREADSAFE macro (defined in ast.h) have
-been changed from "yes" and "no" to "1" and "0".
-
-- The PointList class has a new method, astPoints, that copies the axis
-values from the PointList into a supplied array.
-
-- The PointList class has a new (read-only) attribute, ListSize, that
-gives the number of points stored in the PointList.
-
-- A new method (astIntersect) has been added to the Frame class. It
-determines the position at which two geodesic curves intersect.
-
-- The XmlStrict attribute and astXmlWarnings function have been removed.
-The same functionality is now available via the existing Strict attribute,
-a new attribute called ReportLevel, and a new function called astWarnings.
-
-- A bug in the type-checking of Objects passed as arguments to constructor
-functions has been fixed. This bug could lead to applications crashing or
-showing strange behaviour if an inappropriate class of Object was
-supplied as an argument to a constructor.
-
-- The astPickAxes function will now return a Region, if possible, when
-applied to a Region. If this is not possible, a Frame will be returned as
-before.
-
-- The default gap size between the ISO date/time labels used by the Plot
-class when displaying an annotated axis described by a TimeFrame has been
-changed. The changes are meant to improve the labelling of calendar time
-axes that span intervals from a day to a few years.
-
-Main Changes in Version 5.0
----------------------------
-
-- AST is now thread-safe. Many of the macro definitions in the "ast.h"
-header file have changed, and so all source code that include "ast.h"
-should be re-compiled.
-
-- The TimeFrame class now support Local Time as a time scale. The offset
-from UTC to Local Time is specified by a new TimeFrame attribute called
-LTOffset.
-
-- Addition of a new class called Plot3D that provides facilities for
-producing 3-dimensional annotated coordinate grids.
-
-- A correction for diurnal aberration is now included when
-converting between AZEL and other celestial coordinate systems. The
-correction is based on the value of the ObsLat Frame attribute (the
-geodetic latitude of the observer).
-
-- A bug has been fixed which caused the DUT1 attribute to be ignored
-by the SkyFrame class when finding conversions between AZEL and other
-celestial coordinate systems.
-
-- The Channel class has a new attribute called Strict which controls
-whether or not to report an error if unexpected data items are found
-within an AST Object description read from an external data source. Note,
-the default behaviour is now not to report such errors. This differs from
-previous versions of AST which always reported an error is unexpected
-input items were encountered.
-
-
-
-Main Changes in Version 4.5
----------------------------
-
-- All FITS-CLASS headers are now created with a frequency axis. If the
-FrameSet supplied to astWrite contains a velocity axis (or any other form
-of spectral axis) it will be converted to an equivalent frequency axis
-before being used to create the FITS-CLASS header.
-
-- The value stored in the FITS-CLASS keyword "VELO-LSR" has been changed
-from the velocity of the source to the velocity of the reference channel.
-
-- Addition of a new method call astPurgeWCS (AST_PURGEWCS) to the FitsChan
-class. This method removes all WCS-related header cards from a FitsChan.
-
-- The astRebinSeq functions now have an extra parameter that is used to
-record the total number of input data val;ues added into the output
-array. This is necessary to correct a flaw in the calculation of output
-variances based on the spread of input values. NOTE, THIS CHANGE WILL
-REQUIRE EXISTING CODE THAT USES ASTREBINSEQ TO BE MODIFIED TO INCLUDE THE
-NEW PARAMETER (CALLED "NUSED").
-- The Plot class now honours the value of the LabelUp attribute even if
-numerical labels are placed around the edge of the Plot. Previously
-LabelUp was only used if the labels were drawn within the interior of
-the plot. The LabelUp attribute controls whether numerical labels are
-drawn horizontally or parallel to the axis they describe.
-- The Plot class has a new attribute called GrfContext that can be used
-to comminicate context information between an application and any
-graphics functions registered with the Plot class via the astGrfSet
-(AST_GRFSET) function.
-- Functions registered with the Plot class using astGrfSet (AST_GRFSET)
-now take a new additional integer parameter, "grfcon". The Plot class
-sets this parameter to value of the Plot's GrfContext attribute before
-calling the graphics function. NOTE, THIS CHANGE WILL REQUIRE EXISTING
-CODE THAT USES astGrfSet (AST_GRFSET) TO BE MODIFIED TO INCLUDE THE
-NEW PARAMETER.
-- Support has been added for the FITS-WCS "HPX" projection (HEALPix).
-- A new flag "AST__VARWGT" can be supplied to astRebinSeq. This causes
-the input data values to be weighted using the reciprocals of the input
-variances (if supplied).
-- The Frame class has a new read-only attribute called NormUnit that
-returns the normalised value of the Unit attribute for an axis. Here,
-"normalisation" means cancelling redundant units, etc. So for instance, a
-Unit value of "s*(m/s)" would result in a NormUnit value of "m".
-- A new method astShowMesh has been added to the Region class. It
-displays a mesh of points covering the surface of a Region by writing out
-a table of axis values to standard output.
-- A bug has been fixed that could segmentation violations when setting
-attribute values.
-
-Main Changes in Version 4.4
----------------------------
-
-- The astFindFrame (AST_FINDFRAME) method can now be used to search a
-CmpFrame for an instance of a more specialised class of Frame (SkyFrame,
-TimeFrame, SpecFrame, DSBSpecFrame or FluxFrame). That is, if an instance
-of one of these classes is used as the "template" when calling
-astFindFrame, and the "target" being searched is a CmpFrame (or a
-FrameSet in which the current Frame is a CmpFrame), then the component
-Frames within the CmpFrame will be searched for an instance of the
-supplied template Frame, and, if found, a suitable Mapping (which will
-include a PermMap to select the required axes from the CmpFrame) will be
-returned by astFindFrame. Note, for this to work, the MaxAxes and MinAxes
-attributes of the template Frame must be set so that they cover a range
-that includes the number of axes in the target CmpFrame.
-
-- The DSBSpecFrame class has a new attribute called AlignSB that
-specifies whether or not to take account of the SideBand attributes when
-aligning two DSBSpecFrames using astConvert (AST_CONVERT).
-
-- The Frame class has a new attribute called Dut1 that can be used to
-store a value for the difference between the UT1 and UTC timescales at
-the epoch referred to by the Frame.
-
-- The number of digits used to format the Frame attributes ObsLat and
-ObsLon has been increased.
-
-- The use of the SkyFrame attribute AlignOffset has been changed. This
-attribute is used to control how two SkyFrames are aligned by astConvert.
-If the template and target SkyFrames both have a non-zero value for
-AlignOffset, then alignment occurs within the offset coordinate systems
-(that is, a UnitMap will always be used to align the two SkyFrames).
-
-- The Plot class has a new attribute called ForceExterior that can be
-used to force exterior (rather than interior) tick marks to be produced,
-even if this would result in less than 3 tick marks being produced.
-
-- The TimeFrame class now supports conversion between angle based
-timescales such as UT1 and atomic based timescales such as UTC.
-
-
-Main Changes in Version 4.3
----------------------------
-
-- The SpecFrame class has a new attribute called SourceSys that specified
-whether the SourceVel attribute (which specifies the rest frame of the
-source) should be accessed as an apparent radial velocity or a redshift.
-Note, any existing software that assumes that SourceVel always represents
-a velocity in km/s should be changed to allow for the possibility of
-SourceVel representing a redshift value.
-
-- The astGetFitsS (AST_GETFITSS) function now strips trailing white space
-from the returned string, if the original string contains 8 or fewer
-characters.
-
-
-Main Changes in Version 4.2
----------------------------
-
-- The SideBand attribute of the DSBSpecFrame class can now take the
-option "LO" in addition to "USB" and "LSB". The new option causes the
-DSBSpecFrame to represent the offset from the local oscillator frequency,
-rather than either of the two sidebands.
-
-- The FitsChan class has been changed so that it writes out a VELOSYS
-keyword when creating a FITS-WCS encoding (VELOSYS indicates the
-topocentric apparent velocity of the standard of rest). FitsChan also
-strips out VELOSYS keywords when reading a FrameSet from a FITS-WCS
-encoding.
-
-- The FitsChan class has a new method called astRetainFits (AST_RETAINFITS)
-that indicates that the current card in the FitsChan should not be
-stripped out of the FitsChan when an AST Object is read from the FitsChan.
-Unless this method is used, all cards that were involved in the creation
-of the AST Object will be stripped from the FitsChan afte a read operation.
-
-- The ast_link_adam and ast_link scripts now ignore the -fsla and -csla
-options, and always link against the minimal cut-down version of SLALIB
-distributed as part of AST.
-
-- A problem with unaligned memory access that could cause bus errors on
-Solaris has been fixed.
-
-- A new function called astTune (or AST_TUNE) has been added which can be
-used to get and set global AST tuning parameters. At the moment there are
-only two such parameter, both of which are concerned with memory management
-within AST.
-
-- A new method called astTranGrid (AST_TRANGRID in Fortran) has been
-added to the Mapping class. This method creates a regular grid of points
-covering a rectangular region within the input space of a Mapping, and
-then transforms this set of points into the output space of the Mapping,
-using a piecewise-continuous linear approximation to the Mapping if
-appropriate in order to achive higher speed.
-
-- A new subclass of Mapping has been added called SwitchMap. A
-SwitchMap represents several alternate Mappings, each of which is used to
-transforms input positions within a different region of the input
-coordinate space.
-
-- A new subclass of Mapping has been added called SelectorMap. A
-SelectorMap tests each input position to see if it falls within one of
-several Regions. If it does, the index of the Region containing the
-input position is returned as the Mapping output.
-
-- The behaviour of the astConvert (AST_CONVERT) method when trying to
-align a CmpFrame with another Frame has been modified. If no conversion
-between positions in the Frame and CmpFrame can be found, an attempt is
-now made to find a conversion between the Frame and one of two component
-Frames contained within the CmpFrame. Thus is should now be possible to
-align a SkyFrame with a CmpFrame containing a SkyFrame and a SpecFrame
-(for instance). The returned Mapping produces bad values for the extra
-axes (i.e. for the SpecFrame axis in the above example).
-
-Main Changes in Version 4.1
----------------------------
-
-- A new control flag has been added to the AST_RESAMPLE<X>/astResample<X>
-functions which produces approximate flux conservation.
-
-- The SkyFrame class now supports a System value of "AZEL" corresponding
-to horizon (azimuth/elevation) coordinates.
-
-- The FitsChan class allows the non-standard strings "AZ--" and "EL--" to
-be used as axis types in FITS-WCS CTYPE keyword values.
-
-- The Frame class now has attributes ObsLon and ObsLat to specify
-the geodetic longitude and latitude of the observer.
-
-- The ClockLon and ClockLat attributes have been removed from the
-TimeFrame class. Likewise, the GeoLon and GeoLat attributes have been
-removed from the SpecFrame class. Both classes now use the ObsLon and
-ObsLat attributes of the parent Frame class instead. However, the old
-attribute names can be used as synonyms for ObsLat and ObsLon. Also,
-dumps created using the old scheme can be read succesfully by AST V4.1
-and converted to the new form.
-
-- A new function astMapSplit has been added to the Mapping class. This
-splits a Mapping into two component Mappings which, when combined in
-parallel, are equivalent to the original Mapping.
-
-- The default value for the SkyRefIs attribute has been changed from
-"Origin" to "Ignored". This means that if you want to use a SkyFrame
-to represent offsets from some origin position, you must now set the
-SkyRefIs attribute explicitly to either "Pole" or "Origin", in addition
-to assigning the required origin position to the SkyRef attribute.
-
-
-Main Changes in Version 4.0
----------------------------
-
-- Experimental support for reading IVOA Space-Time-Coordinates (STC)
-descriptions using the XmlChan class has been added. Support is included
-for a subset of V1.20 of the draft STC specification.
-
-- A new set of methods (AST_REBIN<X>/astRebin<X>) has been added to
-the Mapping class. These are accurately flux-conserving alternatives to the
-existing AST_RESAMPLE<X>/astResample<X> methods.
-
-
-Main Changes in Version 3.7
----------------------------
-
-- Support for time coordinate systems has been introduced throught the
-addition of two new classes, TimeFrame and TimeMap. The TimeFrame is a
-1-dimensional Frame which can be used to describe moments in time (either
-absolute or relative) in various systems (MJD, Julian Epoch, etc.) and
-referred to various time scales (TAI, UTC, UT1, GMST, etc). The TimeMap
-is a Mapping which can transform time values between these various
-systems and time scales.
-
-
-Main Changes in Version 3.6
----------------------------
-
-- If the Format attribute associated with an axis of a SkyFrame starts
-with a percent character (%), then axis values are now formatted and
-unformatted as a decimal radians value, using the Format syntax of a
-simple Frame.
-
-- The Plot class has a new attribute called Clip which controls the
-clipping performed by AST at the plot boundary.
-
-- The PolyMap class has been modified to allow a PolyMap to be written
-succesfully to a FitsChan using Native encoding.
-
-- A mimimal cut down subset of the C version of SLALIB is now included
-with the AST distribution and built as part of building AST. This means
-that it is no longer necessary to have SLALIB installed separately at
-your site. The SLALIB code included with AST is distrubuted under the
-GPL. The default behaviour of the ast_link script is now to link with
-this internal slalib subset. However, the ``-csla'' option can still be
-used to force linking with an external full C SLALIB library. A new
-option ``-fsla'' has been introduced which forces linking with the
-external full Fortran SLALIB library.
-
-
-Main Changes in Version 3.5
----------------------------
-
-- AST now provides facilities for representing regions of various
-shapes within a coordinate system. The Region class provides general
-facilities which are independent of the specific shape of region being
-used. Various sub-classes of Region are also now available which provide
-means of creating Regions of specific shape. Facilities provided by the
-Region class include testing points to see if they are inside the
-Region, testing two Regions for overlap, transforming Regions from one
-coordinate system to another, etc.
-
-- A new class of 1-dimensional Frame called FluxFrame has been added which
-can be used to describe various systems for describing ovserved value at a
-single fixed spectral position.
-
-- A new class of 2-dimensional Frame called SpecFluxFrame has been added which
-can be used to describe a 2-d frame spanned by a spectral position axis
-and and an observed value axis.
-
-- A new class of Mapping called RateMap has been added. A RateMap encapsulates
-a previously created Mapping. The inputs of the RateMap correspond to the
-inputs of the encapsulated Mapping. All RateMaps have just a single
-output which correspond to the rate of change of a specified output of
-the encapsulated Mapping with respect to a specified input.
-
-- The SkyFrame class now supports a value of "J2000" for System. This
-system is an equatorial system based on the mean dynamical equator and
-equinox at J2000, and differs slightly from an FK5(J2000) system.
-
-- Methods have been added to the FitsChan class to allow values for named
-keywords to be changed or added.
-
-- The parameter list for the astRate method of the Mapping class has been
-modified. It no longer returns a second derivative estimate. Existing
-code which uses the astRate (AST_RATE) method will need to be changed.
diff --git a/ast/ast_cpp.in b/ast/ast_cpp.in
deleted file mode 100644
index c4fb206..0000000
--- a/ast/ast_cpp.in
+++ /dev/null
@@ -1,11 +0,0 @@
-
-# Replacement for the C pre-processor command "cpp" which is not
-# always available. This uses the compiler command "cc" to do the same
-# thing. Also, this reads from standard input (which "cc" won't do).
-#
-# The name of the CPP processor is substituted in by the ./configure script,
-# based on the result of the AC_PROG_CPP test.
-
-cat >/tmp/ast_cpp_$$.c
-@CPP@ /tmp/ast_cpp_$$.c
-rm -f /tmp/ast_cpp_$$.c
diff --git a/ast/ast_dev b/ast/ast_dev
deleted file mode 100644
index a073e9a..0000000
--- a/ast/ast_dev
+++ /dev/null
@@ -1,86 +0,0 @@
-
-# N.B. the previous line should be blank.
-#++
-# Name:
-# ast_dev
-
-# Purpose:
-# Create links to AST include files.
-
-# Type of Module:
-# Shell script.
-
-# Description:
-# This command creates (or removes) symbolic links in your current
-# directory which refer to the AST include files. It is provided so
-# that you may develop software which uses these files without having
-# to know where they reside.
-
-# Invocation:
-# ast_dev [option]
-
-# Arguments:
-# option
-# If no value is supplied for this argument, symbolic links to AST
-# include files (for both Fortran and C) are created in your current
-# directory. If the value ``remove'' is given, these links are
-# removed. Any other value results in an error.
-
-# Examples:
-# ast_dev
-# Creates links to the AST include files in your current directory.
-# ast_dev remove
-# Removes any links to the AST include files from your current
-# directory.
-
-# Copyright:
-# Copyright (C) 1997-2006 Council for the Central Laboratory of the Research Councils
-
-# Authors:
-# RFWS: R.F. Warren-Smith (STARLINK, RAL)
-# DSB: David S. Berry (STARLINK)
-# {enter_new_authors_here}
-
-# History:
-# 11-NOV-1996 (RFWS):
-# Original version.
-# 18-NOV-1997 (RFWS):
-# Adapted prologue for document extraction.
-# 13-JUN-2001 (DSB):
-# Added GRF_PAR.
-# {enter_changes_here}
-
-# Bugs:
-# {note_any_bugs_here}
-
-#--
-
-# Implementation Notes:
-# The pathname of the installation include directory (e.g. /star/include)
-# must be edited into this script when it is installed. This is normally
-# done by the makefile.
-
-# Interpret command line.
- case "${1}" in
-
-# No arguments: create appropriate links.
- '')
- LINK INSTALL_INC/ast.h ast.h
- LINK INSTALL_INC/ast_par AST_PAR
- LINK INSTALL_INC/ast_err AST_ERR
- LINK INSTALL_INC/grf_par GRF_PAR
- ;;
-
-# Argument is "remove": delete links.
- remove)
- rm -f ast.h AST_PAR AST_ERR GRF_PAR
- ;;
-
-# Any other argument is invalid: report an error.
- *)
- echo "ast_dev: invalid argument \"${1}\" given" >&2
- exit 1
- ;;
- esac
-
-# End of script.
diff --git a/ast/ast_err.msg b/ast/ast_err.msg
deleted file mode 100644
index 6e42091..0000000
--- a/ast/ast_err.msg
+++ /dev/null
@@ -1,214 +0,0 @@
-.TITLE AST_ERR
-.FACILITY AST,1521/PREFIX=AST__
-!author R.F. Warren-Smith & D.S. Berry (STARLINK)
-
-.SEVERITY ERROR
-.BASE 300
-
-ATGER <attribute getting error>
-ATSER <attribute setting error>
-ATTIN <attribute value invalid>
-AXIIN <axis index invalid>
-BADAT <bad attribute name>
-BADBX <zero-sized box given>
-BADIN <bad input data>
-BADNI <bad number of input coordinates>
-BADNO <bad number of output coordinates>
-BADPW <PolyMap contains illegal power value>
-BADSM <ShiftMap contains no shift information>
-BADWM <WinMap contains no bounds information>
-BDBRK <bad break index>
-BDFMT <bad field specifier>
-BDFTS <invalid FITS keyword value found>
-BDOBJ <inappropriate Object supplied>
-CLPAX <wrong number of clipping axes>
-CORNG <range of coordinates invalid>
-CVBRK <too many breaks in a curve>
-DIMIN <array dimensions invalid>
-DTERR <date/time error>
-ENDIN <invalid use of astEnd>
-EOCHN <end of input Channel encountered>
-EXPIN <attempt to export Object pointer from level zero>
-FCRPT <corrupted FitsChan supplied>
-FMTER <error while formatting coordinate value>
-FRMIN <Frame index invalid>
-FRSIN <FrameSet invalid>
-FTCNV <cannot convert FITS data value type>
-GRFER <low level graphics error>
-INHAN <invalid Handle>
-INNCO <incompatible numbers of coordinates>
-INTER <internal programming error>
-INTRD <incompatible transformation directions>
-KYCIR <circular dependency between KeyMaps>
-LDERR <class loader error>
-LUTII <invalid lookup table increment>
-LUTIN <invalid number of lookup table elements>
-MEMIN <requested memory size invalid>
-MTR23 <not a 2d or 3d MatrixMap>
-MTRAX <null rotation axis supplied>
-MTRML <bad matrix shapes for multiplication>
-MTRMT <null matrix supplied>
-NAXIN <number of axes invalid>
-NCHIN <number of characters invalid>
-NCOIN <number of coordinates invalid>
-NCPIN <number of coordinates per point invalid>
-NELIN <number of array elements invalid>
-NOCTS <number of output coordinates too small>
-NODEF <transformation not defined>
-NOFTS <required FITS keywords missing>
-NOMEM <unable to allocate memory>
-NOPTS <number of output points too small>
-NOWRT <attribute is read-only>
-NPTIN <number of points invalid>
-OBJIN <Object invalid>
-OPT <invalid Plot option>
-PDSIN <points data structure invalid>
-PLFMT <no numerical labels can be produced>
-PRMIN <permutation invalid>
-PTRIN <pointer invalid>
-PTRNG <range of points invalid>
-RDERR <read error>
-REGIN <invalid or corrupted Region structure supplied>
-REMIN <invalid attempt to remove last Frame>
-SCSIN <sky coordinate system invalid>
-SELIN <axis selection invalid>
-SLAIN <bad SLALIB transformation type>
-TRNND <coordinate transformation not defined>
-UNMQT <unmatched quotes>
-VSMAL <valid area too small>
-WCSAX <non-existent longitude or latitude axis>
-WCSNC <too few mapping coordinates>
-WCSPA <invalid projection parameters>
-WCSTY <unknown projection type>
-XSOBJ <too many Objects in use at once>
-ZOOMI <zoom factor invalid>
-
-! New codes introduced for V1.1.
-BADCI <bad coordinate index>
-ILOST <FrameSet integrity lost>
-ITFER <error in IntraMap transformation function>
-ITFNI <IntraMap transformation function name invalid>
-MBBNF <Mapping bounding box not found>
-MRITF <multiple registration of IntraMap transformation function>
-OCLUK <Object class unknown>
-UNFER <error while unformatting a coordinate value>
-URITF <unregistered IntraMap transformation function>
-
-! New codes introduced for V1.2.
-GBDIN <grid bounds invalid>
-NGDIN <number of grid dimensions invalid>
-PATIN <positional accuracy tolerance invalid>
-SISIN <sub-pixel interpolation scheme invalid>
-SSPIN <scale size in pixels invalid>
-
-! New codes introduced for V1.3.
-UINER <error in user-supplied sub-pixel interpolation function>
-UK1ER <error in user-supplied 1-d sub-pixel interpolation kernel>
-
-! New codes introduced for V1.4.
-COMIN <invalid comma in expression>
-CONIN <invalid constant in expression>
-DUVAR <duplicate variable name>
-INNTF <invalid number of transformation functions>
-MIOPA <missing or invalid operand in expression>
-MIOPR <missing or invalid operator in expression>
-MISVN <missing variable name>
-MLPAR <missing left parenthesis in expression>
-MRPAR <missing right parenthesis in expression>
-NORHS <missing right hand side in function>
-UDVOF <undefined variable or function in expression>
-VARIN <variable name invalid>
-WRNFA <wrong number of function arguments in expression>
-
-! New codes introduced for V2.0.
-BADUN <invalid units specification>
-NORSF <no rest frequency is defined>
-NOSOR <no standard of rest is defined>
-SPCIN <invalid SpecMap>
-
-! New codes introduced for V3.1
-XMLNM <invalid XML name or prefix>
-XMLCM <invalid XML comment text>
-XMLPT <invalid XML processing instruction target text>
-XMLIT <invalid XML content item index>
-XMLWF <supplied XML document is not well formed>
-
-! New codes introduced for V3.2
-ZERAX <Range of log axis scale includes zero>
-
-! New codes introduced for V3.3
-BADOC <Invalid parameters for offset sky coordinate system>
-
-! New codes introduced for V3.5-2
-MPGER <error getting a named value from a KeyMap>
-MPIND <invalid integer index supplied for a KeyMap entry>
-
-! New codes introduced for V3.6
-REGCN <region cannot be re-centred>
-NOVAL <attribute has no usable value>
-INCTS <incompatible time scales>
-TIMIN <invalid TimeMap>
-STCKEY <cannot use supplied AstroCoords info>
-STCIND <invalid AstroCoords index>
-
-! New codes introduced for V4.0
-CNFLX <cannot conserve flux whilst resampling an array of data>
-TUNAM <Unknown AST tuning parameter name supplied>
-BDPAR <Bad value supplied for a public function parameter>
-
-
-! New codes introduced for V4.6
-3DFSET <Supplied FrameSet does not contain any independent axes>
-PXFRRM <Attempt to delete original Plot3D base Frame>
-BADSUB <Illegal syntax for string substitution template>
-BADFLG <Incompatible flags for re-sampling or re-binning>
-
-! New codes introduced for V5.0
-LCKERR <Error locking or unlocking an AST Object>
-FUNDEF <FITS keyword had undefined value>
-
-! New codes introduced for V5.2
-MPVIN <invalid integer index supplied for a KeyMap vector element>
-OPRIN <operation specifier invalid>
-NONIN <no inside point found>
-MPKER <requested key not found in KeyMap>
-MPPER <error putting a named value into a KeyMap>
-BADKEY <Attempt made to add an entry to a locked KeyMap>
-
-! New codes introduced for V5.4
-BADTYP <Bad data type>
-OLDCOL <Column already exists with different properties>
-BADNULL <Bad null value for a FITS table column>
-BIGKEY <Key string is too long>
-BADCOL <No such column exists in the table>
-BIGTAB <Table is too large>
-BADSIZ <Invalid array size>
-BADTAB <Error reading WCS from FITS binary table>
-NOTAB <Cannot access FITS binary table>
-
-! New codes introduced for V5.7
-LEVMAR <Error in levmar Levenberg-Marquardt code>
-NOFIT <Fit failed>
-ISNAN <A transformation generated one or more NaN values>
-WRERR <write error>
-
-! New codes introduced for V7.3
-BDVNM <Bad variant Mapping name>
-MIRRO <Attempt to add a variant Mapping to a mirror Frame>
-
-! New codes introduced for V8.0
-MNPCK <Error in cminpack Levenberg-Marquardt code>
-
-! New codes introduced for V8.0.3
-EXSPIX <Supplied array has too many pixels>
-
-! New codes introduced for V8.0.4
-NOCNV <No mapping found between coordinate systems>
-
-! New codes introduced for V8.2.0
-IMMUT <Attempt to change an immutable attribute>
-
-! New codes introduced for V8.5.0
-NOBOX <No bounding box available>
-
-.END
diff --git a/ast/ast_link.in b/ast/ast_link.in
deleted file mode 100644
index c5759e2..0000000
--- a/ast/ast_link.in
+++ /dev/null
@@ -1,463 +0,0 @@
-
-# N.B. the previous line should be blank.
-#++
-# Name:
-# ast_link
-
-# Purpose:
-# Link a program with the AST library.
-
-# Type of Module:
-# Shell script.
-
-# Description:
-# This command should be used when building programs which use the AST
-# library, in order to generate the correct arguments to allow the compiler
-# to link your program. The arguments generated are written to standard
-# output but may be substituted into the compiler command line in the
-# standard UNIX way using backward quotes (see below).
-#
-# By default, it is assumed that you are building a stand-alone program
-# which does not produce graphical output. However, switches are provided
-# for linking other types of program.
-
-# Invocation:
-#c cc program.c -L/star/lib `ast_link [switches]` -o program
-#f f77 program.f -L/star/lib `ast_link [switches]` -o program
-
-# Switches:
-# The following switches may optionally be given to this command to
-# modify its behaviour:
-#
-#
-# - ``-csla'': Ignored. Provided for backward compatibility only.
-#
-# - ``-fsla'': Ignored. Provided for backward compatibility only.
-#
-# - ``-ems'': Requests that the program be linked so that error messages
-# produced by the AST library are delivered via the Starlink EMS (Error
-# Message Service) library (Starlink System Note SSN/4). By default,
-# error messages are simply written to standard error.
-#
-# - ``-drama'': Requests that the program be linked so that error messages
-# produced by the AST library are delivered via the DRAMA Ers (Error
-# Reporting Service) library. By default, error messages are simply
-# written to standard error.
-#
-# - ``-grf'': Requests that no arguments be generated to specify which
-# 2D graphics system is used to display output from the AST library. You
-# should use this option only if you have implemented an interface to a
-# new graphics system yourself and wish to provide your own arguments for
-# linking with it. This switch differs from the other ``grf'' switches in
-# that it assumes that your graphics module implements the complete
-# interface required by the current version of AST. If future versions of
-# AST introduce new functions to the graphics interface, this switch will
-# cause ``unresolved symbol'' errors to occur during linking, warning you
-# that you need to implement new functions in your graphics module. To
-# avoid such errors, you can use one of the other, version-specific,
-# switches in place of the ``-grf'' switch, but these will cause run-time
-# errors to be reported if any AST function is invoked which requires
-# facilities not in the implemented interface.
-#
-# - ``-grf_v2.0'': This switch is equivalent to the ``-mygrf'' switch.
-# It indicates that you want to link with your own graphics module
-# which implements the 2D graphics interface required by V2.0 of AST.
-#
-# - ``-grf_v3.2'': Indicates that you want to link with your own
-# graphics module which implements the 2D graphics interface required by
-# V3.2 of AST.
-#
-# - ``-grf_v5.6'': Indicates that you want to link with your own
-# graphics module which implements the 2D graphics interface required by
-# V5.6 of AST.
-#
-# - ``-myerr'': Requests that no arguments be generated to specify how
-# error messages produced by the AST library should be delivered. You
-# should use this option only if you have implemented an interface to a
-# new error delivery system yourself and wish to provide your own
-# arguments for linking with it.
-#
-# - ``-mygrf'': This switch has been superceeded by the ``-grf'' switch,
-# but is retained in order to allow applications to be linked with a
-# graphics module which implements the 2D interface used by AST V2.0. It
-# is equivalent to the ``-grf_v2.0'' switch.
-#
-# - ``-pgp'': Requests that the program be linked so that 2D
-# graphical output from the AST library is displayed via the
-# Starlink version of the PGPLOT graphics package (which uses GKS
-# for its output). By default, no 2D graphics package is linked and
-# this will result in an error at run time if AST routines are
-# invoked that attempt to generate graphical output.
-#
-# - ``-pgplot'': Requests that the program be linked so that 2D
-# graphical output from the AST library is displayed via
-# the standard (or ``native'') version of the PGPLOT graphics
-# package. By default, no 2D graphics package is linked and this will
-# result in an error at run time if AST routines are invoked that
-# attempt to generate graphical output.
-#
-# - ``-grf3d'': Requests that no arguments be generated to specify which
-# 3D graphics system is used to display output from the AST library. You
-# should use this option only if you have implemented an interface to a
-# new 3D graphics system yourself and wish to provide your own arguments
-# for linking with it.
-#
-# - ``-pgp3d'': Requests that the program be linked so that 3D
-# graphical output from the AST library is displayed via the
-# Starlink version of the PGPLOT graphics package (which uses GKS
-# for its output). By default, no 3D graphics package is linked and
-# this will result in an error at run time if AST routines are
-# invoked that attempt to generate graphical output.
-#
-# - ``-pgplot3d'': Requests that the program be linked so that 3D
-# graphical output from the AST library is displayed via
-# the standard (or ``native'') version of the PGPLOT graphics
-# package. By default, no 3D graphics package is linked and this will
-# result in an error at run time if AST routines are invoked that
-# attempt to generate graphical output.
-
-# ERFA & PAL:
-# The AST distribution includes bundled copies of the ERFA and PAL
-# libraries. These will be used for fundamental positional astronomy
-# calculations unless the "--with-external_pal" option was used when
-# AST was configured. If "--with-external_pal" is used, this script
-# will include "-lpal" in the returned list of linking options, and
-# the user should then ensure that external copies of the PAL and
-# ERFA libraries are available (ERFA functions are used within PAL).
-
-# Examples:
-#c cc display.c -L/star/lib `ast_link -pgplot` -o display
-#c Compiles and links a C program called ``display'' which uses
-#c the standard version of PGPLOT for graphical output.
-#c cc plotit.c -L. -L/star/lib `ast_link -grf` -lgrf -o plotit
-#c Compiles and links a C program ``plotit''. The ``-grf''
-#c switch indicates that graphical output will be delivered through
-#c a graphical interface which you have implemented yourself, which
-#c corresponds to the interface required by the current version of AST.
-#c Here, this interface is supplied by means of the ``-lgrf'' library
-#c reference.
-#c cc plotit.c -L. -L/star/lib `ast_link -grf_v2.0` -lgrf -o plotit
-#c Compiles and links a C program ``plotit''. The ``-grf_v2.0''
-#c switch indicates that graphical output will be delivered through
-#c a graphical interface which you have implemented yourself, which
-#c corresponds to the interface required by version 2.0 of AST.
-#c Here, this interface is supplied by means of the ``-lgrf'' library
-#c reference.
-#f f77 display.f -L/star/lib `ast_link -pgplot` -o display
-#f Compiles and links a Fortran program called ``display'' which uses
-#f the standard version of PGPLOT for graphical output.
-#f f77 plotit.f -L. -L/star/lib `ast_link -grf` -lgrf -o plotit
-#f Compiles and links a Fortran program ``plotit''. The ``-grf''
-#f switch indicates that graphical output will be delivered through
-#f a graphical interface which you have implemented yourself, which
-#f corresponds to the interface required by the current version of AST.
-#f Here, this interface is supplied by means of the ``-lgrf'' library
-#f reference.
-#f f77 plotit.f -L. -L/star/lib `ast_link -grf_v2.0` -lgrf -o plotit
-#f Compiles and links a Fortran program ``plotit''. The ``-grf_v2.0''
-#f switch indicates that graphical output will be delivered through
-#f a graphical interface which you have implemented yourself, which
-#f corresponds to the interface required by version 2.0 of AST.
-#f Here, this interface is supplied by means of the ``-lgrf'' library
-#f reference.
-
-# Copyright:
-# Copyright (C) 1997-2006 Council for the Central Laboratory of the Research Councils
-# Copyright (C) 2007-2008 Science & Technology Facilities Council.
-# All Rights Reserved.
-
-# Authors:
-# RFWS: R.F. Warren-Smith (STARLINK)
-# DSB: David S. Berry (STARLINK)
-# TIMJ: Tim Jenness (JAC, Hawaii)
-# {enter_new_authors_here}
-
-# History:
-# 11-JUN-1996 (RFWS):
-# Original version.
-# 11-NOV-1996 (RFWS):
-# Added switches.
-# 18-NOV-1997 (RFWS):
-# Adapted prologue for document extraction.
-# 28-SEP-1998 (RFWS):
-# Distinguish between -pgp and -pgplot options.
-# 12-JAN-2001 (DSB):
-# Move terminating "}" in function "find" onto a new line to
-# avoid error when run under bash 2.04.11(1) (redhat 7).
-# 3-MAY-2001 (DSB):
-# Added a terminating ";" to the "done" statement at the end of
-# the "find" function, so that ast_link can be used on Debian Linux.
-# 23-JAN-2004 (DSB):
-# Added switches to support older grf implementations.
-# 24-AUG-2004 (DSB):
-# Removed f77='y' from -ems case.
-# 21-APR-2005 (DSB):
-# Added "-fsla" option.
-# 16-JUN-2006 (DSB):
-# Ignore "-fsla" and "-clsa" options, and always use PAL.
-# 26-JUN-2007 (DSB):
-# Added "-grf3d", "-pgplot3d" and "-pgp3d" flags.
-# 13-NOV-2008 (TIMJ):
-# Add -drama option for DRAMA Ers support.
-# 3-MAR-2011 (DSB):
-# Added grf 5.6 options.
-# {enter_further_changes_here}
-
-# Bugs:
-# {note_any_bugs_here}
-
-#--
-
-# This line is edited during configuration of this script to define a list
-# of the libraries that must be linked in order to resolve Fortran 77
-# references made from within a C main program. Typically, these will arise
-# from libraries written in Fortran which the AST library (or the C
-# program) calls. The value here is worked out by the autoconf macro
-# AC_FC_LIBRARY_LDFLAGS.
- flibs='@FCLIBS@'
-
-# This function searches the directory path specified in PATH, looking for
-# an executable file which is not a directory. If found, it echos the full
-# file name to standard output. Otherwise, it outputs nothing.
- find() { IFS=':'; for d in $PATH; do f="${d:=.}/${1}"
- test -x "${f}" -a ! -d "${f}" && echo "${f}" && break
- done;
- }
-
-# Initialise linking options.
- err=''
- grf=''
- grf3d=''
- sla=''
- f77=''
-
-# Interpret command line switches.
-# --------------------------------
- while :; do
- case "${1}" in
-
-# -csla - Previously used to request C version of SLALIB. Now ignored.
- -csla)
-# sla='c'
- shift;;
-
-# -fsla - Previously used to request Fortran version of SLALIB. Now ignored.
- -fsla)
-# sla='f'
- shift;;
-
-# -ems - Requests error reporting through EMS.
- -ems)
- err='ems'
- shift;;
-
-# -drama - Requests error reporting through DRAMA Ers.
- -drama)
- err='drama'
- shift;;
-
-# -myerr - Requests no error reporting.
- -myerr)
- err='my'
- shift;;
-
-# -grf - Requests no 2D graphics.
- -grf)
- grf='current'
- shift;;
-
-# -mygrf - Requests no 2D graphics, except for null implementations of
-# functions aded to the grf interface after AST V2.0.
- -mygrf)
- grf='v2.0'
- shift;;
-
-# -grf_v2.0 - Requests no 2D graphics, except for null implementations of
-# functions aded to the grf interface after AST V2.0.
- -grf_v2.0)
- grf='v2.0'
- shift;;
-
-# -grf_v3.2 - Requests no 2D graphics, except for null implementations of
-# functions aded to the grf interface after AST V3.2.
- -grf_v3.2)
- grf='v3.2'
- shift;;
-
-# -grf_v5.6 - Requests no 2D graphics, except for null implementations of
-# functions aded to the grf interface after AST V5.6.
- -grf_v5.6)
- grf='v5.6'
- shift;;
-
-# -pgp - Requests 2D graphical output through Starlink PGPLOT.
- -pgp)
- grf='pgp'
- shift;;
-
-# -pgplot - Requests 2D graphical output through native PGPLOT.
- -pgplot)
- grf='pgplot'
- shift;;
-
-# -grf3d - Requests no 3D graphics.
- -grf3d)
- grf3d='current'
- shift;;
-
-# -pgp3d - Requests 3D graphical output through Starlink PGPLOT.
- -pgp3d)
- grf3d='pgp'
- shift;;
-
-# -pgplot3d - Requests 3D graphical output through native PGPLOT.
- -pgplot3d)
- grf3d='pgplot'
- shift;;
-
-# Once all switches have been read, continue with the rest of the script.
- '') break;;
-
-# Catch unrecognised arguments and report an error.
- *)
- echo >&2 "ast_link: unknown argument \""${1}"\" given"
- exit 1;;
- esac
- done
-
-# Link with the main AST library.
-# -------------------------------
-# Start forming the list of arguments with the main AST library itself.
- args='-last '
-
-# Generate arguments for linking PAL.
-# -----------------------------------
-
- case "@EXTERNAL_PAL@" in
-
-# If we configured --with-external_pal include a link option to pick up
-# an external PAL library.
- 1) args="${args} -lpal";;
-
-# Otherwise, use the internal PAL & ERFA libraries.
- *) args="${args} -last_pal";;
-
- esac
-
-# Generate arguments for linking the 2D graphics system.
-# ------------------------------------------------------
- case "${grf}" in
-
-# If using Starlink PGPLOT, link with the AST PGPLOT interface and
-# the Fortran library via the PGP link script (if found).
- pgp) args="${args} -last_pgplot `\`find pgp_link\``"
- f77='y';;
-
-# If using native PGPLOT, link with the AST PGPLOT interface and the
-# Fortran library via the PGPLOT link script (if found).
- pgplot) args="${args} -last_pgplot `\`find pgplot_link\``"
- f77='y';;
-
-# If using own graphics which conform to the requirements of the current
-# version of AST, do not produce any arguments.
- current) :;;
-
-# If using own graphics which conform to the requirements of version 5.6
-# of AST, produce arguments which link in dummy implementations of any
-# functions which are required by the current version of AST but which were
-# not required by version 5.6.
- v5.6) :;;
-
-# If using own graphics which conform to the requirements of version 3.2
-# of AST, produce arguments which link in dummy implementations of any
-# functions which are required by the current version of AST but which were
-# not required by version 3.2.
- v3.2) args="${args} -last_grf_5.6";;
-
-# If using own graphics which conform to the requirements of version 2.0
-# of AST, produce arguments which link in dummy implementations of any
-# functions which are required by the current version of AST but which were
-# not required by version 2.0.
- v2.0) args="${args} -last_grf_3.2 -last_grf_5.6";;
-
-# Default graphics (none) requires linking with all the default (null) AST
-# "grf" modules.
- *) args="${args} -last_grf_2.0 -last_grf_3.2 -last_grf_5.6";;
- esac
-
-
-# Generate arguments for linking the 3D graphics system.
-# ------------------------------------------------------
- case "${grf3d}" in
-
-# If using Starlink PGPLOT, link with the AST 3D PGPLOT interface and
-# the Fortran library via the PGP link script (if found).
- pgp) args="${args} -last_pgplot3d `\`find pgp_link\``"
- f77='y';;
-
-# If using native PGPLOT, link with the AST 3D PGPLOT interface and the
-# Fortran library via the PGPLOT link script (if found).
- pgplot) args="${args} -last_pgplot3d `\`find pgplot_link\``"
- f77='y';;
-
-# If using own 3D graphics which conform to the requirements of the current
-# version of AST, do not produce any arguments.
- current) :;;
-
-# Default graphics (none) requires linking with all the default (null) AST
-# "grf3d" modules.
- *) args="${args} -last_grf3d";;
- esac
-
-
-
-# Make a second pass through the AST library.
-# -------------------------------------------
-# This library is a link to the main AST library and results in a second
-# pass to resolve any backward references generated by the other modules
-# used above. A different library name must be used to avoid the two passes
-# being merged into one (either below, or by other link scripts).
- args="${args} -last_pass2"
-
-# Generate arguments for linking the error reporting system.
-# ----------------------------------------------------------
- case "${err}" in
-
-# If using EMS, link with the AST EMS interface and the EMS library via the
-# link script (if found).
- ems) args="${args} -last_ems `\`find ems_link\``";;
-
-# If using DRAMA, link with the AST DRAMA interface and the DRAMA Ers library
-# via the link script (if found).
- drama) args="${args} -last_drama -lers";;
-
-# If using own error reporting, do not produce any arguments.
- my) :;;
-
-# Default error reporting requires linking with the default AST "err" module.
- *) args="${args} -last_err";;
- esac
-
-# Link with the maths library.
-# ----------------------------
- args="${args} -lm"
-
-# Link with the starmem library, if available.
-# --------------------------------------------
- args="${args} `\`find starmem_link\``"
-
-# Resolve Fortran 77 references.
-# ------------------------------
-# If libraries written in Fortran are being linked against, then include
-# additional libaries needed to resolve the references these will produce
-# (in the event that the main program is not Fortran).
- if test "${f77}" = 'y'; then args="${args} ${flibs}"; fi
-
-# Pass the resulting argument list through an awk script which eliminates
-# all except the last reference to each library.
- echo "${args}" \
- | awk 'BEGIN{RS=" ";FS="\n"}
- {if($1)f[i++]=$1}
- END{for(;i--;)if(!w[f[i]]++)l=f[i]" "l;print l}'
-
-# End of script.
diff --git a/ast/ast_link_adam.in b/ast/ast_link_adam.in
deleted file mode 100644
index df93c6c..0000000
--- a/ast/ast_link_adam.in
+++ /dev/null
@@ -1,406 +0,0 @@
-
-# N.B. the previous line should be blank.
-#++
-# Name:
-# ast_link_adam
-
-# Purpose:
-# Link an ADAM program with the AST library.
-
-# Type of Module:
-# Shell script.
-
-# Description:
-# This command should only be used when building Starlink ADAM programs
-# which use the AST library, in order to generate the correct arguments
-# to allow the ADAM ``alink'' command to link the program. The arguments
-# generated are written to standard output but may be substituted into
-# the ``alink'' command line in the standard UNIX way using backward
-# quotes (see below).
-#
-# By default, it is assumed that you are building an ADAM program which
-# does not produce graphical output. However, switches are provided for
-# linking other types of program. This command should not be used when
-# building stand-alone (non-ADAM) programs. Use the ``ast_link'' command
-# instead.
-
-# Invocation:
-#c alink program.o -L/star/lib `ast_link_adam [switches]`
-#f alink program.f -L/star/lib `ast_link_adam [switches]`
-
-# Switches:
-# The following switches may optionally be given to this command to
-# modify its behaviour:
-#
-# - ``-csla'': Ignored. Provided for backward compatibility only.
-#
-# - ``-fsla'': Ignored. Provided for backward compatibility only.
-#
-# - ``-grf'': Requests that no arguments be generated to specify which
-# 2D graphics system is used to display output from the AST library. You
-# should use this option only if you have implemented an interface to a
-# new graphics system yourself and wish to provide your own arguments for
-# linking with it. This switch differs from the other ``grf'' switches in
-# that it assumes that your graphics module implements the complete
-# interface required by the current version of AST. If future versions of
-# AST introduce new functions to the graphics interface, this switch will
-# cause ``unresolved symbol'' errors to occur during linking, warning you
-# that you need to implement new functions in your graphics module. To
-# avoid such errors, you can use one of the other, version-specific,
-# switches in place of the ``-grf'' switch, but these will cause run-time
-# errors to be reported if any AST function is invoked which requires
-# facilities not in the implemented interface.
-#
-# - ``-grf_v2.0'': This switch is equivalent to the ``-mygrf'' switch.
-# It indicates that you want to link with your own graphics module which
-# implements the 2D graphics interface required by V2.0 of AST.
-#
-# - ``-grf_v3.2'': Indicates that you want to link with your own graphics
-# module which implements the 2D graphics interface required by V3.2 of AST.
-#
-# - ``-grf_v5.6'': Indicates that you want to link with your own graphics
-# module which implements the 2D graphics interface required by V5.6 of AST.
-#
-# - ``-myerr'': Requests that no arguments be generated to specify how
-# error messages produced by the AST library should be delivered. You
-# should use this option only if you have implemented an interface to a
-# new error delivery system yourself and wish to provide your own
-# arguments for linking with it. By default, error messages are delivered
-# in the standard ADAM way via the EMS Error Message Service (Starlink
-# System Note SSN/4).
-#
-# - ``-mygrf'': This switch has been superceeded by the ``-grf'' switch,
-# but is retained in order to allow applications to be linked with a
-# graphics module which implements the interface used by AST V2.0. It is
-# equivalent to the ``-grf_v2.0'' switch.
-#
-# - ``-pgp'': Requests that the program be linked so that 2D
-# graphical output from the AST library is displayed via the
-# Starlink version of the PGPLOT graphics package (which uses GKS
-# for its output). By default, no graphics package is linked and
-# this will result in an error at run time if AST routines are
-# invoked that attempt to generate graphical output.
-#
-# - ``-pgplot'': Requests that the program be linked so that 2D
-# graphical output from the AST library is displayed via the
-# standard (or ``native'') version of the PGPLOT graphics
-# package. By default, no graphics package is linked and this will
-# result in an error at run time if AST routines are invoked that
-# attempt to generate graphical output.
-#
-# - ``-grf3d'': Requests that no arguments be generated to specify which
-# 3D graphics system is used to display output from the AST library. You
-# should use this option only if you have implemented an interface to a
-# new 3D graphics system yourself and wish to provide your own arguments
-# for linking with it.
-#
-# - ``-pgp3d'': Requests that the program be linked so that 3D
-# graphical output from the AST library is displayed via the
-# Starlink version of the PGPLOT graphics package (which uses GKS
-# for its output). By default, no 3D graphics package is linked and
-# this will result in an error at run time if AST routines are
-# invoked that attempt to generate graphical output.
-#
-# - ``-pgplot3d'': Requests that the program be linked so that 3D
-# graphical output from the AST library is displayed via
-# the standard (or ``native'') version of the PGPLOT graphics
-# package. By default, no 3D graphics package is linked and this will
-# result in an error at run time if AST routines are invoked that
-# attempt to generate graphical output.
-
-# SLALIB:
-# The AST distribution includes a cut down subset of the C version of
-# the SLALIB library written by Pat Wallace. This subset contains only
-# the functions needed by the AST library. It is built as part of the
-# process of building AST and is distributed under GPL (and is thus
-# compatible with the AST license). Previous version of this script
-# allowed AST applications to be linked against external SLALIB
-# libraries (either Fortran or C) rather than the internal version.
-# The current version of this script does not provide this option,
-# and always uses the internal SLALIB library. However, for backward
-# compatibility, this script still allows the "-fsla" and "-csla" flags
-# (previously used for selecting which version of SLALIB to use) to be
-# specified, but they will be ignored.
-
-# Examples:
-#c alink display.o -L/star/lib `ast_link_adam -pgplot`
-#c Links an ADAM program ``display'' which uses the standard
-#c version of PGPLOT for graphical output.
-#c alink plotit.o -L. -L/star/lib `ast_link_adam -grf` -lgrf
-#c Links an ADAM program ``plotit'', written in C. The ``-grf''
-#c switch indicates that graphical output will be delivered through
-#c a graphical interface which you have implemented yourself, which
-#c corresponds to the interface required by the current version of AST.
-#c Here, this interface is supplied by means of the ``-lgrf'' library
-#c reference.
-#c alink plotit.o -L. -L/star/lib `ast_link_adam -grf_v2.0` -lgrf
-#c Links an ADAM program ``plotit'', written in C. The ``-grf_v2.0''
-#c switch indicates that graphical output will be delivered through
-#c a graphical interface which you have implemented yourself, which
-#c corresponds to the interface required by version 2.0 of AST. Here,
-#c this interface is supplied by means of the ``-lgrf'' library
-#c reference.
-#f alink display.f -L/star/lib `ast_link_adam -pgplot`
-#f Compiles and links an ADAM Fortran program called ``display'' which
-#f uses the standard version of PGPLOT for graphical output.
-#f alink plotit.f -L. -L/star/lib `ast_link_adam -grf` -lgrf
-#f Compiles and links an ADAM Fortran program ``plotit''. The ``-grf''
-#f switch indicates that graphical output will be delivered through
-#f a graphical interface which you have implemented yourself, which
-#f corresponds to the interface required by the current version of AST.
-#f Here, this interface is supplied by means of the ``-lgrf'' library
-#f reference.
-#f alink plotit.f -L. -L/star/lib `ast_link_adam -grf_v2.0` -lgrf
-#f Compiles and links an ADAM Fortran program ``plotit''. The ``-grf_v2.0''
-#f switch indicates that graphical output will be delivered through
-#f a graphical interface which you have implemented yourself, which
-#f corresponds to the interface required by version 2.0 of AST.
-#f Here, this interface is supplied by means of the ``-lgrf'' library
-#f reference.
-
-# Copyright:
-# Copyright (C) 1997-2006 Council for the Central Laboratory of the Research Councils
-
-# Authors:
-# RFWS: R.F. Warren-Smith (STARLINK)
-# {enter_new_authors_here}
-
-# History:
-# 11-NOV-1996 (RFWS):
-# Original version.
-# 18-NOV-1997 (RFWS):
-# Adapted prologue for document extraction.
-# 28-SEP-1998 (RFWS):
-# Distinguish between -pgp and -pgplot options.
-# 23-JAN-2004 (DSB):
-# Added switches to support older grf implementations.
-# 21-APR-2005 (DSB):
-# Added "-fsla" option.
-# 16-JUN-2006 (DSB):
-# Ignore "-fsla" and "-clsa" options, and always use PAL.
-# 22-AUG-2007 (DSB):
-# Added "-grf3d", "-pgplot3d" and "-pgp3d" flags.
-# 4-MAR-2011 (DSB):
-# Added v5.6 grf options.
-# {enter_changes_here}
-
-# Bugs:
-# {note_any_bugs_here}
-
-#--
-
-# This function searches the directory path specified in PATH, looking for
-# an executable file which is not a directory. If found, it echos the full
-# file name to standard output. Otherwise, it outputs nothing.
- find() { IFS=':'; for d in $PATH; do f="${d:=.}/${1}"
- test -x "${f}" -a ! -d "${f}" && echo "${f}" && break
- done;
- }
-
-# Initialise linking options.
- err=''
- grf=''
- grf3d=''
- sla=''
-
-# Interpret command line switches.
-# --------------------------------
- while :; do
- case "${1}" in
-
-# -csla - Previously used to request C version of SLALIB. Now ignored.
- -csla)
-# sla='c'
- shift;;
-
-# -fsla - Previously used to request Fortran version of SLALIB. Now ignored.
- -fsla)
-# sla='f'
- shift;;
-
-# -myerr - Requests no error reporting.
- -myerr)
- err='my'
- shift;;
-
-# -grf - Requests no 2D graphics.
- -grf)
- grf='current'
- shift;;
-
-# -mygrf - Requests no 2D graphics, except for null implementations of
-# functions aded to the grf interface after AST V2.0.
- -mygrf)
- grf='v2.0'
- shift;;
-
-# -grf_v2.0 - Requests no 2D graphics, except for null implementations of
-# functions aded to the grf interface after AST V2.0.
- -grf_v2.0)
- grf='v2.0'
- shift;;
-
-# -grf_v3.2 - Requests no 2D graphics, except for null implementations of
-# functions aded to the grf interface after AST V3.2.
- -grf_v3.2)
- grf='v3.2'
- shift;;
-
-# -grf_v5.6 - Requests no 2D graphics, except for null implementations of
-# functions added to the grf interface after AST V5.6.
- -grf_v5.6)
- grf='v5.6'
- shift;;
-
-# -pgp - Requests 2D graphical output through Starlink PGPLOT.
- -pgp)
- grf='pgp'
- shift;;
-
-# -pgplot - Requests 2D graphical output through native PGPLOT.
- -pgplot)
- grf='pgplot'
- shift;;
-
-# -grf3d - Requests no 3D graphics.
- -grf3d)
- grf3d='current'
- shift;;
-
-# -pgp3d - Requests 3D graphical output through Starlink PGPLOT.
- -pgp3d)
- grf3d='pgp'
- shift;;
-
-# -pgplot3d - Requests 3D graphical output through native PGPLOT.
- -pgplot3d)
- grf3d='pgplot'
- shift;;
-
-# Once all switches have been read, continue with the rest of the script.
- '') break;;
-
-# Catch unrecognised switches and report an error.
- *)
- echo >&2 "ast_link_adam: unknown argument \""${1}"\" given"
- exit 1;;
- esac
- done
-
-# Link with the main AST library.
-# -------------------------------
-# Start forming the list of arguments with the main AST library itself.
- args='-last'
-
-# Generate arguments for linking PAL.
-# -----------------------------------
-
- case "@EXTERNAL_PAL@" in
-
-# If we configured --with-external_pal include a link option to pick up
-# an external PAL library.
- 1) args="${args} -lpal";;
-
-# Otherwise, use the internal PAL & ERFA libraries.
- *) args="${args} -last_pal";;
-
- esac
-
-# Generate arguments for linking the 2D graphics system.
-# ------------------------------------------------------
- case "${grf}" in
-
-# If using Starlink PGPLOT, link with the AST PGPLOT interface and
-# the Fortran library via the PGP link script.
- pgp) args="${args} -last_pgplot `pgp_link_adam`";;
-
-# If using native PGPLOT, link with the AST PGPLOT interface and
-# the Fortran library via the PGPLOT link script.
- pgplot) args="${args} -last_pgplot `pgplot_link_adam`";;
-
-# If using own graphics which conform to the requirements of the current
-# version of AST, do not produce any arguments.
- current) :;;
-
-# If using own graphics which conform to the requirements of version 5.6
-# of AST, produce arguments which link in dummy implementations of any
-# functions which are required by the current version of AST but which were
-# not required by version 5.6.
- v5.6) :;;
-
-# If using own graphics which conform to the requirements of version 3.2
-# of AST, produce arguments which link in dummy implementations of any
-# functions which are required by the current version of AST but which were
-# not required by version 3.2.
- v3.2) args="${args} -last_grf_5.6";;
-
-# If using own graphics which conform to the requirements of version 2.0
-# of AST, produce arguments which link in dummy implementations of any
-# functions which are required by the current version of AST but which were
-# not required by version 2.0.
- v2.0) args="${args} -last_grf_3.2 -last_grf_5.6";;
-
-# Default graphics (none) requires linking with all the default (null) AST
-# "grf" modules.
- *) args="${args} -last_grf_2.0 -last_grf_3.2 -last_grf_5.6";;
- esac
-
-# Generate arguments for linking the 3D graphics system.
-# ------------------------------------------------------
- case "${grf3d}" in
-
-# If using Starlink PGPLOT, link with the AST 3D PGPLOT interface and
-# the Fortran library via the PGP link script (if found).
- pgp) args="${args} -last_pgplot3d `\`find pgp_link\``"
- f77='y';;
-
-# If using native PGPLOT, link with the AST 3D PGPLOT interface and the
-# Fortran library via the PGPLOT link script (if found).
- pgplot) args="${args} -last_pgplot3d `\`find pgplot_link\``"
- f77='y';;
-
-# If using own 3D graphics which conform to the requirements of the current
-# version of AST, do not produce any arguments.
- current) :;;
-
-# Default graphics (none) requires linking with all the default (null) AST
-# "grf3d" modules.
- *) args="${args} -last_grf3d";;
- esac
-
-# Make a second pass through the AST library.
-# -------------------------------------------
-# This library is a link to the main AST library and results in a second
-# pass to resolve any backward references generated by the other modules
-# used above. A different library name must be used to avoid the two passes
-# being merged into one (either below, or by other link scripts).
- args="${args} -last_pass2"
-
-# Generate arguments for linking the error reporting system.
-# ----------------------------------------------------------
- case "${err}" in
-
-# If using own error reporting, do not produce any arguments.
- my) :;;
-
-# Default error reporting requires linking with the AST EMS interface and
-# the EMS library via the link script.
- *) args="${args} -last_ems `ems_link_adam`";;
- esac
-
-# Link with the maths library.
-# ----------------------------
- args="${args} -lm"
-
-# Link with the starmem library, if available.
-# --------------------------------------------
- args="${args} `\`find starmem_link\``"
-
-# Pass the resulting argument list through an awk script which eliminates
-# all except the last reference to each library.
- echo "${args}" \
- | awk 'BEGIN{RS=" ";FS="\n"}
- {if($1)f[i++]=$1}
- END{for(;i--;)if(!w[f[i]]++)l=f[i]" "l;print l}'
-
-# End of script.
diff --git a/ast/ast_par.source b/ast/ast_par.source
deleted file mode 100644
index fda7eac..0000000
--- a/ast/ast_par.source
+++ /dev/null
@@ -1,733 +0,0 @@
-*+
-* Name:
-* AST_PAR
-
-* Purpose:
-* Define the Fortran 77 interface to the AST library.
-
-* Language:
-* Fortran 77
-
-* Type of Module:
-* Include file.
-
-* Description:
-* This file contains definitions which are required by Fortran 77
-* programs which use the AST library.
-
-* Authors:
-* RFWS: R.F. Warren-Smith (STARLINK)
-* MBT: Mark Taylor (STARLINK)
-* DSB: David S. Berry
-
-* History:
-* 12-NOV-1996 (RFWS):
-* Original version.
-* 18-MAR-1998 (RFWS):
-* Added definitions for the IntraMap class.
-* 21-DEC-1998 (RFWS):
-* Added resampling definitions for the Mapping class.
-* 15-NOV-1999 (RFWS):
-* Added definitions for PcdMap.
-* 24-NOV-2000 (MBT):
-* Added AST__BLOCKAVE interpolation scheme.
-* 22-JUN-2001 (DSB):
-* Added AST_OFFSET2 and AST_ANGLE to Frame class.
-* 6-SEP-2001 (DSB):
-* Added AST_AXDISTANCE and AST_AXOFFSET to Frame class.
-* 12-SEP-2001 (DSB):
-* Added AST_BEAR to Frame class.
-* 21-SEP-2001 (DSB):
-* Replaced AST_BEAR by AST_AXANGLE.
-* 28-JAN-2003 (DSB):
-* Added AST_GETACTIVEUNIT.
-* 14-FEB-2003 (DSB):
-* Added new values for WcsMap projections.
-* 30-APR-2003 (DSB):
-* Added AST_VERSION.
-* 15-JUL-2003 (DSB):
-* Added AST_RATE, POLYMAP, SHIFTMAP and GRISMMAP functions.
-* 13-NOV-2003 (DSB):
-* Added XmlChan class.
-* 9-NOV-2004 (DSB):
-* Added all initial Region classes.
-* 19-NOV-2004 (DSB):
-* Added KeyMap.
-* 16-JUN-2005 (DSB):
-* Added TimeMap and TimeFrame.
-* 1-SEP-2005 (DSB):
-* Added AST__REBININIT and AST__REBINNORM.
-* 17-FEB-2006 (DSB):
-* Added AST_ESCAPES.
-* 9-FEB-2007 (DSB):
-* Use a double precision constant to initialise AST__UNDEFF.
-* 4-DEC-2008 (TIMJ):
-* Add AST_TESTFITS. Remove AST__UNDEF<X>
-* 6-FEB-2009 (DSB):
-* Added StcsChan class.
-* 26-OCT-2016 (DSB):
-* Make angle constants double precision.
-*-
-
-* Length of character string returned by a character function.
- INTEGER AST__SZCHR
- PARAMETER ( AST__SZCHR = 200 )
-
-* Bad coordinate value.
- DOUBLE PRECISION AST__BAD
- PARAMETER ( AST__BAD = <AST__BAD> )
-
-* Double precision NaN flag (this value is not actually a NaN itself).
- DOUBLE PRECISION AST__NAN
- PARAMETER ( AST__NAN = <AST__NAN> )
-
-* Single precision NaN flag (this value is not actually a NaN itself).
- REAL AST__NANR
- PARAMETER ( AST__NANR = <AST__NANR> )
-
-* Error module.
- LOGICAL AST_OK
- INTEGER AST_STATUS
-
-* Object class.
- EXTERNAL AST_NULL
- INTEGER AST__NULL
- PARAMETER ( AST__NULL = 0 )
-
- INTEGER AST__TUNULL
- PARAMETER ( AST__TUNULL = -99999 )
-
-
- CHARACTER AST__TUNULLC*11
- PARAMETER ( AST__TUNULLC = '<NOTUNEPAR>' )
-
- CHARACTER * ( AST__SZCHR ) AST_GETC
- DOUBLE PRECISION AST_GETD
- INTEGER AST_CLONE
- INTEGER AST_COPY
- LOGICAL AST_EQUAL
- INTEGER AST_GETI
- INTEGER AST_VERSION
- LOGICAL AST_GETL
- LOGICAL AST_ISAOBJECT
- LOGICAL AST_TEST
- LOGICAL AST_HASATTRIBUTE
- LOGICAL AST_SAME
- INTEGER AST_TUNE
- REAL AST_GETR
- LOGICAL AST_CHRSUB
-
-* Channel class.
- INTEGER AST_CHANNEL
- INTEGER AST_READ
- INTEGER AST_WRITE
- LOGICAL AST_ISACHANNEL
- INTEGER AST_WARNINGS
-
-* FitsChan class.
- INTEGER AST_FITSCHAN
- LOGICAL AST_FINDFITS
- LOGICAL AST_ISAFITSCHAN
- LOGICAL AST_GETFITSCF
- LOGICAL AST_GETFITSCI
- LOGICAL AST_GETFITSF
- LOGICAL AST_GETFITSI
- LOGICAL AST_GETFITSL
- LOGICAL AST_GETFITSS
- LOGICAL AST_GETFITSCN
- LOGICAL AST_TESTFITS
- INTEGER AST_GETTABLES
-
- CHARACTER AST__TABEXTNAME*7
- PARAMETER ( AST__TABEXTNAME = 'WCS-TAB' )
-
- INTEGER AST__NOTYPE
- PARAMETER ( AST__NOTYPE = -1 )
- INTEGER AST__COMMENT
- PARAMETER ( AST__COMMENT = 0 )
- INTEGER AST__INT
- PARAMETER ( AST__INT = 1 )
- INTEGER AST__FLOAT
- PARAMETER ( AST__FLOAT = 2 )
- INTEGER AST__STRING
- PARAMETER ( AST__STRING = 3 )
- INTEGER AST__COMPLEXF
- PARAMETER ( AST__COMPLEXF = 4 )
- INTEGER AST__COMPLEXI
- PARAMETER ( AST__COMPLEXI = 5 )
- INTEGER AST__LOGICAL
- PARAMETER ( AST__LOGICAL = 6 )
- INTEGER AST__CONTINUE
- PARAMETER ( AST__CONTINUE = 7 )
- INTEGER AST__UNDEF
- PARAMETER ( AST__UNDEF = 8 )
-
-
-* Mapping Class.
- INTEGER AST__URESAMP1
- PARAMETER ( AST__URESAMP1 = 1 )
- INTEGER AST__URESAMP2
- PARAMETER ( AST__URESAMP2 = 2 )
- INTEGER AST__URESAMP3
- PARAMETER ( AST__URESAMP3 = 4 )
- INTEGER AST__URESAMP4
- PARAMETER ( AST__URESAMP4 = 8 )
- INTEGER AST__USEVAR
- PARAMETER ( AST__USEVAR = 16 )
- INTEGER AST__USEBAD
- PARAMETER ( AST__USEBAD = 32 )
- INTEGER AST__CONSERVEFLUX
- PARAMETER ( AST__CONSERVEFLUX = 64 )
- INTEGER AST__REBININIT
- PARAMETER ( AST__REBININIT = 128 )
- INTEGER AST__REBINEND
- PARAMETER ( AST__REBINEND = 256 )
- INTEGER AST__GENVAR
- PARAMETER ( AST__GENVAR = 512 )
- INTEGER AST__VARWGT
- PARAMETER ( AST__VARWGT = 1024 )
- INTEGER AST__NOBAD
- PARAMETER ( AST__NOBAD = 2048 )
- INTEGER AST__DISVAR
- PARAMETER ( AST__DISVAR = 4096 )
- INTEGER AST__NONORM
- PARAMETER ( AST__NONORM = 8192 )
-
- INTEGER AST__UKERN1
- PARAMETER ( AST__UKERN1 = 1 )
-c Not yet implemented
-c INTEGER AST__UKERNN
-c PARAMETER ( AST__UKERNN = 2 )
- INTEGER AST__UINTERP
- PARAMETER ( AST__UINTERP = 3 )
- INTEGER AST__NEAREST
- PARAMETER ( AST__NEAREST = 4 )
- INTEGER AST__LINEAR
- PARAMETER ( AST__LINEAR = 5 )
- INTEGER AST__SINC
- PARAMETER ( AST__SINC = 6 )
- INTEGER AST__SINCSINC
- PARAMETER ( AST__SINCSINC = 7 )
- INTEGER AST__SINCCOS
- PARAMETER ( AST__SINCCOS = 8 )
- INTEGER AST__SINCGAUSS
- PARAMETER ( AST__SINCGAUSS = 9 )
- INTEGER AST__BLOCKAVE
- PARAMETER ( AST__BLOCKAVE = 10 )
- INTEGER AST__GAUSS
- PARAMETER ( AST__GAUSS = 11 )
- INTEGER AST__SOMB
- PARAMETER ( AST__SOMB = 12 )
- INTEGER AST__SOMBCOS
- PARAMETER ( AST__SOMBCOS = 13 )
-
- INTEGER AST_RESAMPLEB
- INTEGER AST_RESAMPLED
- INTEGER AST_RESAMPLEI
- INTEGER AST_RESAMPLEK
- INTEGER AST_RESAMPLER
- INTEGER AST_RESAMPLES
- INTEGER AST_RESAMPLEUB
- INTEGER AST_RESAMPLEUI
- INTEGER AST_RESAMPLEUK
- INTEGER AST_RESAMPLEUS
- INTEGER AST_RESAMPLEUW
- INTEGER AST_RESAMPLEW
- INTEGER AST_REMOVEREGIONS
- INTEGER AST_SIMPLIFY
- LOGICAL AST_ISAMAPPING
- LOGICAL AST_LINEARAPPROX
- LOGICAL AST_QUADAPPROX
- DOUBLE PRECISION AST_RATE
-
-* CmpMap class.
- INTEGER AST_CMPMAP
- LOGICAL AST_ISACMPMAP
-
-* Frame class.
- CHARACTER * ( AST__SZCHR ) AST_FORMAT
- DOUBLE PRECISION AST_DISTANCE
- INTEGER AST_CONVERT
- INTEGER AST_FINDFRAME
- INTEGER AST_FRAME
- INTEGER AST_PICKAXES
- INTEGER AST_UNFORMAT
- LOGICAL AST_ISAFRAME
- LOGICAL AST_GETACTIVEUNIT
- DOUBLE PRECISION AST_ANGLE
- DOUBLE PRECISION AST_OFFSET2
- DOUBLE PRECISION AST_AXDISTANCE
- DOUBLE PRECISION AST_AXOFFSET
- DOUBLE PRECISION AST_AXANGLE
-
-* CmpFrame class.
- INTEGER AST_CMPFRAME
- LOGICAL AST_ISACMPFRAME
-
-* FrameSet class.
- INTEGER AST__BASE
- PARAMETER ( AST__BASE = 0 )
- INTEGER AST__CURRENT
- PARAMETER ( AST__CURRENT = -1 )
- INTEGER AST__NOFRAME
- PARAMETER ( AST__NOFRAME = -99 )
-
- INTEGER AST_FRAMESET
- INTEGER AST_GETFRAME
- INTEGER AST_GETMAPPING
- LOGICAL AST_ISAFRAMESET
-
-* IntraMap class.
- INTEGER AST__NOFWD
- PARAMETER ( AST__NOFWD = 1 )
- INTEGER AST__NOINV
- PARAMETER ( AST__NOINV = 2 )
- INTEGER AST__SIMPFI
- PARAMETER ( AST__SIMPFI = 4 )
- INTEGER AST__SIMPIF
- PARAMETER ( AST__SIMPIF = 8 )
- INTEGER AST__ANY
- PARAMETER ( AST__ANY = -66 )
-
- INTEGER AST_INTRAMAP
- LOGICAL AST_ISAINTRAMAP
-
-* LutMap class.
- INTEGER AST_LUTMAP
- LOGICAL AST_ISALUTMAP
-
-* PcdMap class.
- INTEGER AST_PCDMAP
- LOGICAL AST_ISAPCDMAP
-
-* Plot class.
- INTEGER AST_PLOT
- LOGICAL AST_BORDER
- INTEGER AST_GETGRFCONTEXT
- LOGICAL AST_ISAPLOT
- INTEGER AST_ESCAPES
- CHARACTER * ( AST__SZCHR ) AST_STRIPESCAPES
-
-* SkyFrame class.
- INTEGER AST_SKYFRAME
- LOGICAL AST_ISASKYFRAME
- INTEGER AST_SKYOFFSETMAP
-
-* SpecFrame class.
- INTEGER AST_SPECFRAME
- LOGICAL AST_ISASPECFRAME
-
-* DSBSpecFrame class.
- INTEGER AST_DSBSPECFRAME
- LOGICAL AST_ISADSBSPECFRAME
-
-* MathMap class.
- INTEGER AST_MATHMAP
- LOGICAL AST_ISAMATHMAP
-
-* MatrixMap class.
- INTEGER AST_MATRIXMAP
- LOGICAL AST_ISAMATRIXMAP
-
-* PermMap class.
- INTEGER AST_PERMMAP
- LOGICAL AST_ISAPERMMAP
-
-* PolyMap class.
- INTEGER AST_POLYMAP
- LOGICAL AST_ISAPOLYMAP
- INTEGER AST_POLYTRAN
-
-* SlaMap class.
- INTEGER AST_SLAMAP
- LOGICAL AST_ISASLAMAP
-
-* SpecMap class.
- INTEGER AST_SPECMAP
- LOGICAL AST_ISASPECMAP
-
-* SphMap class.
- INTEGER AST_SPHMAP
- LOGICAL AST_ISASPHMAP
-
-* UnitMap class.
- INTEGER AST_UNITMAP
- LOGICAL AST_ISAUNITMAP
-
-* WcsMap class.
-
- INTEGER AST__WCSMX
- PARAMETER ( AST__WCSMX = 10 )
-
- DOUBLE PRECISION AST__DPI
- PARAMETER ( AST__DPI = 3.1415926535897932384626433832795028842D0 )
-
- DOUBLE PRECISION AST__DPIBY2
- PARAMETER ( AST__DPIBY2 = 1.5707963267948966192313216916397514D0 )
-
- DOUBLE PRECISION AST__DD2R
- PARAMETER ( AST__DD2R = 0.017453292519943295769236907684886127D0 )
-
- DOUBLE PRECISION AST__DR2D
- PARAMETER ( AST__DR2D = 57.29577951308232087679815481410517033D0 )
-
- INTEGER AST__AIR
- PARAMETER ( AST__AIR = 9 )
- INTEGER AST__AIT
- PARAMETER ( AST__AIT = 17 )
- INTEGER AST__ARC
- PARAMETER ( AST__ARC = 6 )
- INTEGER AST__AZP
- PARAMETER ( AST__AZP = 1 )
- INTEGER AST__BON
- PARAMETER ( AST__BON = 22 )
- INTEGER AST__CAR
- PARAMETER ( AST__CAR = 12 )
- INTEGER AST__CEA
- PARAMETER ( AST__CEA = 11 )
- INTEGER AST__COD
- PARAMETER ( AST__COD = 20 )
- INTEGER AST__COE
- PARAMETER ( AST__COE = 19 )
- INTEGER AST__COO
- PARAMETER ( AST__COO = 21 )
- INTEGER AST__COP
- PARAMETER ( AST__COP = 18 )
- INTEGER AST__CSC
- PARAMETER ( AST__CSC = 25 )
- INTEGER AST__CYP
- PARAMETER ( AST__CYP = 10 )
- INTEGER AST__GLS
- PARAMETER ( AST__GLS = 28 )
- INTEGER AST__HPX
- PARAMETER ( AST__HPX = 30 )
- INTEGER AST__MER
- PARAMETER ( AST__MER = 13 )
- INTEGER AST__MOL
- PARAMETER ( AST__MOL = 16 )
- INTEGER AST__NCP
- PARAMETER ( AST__NCP = 27 )
- INTEGER AST__PAR
- PARAMETER ( AST__PAR = 15 )
- INTEGER AST__PCO
- PARAMETER ( AST__PCO = 23 )
- INTEGER AST__QSC
- PARAMETER ( AST__QSC = 26 )
- INTEGER AST__SFL
- PARAMETER ( AST__SFL = 14 )
- INTEGER AST__SIN
- PARAMETER ( AST__SIN = 5 )
- INTEGER AST__STG
- PARAMETER ( AST__STG = 4 )
- INTEGER AST__SZP
- PARAMETER ( AST__SZP = 2 )
- INTEGER AST__TAN
- PARAMETER ( AST__TAN = 3 )
- INTEGER AST__TPN
- PARAMETER ( AST__TPN = 29 )
- INTEGER AST__TSC
- PARAMETER ( AST__TSC = 24 )
- INTEGER AST__XPH
- PARAMETER ( AST__XPH = 31 )
- INTEGER AST__ZEA
- PARAMETER ( AST__ZEA = 8 )
- INTEGER AST__ZPN
- PARAMETER ( AST__ZPN = 7 )
- INTEGER AST__WCSBAD
- PARAMETER ( AST__WCSBAD = 32 )
-
- INTEGER AST_WCSMAP
- LOGICAL AST_ISAWCSMAP
-
-* ShiftMap class.
- INTEGER AST_SHIFTMAP
- LOGICAL AST_ISASHIFTMAP
-
-* WinMap class.
- INTEGER AST_WINMAP
- LOGICAL AST_ISAWINMAP
-
-* ZoomMap class.
- INTEGER AST_ZOOMMAP
- LOGICAL AST_ISAZOOMMAP
-
-* GrismMap class.
- INTEGER AST_GRISMMAP
- LOGICAL AST_ISAGRISMMAP
-
-* XmlChan class.
- INTEGER AST_XMLCHAN
- LOGICAL AST_ISAXMLCHAN
-
-* TranMap class.
- INTEGER AST_TRANMAP
- LOGICAL AST_ISATRANMAP
-
-* Region class.
- INTEGER AST_REGION
- INTEGER AST_GETUNC
- INTEGER AST_GETREGIONFRAME
- LOGICAL AST_ISAREGION
- INTEGER AST_MAPREGION
- INTEGER AST_OVERLAP
- INTEGER AST_MASKB
- INTEGER AST_MASKD
- INTEGER AST_MASKI
- INTEGER AST_MASKR
- INTEGER AST_MASKS
- INTEGER AST_MASKUB
- INTEGER AST_MASKUI
- INTEGER AST_MASKUS
- INTEGER AST_MASKUW
- INTEGER AST_MASKW
-
-* Box class.
- INTEGER AST_BOX
- LOGICAL AST_ISABOX
-
-* PointList class.
- INTEGER AST_POINTLIST
- LOGICAL AST_ISAPOINTLIST
-
-* Polygon class.
- INTEGER AST_POLYGON
- LOGICAL AST_ISAPOLYGON
- INTEGER AST_DOWNSIZE
- INTEGER AST_OUTLINED
- INTEGER AST_OUTLINER
- INTEGER AST_OUTLINEI
- INTEGER AST_OUTLINEUI
- INTEGER AST_OUTLINES
- INTEGER AST_OUTLINEUS
- INTEGER AST_OUTLINEW
- INTEGER AST_OUTLINEUW
- INTEGER AST_OUTLINEB
- INTEGER AST_OUTLINEUB
-
- INTEGER AST_CONVEXD
- INTEGER AST_CONVEXR
- INTEGER AST_CONVEXI
- INTEGER AST_CONVEXUI
- INTEGER AST_CONVEXS
- INTEGER AST_CONVEXUS
- INTEGER AST_CONVEXW
- INTEGER AST_CONVEXUW
- INTEGER AST_CONVEXB
- INTEGER AST_CONVEXUB
-
- INTEGER AST__LE
- PARAMETER( AST__LE = 2 )
-
- INTEGER AST__EQ
- PARAMETER( AST__EQ = 3 )
-
- INTEGER AST__GE
- PARAMETER( AST__GE = 4 )
-
- INTEGER AST__GT
- PARAMETER( AST__GT = 5 )
-
- INTEGER AST__NE
- PARAMETER( AST__NE = 6 )
-
-* Circle class.
- INTEGER AST_CIRCLE
- LOGICAL AST_ISACIRCLE
-
-* Ellipse class.
- INTEGER AST_ELLIPSE
- LOGICAL AST_ISAELLIPSE
-
-* NullRegion class.
- INTEGER AST_NULLREGION
- LOGICAL AST_ISANULLREGION
-
-* Interval class.
- INTEGER AST_INTERVAL
- LOGICAL AST_ISAINTERVAL
-
-* Prism class.
- INTEGER AST_PRISM
- LOGICAL AST_ISAPRISM
-
-* CmpRegion class.
- INTEGER AST_CMPREGION
- LOGICAL AST_ISACMPREGION
-
- INTEGER AST__AND
- PARAMETER( AST__AND = 1 )
-
- INTEGER AST__OR
- PARAMETER( AST__OR = 2 )
-
- INTEGER AST__XOR
- PARAMETER( AST__XOR = 3 )
-
-* KeyMap class.
- INTEGER AST_KEYMAP
- LOGICAL AST_ISAKEYMAP
- LOGICAL AST_MAPGET0I
- LOGICAL AST_MAPGET0S
- LOGICAL AST_MAPGET0B
- LOGICAL AST_MAPGET0D
- LOGICAL AST_MAPGET0R
- LOGICAL AST_MAPGET0C
- LOGICAL AST_MAPGET0A
- LOGICAL AST_MAPGET1I
- LOGICAL AST_MAPGET1B
- LOGICAL AST_MAPGET1S
- LOGICAL AST_MAPGET1D
- LOGICAL AST_MAPGET1R
- LOGICAL AST_MAPGET1C
- LOGICAL AST_MAPGET1A
- LOGICAL AST_MAPGETC
- LOGICAL AST_MAPGETELEMI
- LOGICAL AST_MAPGETELEMS
- LOGICAL AST_MAPGETELEMB
- LOGICAL AST_MAPGETELEMD
- LOGICAL AST_MAPGETELEMR
- LOGICAL AST_MAPGETELEMC
- LOGICAL AST_MAPGETELEMA
- INTEGER AST_MAPSIZE
- INTEGER AST_MAPLENGTH
- INTEGER AST_MAPLENC
- INTEGER AST_MAPTYPE
- LOGICAL AST_MAPHASKEY
- LOGICAL AST_MAPDEFINED
- CHARACTER * ( AST__SZCHR ) AST_MAPKEY
-
- INTEGER AST__BADTYPE
- PARAMETER ( AST__BADTYPE = 0)
-
- INTEGER AST__INTTYPE
- PARAMETER ( AST__INTTYPE = 1)
-
- INTEGER AST__DOUBLETYPE
- PARAMETER ( AST__DOUBLETYPE = 2)
-
- INTEGER AST__STRINGTYPE
- PARAMETER ( AST__STRINGTYPE = 3)
-
- INTEGER AST__OBJECTTYPE
- PARAMETER ( AST__OBJECTTYPE = 4)
-
- INTEGER AST__FLOATTYPE
- PARAMETER ( AST__FLOATTYPE = 5)
-
- INTEGER AST__SINTTYPE
- PARAMETER ( AST__SINTTYPE = 7)
-
- INTEGER AST__UNDEFTYPE
- PARAMETER ( AST__UNDEFTYPE = 8)
-
- INTEGER AST__BYTETYPE
- PARAMETER ( AST__BYTETYPE = 9)
-
-* FluxFrame class.
- INTEGER AST_FLUXFRAME
- LOGICAL AST_ISAFLUXFRAME
-
-* SpecFluxFrame class.
- INTEGER AST_SPECFLUXFRAME
- LOGICAL AST_ISASPECFLUXFRAME
-
-* NormMap class.
- INTEGER AST_NORMMAP
- LOGICAL AST_ISANORMMAP
-
-* RateMap class.
- INTEGER AST_RATEMAP
- LOGICAL AST_ISARATEMAP
-
-* TimeFrame class.
- INTEGER AST_TIMEFRAME
- LOGICAL AST_ISATIMEFRAME
- DOUBLE PRECISION AST_CURRENTTIME
-
- INTEGER AST__LT
- PARAMETER( AST__LT = 11 )
-
-* TimeMap class.
- INTEGER AST_TIMEMAP
- LOGICAL AST_ISATIMEMAP
-
-* Stc class.
- LOGICAL AST_ISASTC
- INTEGER AST_GETSTCREGION
- INTEGER AST_GETSTCCOORD
- INTEGER AST_GETSTCNCOORD
-
- CHARACTER AST__STCNAME*4
- PARAMETER ( AST__STCNAME = 'Name' )
-
- CHARACTER AST__STCVALUE*5
- PARAMETER ( AST__STCVALUE = 'Value' )
-
- CHARACTER AST__STCERROR*5
- PARAMETER ( AST__STCERROR = 'Error' )
-
- CHARACTER AST__STCRES*10
- PARAMETER ( AST__STCRES = 'Resolution' )
-
- CHARACTER AST__STCSIZE*4
- PARAMETER ( AST__STCSIZE = 'Size' )
-
- CHARACTER AST__STCPIXSZ*7
- PARAMETER ( AST__STCPIXSZ = 'PixSize' )
-
-* StcSearchLocation class.
- LOGICAL AST_ISASTCSEARCHLOCATION
- INTEGER AST_STCSEARCHLOCATION
-
-* StcCatalogEntryLocation class.
- LOGICAL AST_ISASTCCATALOGENTRYLOCATION
- INTEGER AST_STCCATALOGENTRYLOCATION
-
-* StcResourceProfile class.
- LOGICAL AST_ISASTCRESOURCEPROFILE
- INTEGER AST_STCRESOURCEPROFILE
-
-* StcObsDataLocation class.
- LOGICAL AST_ISASTCOBSDATALOCATION
- INTEGER AST_STCOBSDATALOCATION
-
-* SwitchMap class.
- INTEGER AST_SWITCHMAP
- LOGICAL AST_ISASWITCHMAP
-
-* SelectorMap class.
- INTEGER AST_SELECTORMAP
- LOGICAL AST_ISASELECTORMAP
-
-* Plot3D class.
- INTEGER AST_PLOT3D
- LOGICAL AST_ISAPLOT3D
-
-* StcsChan class.
- INTEGER AST_STCSCHAN
- LOGICAL AST_ISASTCSCHAN
-
-* Table class.
- INTEGER AST_TABLE
- LOGICAL AST_ISATABLE
- LOGICAL AST_HASCOLUMN
- CHARACTER * ( AST__SZCHR ) AST_COLUMNNAME
- LOGICAL AST_HASPARAMETER
- CHARACTER * ( AST__SZCHR ) AST_PARAMETERNAME
-
-* FitsTable class.
- INTEGER AST_FITSTABLE
- LOGICAL AST_ISAFITSTABLE
- INTEGER AST_COLUMNNULL
- INTEGER AST_COLUMNSIZE
- INTEGER AST_GETTABLEHEADER
-
-* UnitNormMap class.
- INTEGER AST_UNITNORMMAP
- LOGICAL AST_ISAUNITNORMMAP
-
-* ChebyMap class.
- INTEGER AST_CHEBYMAP
- LOGICAL AST_ISACHEBYMAP
- INTEGER AST_CHEBYTRAN
-
diff --git a/ast/ast_test.c b/ast/ast_test.c
deleted file mode 100644
index 61e948e..0000000
--- a/ast/ast_test.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* Header files. */
-/* ============= */
-/* Interface definitions. */
-/* ---------------------- */
-#include "ast.h" /* AST C interface definition */
-
-/* C header files. */
-/* --------------- */
-#include <stdio.h>
-
-/* Main function. */
-/* ============== */
-int main( int argc, char *argv[] ) {
-/*
-*+
-* Name:
-* ast_test
-
-* Purpose:
-* Test installation of the AST library.
-
-* Type:
-* C program.
-
-* Description:
-* This program performs a simple test (without using graphics) of
-* the AST library, to check that it is correctly installed. It is
-* not an exhaustive test of the system.
-
-* Arguments:
-* None.
-
-* Copyright:
-* Copyright (C) 1997-2006 Council for the Central Laboratory of the
-* Research Councils
-
-* Licence:
-* This program is free software: you can redistribute it and/or
-* modify it under the terms of the GNU Lesser General Public
-* License as published by the Free Software Foundation, either
-* version 3 of the License, or (at your option) any later
-* version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General
-* License along with this program. If not, see
-* <http://www.gnu.org/licenses/>.
-
-* Authors:
-* RFWS: R.F. Warren-Smith (Starlink)
-
-* History:
-* 19-NOV-1997 (RFWS);
-* Original version.
-*-
-*/
-
-/* Local Constants: */
-#define NCOORD 10 /* Number of coordinates to transform */
-
-/* Local Variables: */
- AstFrameSet *cvt; /* Pointer to conversion FrameSet */
- AstSkyFrame *sky1; /* Pointer to first SkyFrame */
- AstSkyFrame *sky2; /* Pointer to second SkyFrame */
- double xin[ NCOORD ]; /* Input coordinate array */
- double xout[ NCOORD ]; /* Output coordinate array */
- double yin[ NCOORD ]; /* Input coordinate array */
- double yout[ NCOORD ]; /* Output coordinate array */
- int i; /* Loop counter for coordinates */
-
-/* Begin an AST context. */
- astBegin;
-
-/* Create two SkyFrames. */
- sky1 = astSkyFrame( "system = FK4_NO_E, equinox = B1920, epoch = B1958" );
- sky2 = astSkyFrame( "system = ecliptic, equinox = J2001" );
-
-/* Create a FrameSet describing the conversion between them. */
- cvt = astConvert( sky1, sky2, "" );
-
-/* If successful, set up some input coordinates. */
- if ( cvt != AST__NULL ) {
- for ( i = 0; i < NCOORD; i++ ) {
- xin[ i ] = 0.1 * (double) i;
- yin[ i ] = 0.2 * (double) i;
- }
-
-/* Display the FrameSet. */
- astShow( cvt );
- printf( "\n");
-
-/* Activate reporting of coordinate transformations. */
- astSet( cvt, "Report = 1" );
-
-/* Perform the forward transformation. */
- astTran2( cvt, 10, xin, yin, 1, xout, yout );
- printf( "\n");
-
-/* Perform the inverse transformation. */
- astTran2( cvt, 10, xout, yout, 0, xin, yin );
- }
-
-/* End the AST context. */
- astEnd;
-
-/* Return an error status. */
- return astOK ? 0 : 1;
-
-/* Undefine local macros. */
-#undef NCOORD
-}
diff --git a/ast/ast_tester/README b/ast/ast_tester/README
deleted file mode 100644
index 8c50db6..0000000
--- a/ast/ast_tester/README
+++ /dev/null
@@ -1,33 +0,0 @@
-
-This directory contains files used for performing some fairly restricted
-testing of the AST library. A Fortran 77 compiler is required. As supplied
-it uses the g77 Fortran compiler, but this can be changed by editing the ast_tester
-script.
-
-To perform a test:
-
-- build AST
-
-- define the environment variables AST and STARLINK so that $AST/lib contains
- the AST libraries to be tested, and $STARLINK/lib contains the the USSC libraries.
-
-- If required, edit the ast_tester script to modify the fortran compiler and/or options.
-
-- execute the ast_tester script.
-
-
-The script generates various output files which are compared with existing files
-which are presumed to represent correct behaviour of the AST library. Any differences
-are reported by the script.
-
-The script also generates various postscript files representing "critically difficult" plots.
-A file "*-new.ps" is created for each file "*.head" in the directory. The directory also
-contains files "*.ps" which represent the expected appearance of the plots. By default, the
-new plots are displayed using ghostview. This can be disabled by specifying the "-nd" option
-on the ast_tester command line.
-
-
-
-
-
-
diff --git a/ast/ast_tester/a20070718_00010_02_cube.ast b/ast/ast_tester/a20070718_00010_02_cube.ast
deleted file mode 100644
index f005938..0000000
--- a/ast/ast_tester/a20070718_00010_02_cube.ast
+++ /dev/null
@@ -1,339 +0,0 @@
- Begin FrameSet # Set of inter-related coordinate systems
-# Title = "3-d compound coordinate system" # Title of coordinate system
-# Naxes = 3 # Number of coordinate axes
-# Domain = "SKY-DSBSPECTRUM" # Coordinate system domain
-# Epoch = 2007.54208230851 # Julian epoch of observation
-# Lbl1 = "Right ascension" # Label for axis 1
-# Lbl2 = "Declination" # Label for axis 2
-# Lbl3 = "Radio velocity (USB)" # Label for axis 3
-# System = "Compound" # Coordinate system type
-# Uni1 = "hh:mm:ss.s" # Units for axis 1
-# Uni2 = "ddd:mm:ss" # Units for axis 2
-# Uni3 = "km/s" # Units for axis 3
-# Dir1 = 0 # Plot axis 1 in reverse direction
- IsA Frame # Coordinate system description
- Nframe = 4 # Number of Frames in FrameSet
-# Base = 1 # Index of base Frame
- Currnt = 4 # Index of current Frame
- Nnode = 5 # Number of nodes in FrameSet
- Nod1 = 3 # Frame 1 is associated with node 3
- Nod2 = 4 # Frame 2 is associated with node 4
- Nod3 = 5 # Frame 3 is associated with node 5
- Nod4 = 2 # Frame 4 is associated with node 2
- Lnk2 = 1 # Node 2 is derived from node 1
- Lnk3 = 1 # Node 3 is derived from node 1
- Lnk4 = 1 # Node 4 is derived from node 1
- Lnk5 = 1 # Node 5 is derived from node 1
- Frm1 = # Frame number 1
- Begin Frame # Coordinate system description
- Title = "Data grid indices; first pixel at (1,1,1)" # Title of coordinate system
- Naxes = 3 # Number of coordinate axes
- Domain = "GRID" # Coordinate system domain
-# Lbl1 = "Data grid index 1" # Label for axis 1
-# Lbl2 = "Data grid index 2" # Label for axis 2
-# Lbl3 = "Data grid index 3" # Label for axis 3
-# Uni1 = "pixel" # Units for axis 1
-# Uni2 = "pixel" # Units for axis 2
-# Uni3 = "pixel" # Units for axis 3
- Ax1 = # Axis number 1
- Begin Axis # Coordinate axis
- Label = "Data grid index 1" # Axis Label
- Symbol = "g1" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- Ax2 = # Axis number 2
- Begin Axis # Coordinate axis
- Label = "Data grid index 2" # Axis Label
- Symbol = "g2" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- Ax3 = # Axis number 3
- Begin Axis # Coordinate axis
- Label = "Data grid index 3" # Axis Label
- Symbol = "g3" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- End Frame
- Frm2 = # Frame number 2
- Begin Frame # Coordinate system description
- Title = "Pixel coordinates; first pixel at (-8.5,-8.5,-2048.5)" # Title of coordinate system
- Naxes = 3 # Number of coordinate axes
- Domain = "PIXEL" # Coordinate system domain
-# Lbl1 = "Pixel coordinate 1" # Label for axis 1
-# Lbl2 = "Pixel coordinate 2" # Label for axis 2
-# Lbl3 = "Pixel coordinate 3" # Label for axis 3
-# Uni1 = "pixel" # Units for axis 1
-# Uni2 = "pixel" # Units for axis 2
-# Uni3 = "pixel" # Units for axis 3
- Ax1 = # Axis number 1
- Begin Axis # Coordinate axis
- Label = "Pixel coordinate 1" # Axis Label
- Symbol = "p1" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- Ax2 = # Axis number 2
- Begin Axis # Coordinate axis
- Label = "Pixel coordinate 2" # Axis Label
- Symbol = "p2" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- Ax3 = # Axis number 3
- Begin Axis # Coordinate axis
- Label = "Pixel coordinate 3" # Axis Label
- Symbol = "p3" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- End Frame
- Frm3 = # Frame number 3
- Begin Frame # Coordinate system description
- Title = "Axis coordinates; first pixel at (-8.5,-8.5,-2048.5)" # Title of coordinate system
- Naxes = 3 # Number of coordinate axes
- Domain = "AXIS" # Coordinate system domain
-# Lbl1 = "Axis 1" # Label for axis 1
-# Lbl2 = "Axis 2" # Label for axis 2
-# Lbl3 = "Axis 3" # Label for axis 3
-# Uni1 = "pixel" # Units for axis 1
-# Uni2 = "pixel" # Units for axis 2
-# Uni3 = "pixel" # Units for axis 3
- Ax1 = # Axis number 1
- Begin Axis # Coordinate axis
- Label = "Axis 1" # Axis Label
- Symbol = "a1" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- Ax2 = # Axis number 2
- Begin Axis # Coordinate axis
- Label = "Axis 2" # Axis Label
- Symbol = "a2" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- Ax3 = # Axis number 3
- Begin Axis # Coordinate axis
- Label = "Axis 3" # Axis Label
- Symbol = "a3" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- End Frame
- Frm4 = # Frame number 4
- Begin CmpFrame # Compound coordinate system description
-# Title = "3-d compound coordinate system" # Title of coordinate system
-# Naxes = 3 # Number of coordinate axes
-# Domain = "SKY-DSBSPECTRUM" # Coordinate system domain
-# Lbl1 = "Right ascension" # Label for axis 1
-# Lbl2 = "Declination" # Label for axis 2
-# Lbl3 = "Radio velocity (USB)" # Label for axis 3
-# Uni1 = "hh:mm:ss.s" # Units for axis 1
-# Uni2 = "ddd:mm:ss" # Units for axis 2
-# Uni3 = "km/s" # Units for axis 3
-# Dir1 = 0 # Plot axis 1 in reverse direction
- IsA Frame # Coordinate system description
- FrameA = # First component Frame
- Begin SkyFrame # Description of celestial coordinate system
- Naxes = 2 # Number of coordinate axes
- Epoch = 2007.54208230851 # Julian epoch of observation
- System = "FK5" # Coordinate system type
- ObsLat = 0.346026050148997 # Observers geodetic latitude (rads)
- ObsLon = -2.71363306946838 # Observers geodetic longitude (rads)
- Dut1 = -0.162963400559962 # UT1-UTC in seconds
- Ax1 = # Axis number 1
- Begin SkyAxis # Celestial coordinate axis
- End SkyAxis
- Ax2 = # Axis number 2
- Begin SkyAxis # Celestial coordinate axis
- End SkyAxis
- IsA Frame # Coordinate system description
- SRef1 = 4.90555239050187 # Ref. pos. RA 18:44:16.2
- SRef2 = -0.0698132003068136 # Ref. pos. Dec -4:00:00
- End SkyFrame
- FrameB = # Second component Frame
- Begin DSBSpecFrame # Dual sideband spectral axis
- Naxes = 1 # Number of coordinate axes
- Epoch = 2007.54208230851 # Julian epoch of observation
- System = "VRAD" # Coordinate system type
- ObsLat = 0.346026069000144 # Observers geodetic latitude (rads)
- ObsLon = -2.71363307300091 # Observers geodetic longitude (rads)
- Dut1 = -0.162963400559962 # UT1-UTC in seconds
- Ax1 = # Axis number 1
- Begin Axis # Coordinate axis
- End Axis
- IsA Frame # Coordinate system description
- SoR = "LSRK" # Standard of rest
- RefRA = 4.90553899950038 # Reference RA (rads, FK5 J2000)
- RefDec = -0.0698131700797732 # Reference Dec (rads, FK5 J2000)
- RstFrq = 372672509000 # Rest frequency (Hz)
- SrcVel = 87012.623732646 # Source velocity (m/s)
- SrcVRF = "LSRK" # Source velocity rest frame
- UFreq = "GHz" # Preferred units for frequency
- IsA SpecFrame # Description of spectral coordinate system
- DSBCen = 372576971505.836 # Central frequency (Hz topo)
- IF = -5251168918.31241 # Intermediate frequency (Hz)
- SideBn = "USB" # Represents upper sideband
- End DSBSpecFrame
- End CmpFrame
- Map2 = # Mapping between nodes 1 and 2
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsSimp = 1 # Mapping has been simplified
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Series = 0 # Component Mappings applied in parallel
- InvA = 1 # First Mapping used in inverse direction
- MapA = # First component Mapping
- Begin WinMap # Map one window on to another
- Nin = 2 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Sft1 = 10 # Shift for axis 1
- Sft2 = 10.4938775599003 # Shift for axis 2
- End WinMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 1 # Number of input coordinates
- IsSimp = 1 # Mapping has been simplified
- IsA Mapping # Mapping between coordinate systems
- InvA = 1 # First Mapping used in inverse direction
- MapA = # First component Mapping
- Begin WinMap # Map one window on to another
- Nin = 1 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Sft1 = 6105939.046167 # Shift for axis 1
- Scl1 = -1.63834485003565e-05 # Scale factor for axis 1
- End WinMap
- MapB = # Second component Mapping
- Begin SpecMap # Conversion between spectral coordinate systems
- Nin = 1 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Nspec = 2 # Number of conversion steps
- Spec1 = "FRTOVL" # Convert frequency to rel. velocity
- Spec1a = 372672509000 # Rest frequency (Hz)
- Spec2 = "VLTOVR" # Convert relativistic to radio velocity
- End SpecMap
- End CmpMap
- End CmpMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- Series = 0 # Component Mappings applied in parallel
- MapA = # First component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin MatrixMap # Matrix transformation
- Nin = 2 # Number of input coordinates
- Invert = 1 # Mapping inverted
- IsA Mapping # Mapping between coordinate systems
- M0 = -2.90888208665722e-05 # Forward matrix value
- M1 = 2.90888208665722e-05 # Forward matrix value
- Form = "Diagonal" # Matrix storage form
- End MatrixMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- InvA = 1 # First Mapping used in inverse direction
- MapA = # First component Mapping
- Begin WcsMap # FITS-WCS sky projection
- Nin = 2 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Type = "TAN" # Gnomonic projection
- End WcsMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- InvA = 1 # First Mapping used in inverse direction
- MapA = # First component Mapping
- Begin SphMap # Cartesian to Spherical mapping
- Nin = 3 # Number of input coordinates
- Nout = 2 # Number of output coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- UntRd = 1 # All input vectors have unit length
- PlrLg = 0 # Polar longitude (rad.s)
- End SphMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- Nout = 2 # Number of output coordinates
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin MatrixMap # Matrix transformation
- Nin = 3 # Number of input coordinates
- Invert = 1 # Mapping inverted
- IsA Mapping # Mapping between coordinate systems
- M0 = -0.0133908234539359 # Forward matrix value
- M1 = 0.981401710741326 # Forward matrix value
- M2 = 0.191497697117288 # Forward matrix value
- M3 = 0.068459122667767 # Forward matrix value
- M4 = 0.191965314976427 # Forward matrix value
- M5 = -0.979011065499037 # Forward matrix value
- M6 = -0.997564050259824 # Forward matrix value
- M7 = 0 # Forward matrix value
- M8 = -0.0697564737441253 # Forward matrix value
- Form = "Full" # Matrix storage form
- End MatrixMap
- MapB = # Second component Mapping
- Begin SphMap # Cartesian to Spherical mapping
- Nin = 3 # Number of input coordinates
- Nout = 2 # Number of output coordinates
- Invert = 1 # Mapping inverted
- IsA Mapping # Mapping between coordinate systems
- UntRd = 1 # All input vectors have unit length
- PlrLg = 4.90555329534916 # Polar longitude (rad.s)
- End SphMap
- End CmpMap
- End CmpMap
- End CmpMap
- End CmpMap
- MapB = # Second component Mapping
- Begin ZoomMap # Zoom about the origin
- Nin = 1 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- Zoom = 0.001 # Zoom factor
- End ZoomMap
- End CmpMap
- End CmpMap
- Map3 = # Mapping between nodes 1 and 3
- Begin UnitMap # Unit (null) Mapping
- Nin = 3 # Number of input coordinates
- IsSimp = 1 # Mapping has been simplified
- IsA Mapping # Mapping between coordinate systems
- End UnitMap
- Map4 = # Mapping between nodes 1 and 4
- Begin WinMap # Map one window on to another
- Nin = 3 # Number of input coordinates
- IsSimp = 1 # Mapping has been simplified
- IsA Mapping # Mapping between coordinate systems
- Sft1 = -9.5 # Shift for axis 1
- Sft2 = -9.5 # Shift for axis 2
- Sft3 = -2049.5 # Shift for axis 3
- End WinMap
- Map5 = # Mapping between nodes 1 and 5
- Begin WinMap # Map one window on to another
- Nin = 3 # Number of input coordinates
- IsSimp = 1 # Mapping has been simplified
- IsA Mapping # Mapping between coordinate systems
- Sft1 = -9.5 # Shift for axis 1
- Sft2 = -9.5 # Shift for axis 2
- Sft3 = -2049.5 # Shift for axis 3
- End WinMap
- End FrameSet
diff --git a/ast/ast_tester/a20070718_00010_02_cube.fits-wcs b/ast/ast_tester/a20070718_00010_02_cube.fits-wcs
deleted file mode 100644
index 428efaa..0000000
--- a/ast/ast_tester/a20070718_00010_02_cube.fits-wcs
+++ /dev/null
@@ -1,61 +0,0 @@
-WCSAXES = 3 / Number of WCS axes
-CRPIX1 = 10.0 / Reference pixel on axis 1
-CRPIX2 = 10.493878 / Reference pixel on axis 2
-CRPIX3 = 1.0 / Reference pixel on axis 3
-CRVAL1 = 281.0675 / Value at ref. pixel on axis 1
-CRVAL2 = -4.0 / Value at ref. pixel on axis 2
-CRVAL3 = -13.610153 / Value at ref. pixel on axis 3
-CTYPE1 = 'RA---TAN' / Type of co-ordinate on axis 1
-CTYPE2 = 'DEC--TAN' / Type of co-ordinate on axis 2
-CTYPE3 = 'VRAD ' / Type of co-ordinate on axis 3
-CDELT1 = -0.0016666667 / Pixel size on axis 1
-CDELT2 = 0.0016666667 / Pixel size on axis 2
-CDELT3 = 0.049100739 / Pixel size on axis 3
-CUNIT3 = 'km/s ' / Units for axis 3
-MJD-OBS = 54299.245 / Modified Julian Date of observation
-DATE-OBS= '2007-07-18T05:52:31.475' / Date of observation
-RADESYS = 'FK5 ' / Reference frame for RA/DEC values
-EQUINOX = 2000.0 / [yr] Epoch of reference equinox
-SPECSYS = 'LSRK ' / Standard of rest for spectral axis
-SSYSSRC = 'LSRK ' / Standard of rest for source redshift
-ZSOURCE = 0.000290285 / [] Redshift of source
-VELOSYS = -10097.217 / [m/s] Topo. apparent velocity of rest frame
-RESTFRQ = 3.7267251E+11 / [Hz] Rest frequency
-IMAGFREQ= 3.621676E+11 / [Hz] Image frequency
-OBSGEO-X= -5461073.2 / [m] Observatory geocentric X
-OBSGEO-Y= -2491089.0 / [m] Observatory geocentric Y
-OBSGEO-Z= 2149568.8 / [m] Observatory geocentric Z
-WCSAXESA= 3 / Number of WCS axes
-WCSNAMEA= 'PIXEL ' / Reference name for the coord. frame
-CRPIX1A = 1.0 / Reference pixel on axis 1
-CRPIX2A = 1.0 / Reference pixel on axis 2
-CRPIX3A = 1.0 / Reference pixel on axis 3
-CRVAL1A = -8.5 / Value at ref. pixel on axis 1
-CRVAL2A = -8.5 / Value at ref. pixel on axis 2
-CRVAL3A = -2048.5 / Value at ref. pixel on axis 3
-CTYPE1A = 'p1 ' / Pixel coordinate 1
-CTYPE2A = 'p2 ' / Pixel coordinate 2
-CTYPE3A = 'p3 ' / Pixel coordinate 3
-CDELT1A = 1.0 / Pixel size on axis 1
-CDELT2A = 1.0 / Pixel size on axis 2
-CDELT3A = 1.0 / Pixel size on axis 3
-CUNIT1A = 'pixel ' / Units for axis 1
-CUNIT2A = 'pixel ' / Units for axis 2
-CUNIT3A = 'pixel ' / Units for axis 3
-WCSAXESB= 3 / Number of WCS axes
-WCSNAMEB= 'AXIS ' / Reference name for the coord. frame
-CRPIX1B = 1.0 / Reference pixel on axis 1
-CRPIX2B = 1.0 / Reference pixel on axis 2
-CRPIX3B = 1.0 / Reference pixel on axis 3
-CRVAL1B = -8.5 / Value at ref. pixel on axis 1
-CRVAL2B = -8.5 / Value at ref. pixel on axis 2
-CRVAL3B = -2048.5 / Value at ref. pixel on axis 3
-CTYPE1B = 'a1 ' / Axis 1
-CTYPE2B = 'a2 ' / Axis 2
-CTYPE3B = 'a3 ' / Axis 3
-CDELT1B = 1.0 / Pixel size on axis 1
-CDELT2B = 1.0 / Pixel size on axis 2
-CDELT3B = 1.0 / Pixel size on axis 3
-CUNIT1B = 'pixel ' / Units for axis 1
-CUNIT2B = 'pixel ' / Units for axis 2
-CUNIT3B = 'pixel ' / Units for axis 3
diff --git a/ast/ast_tester/aitoff.attr b/ast/ast_tester/aitoff.attr
deleted file mode 100644
index 85aa9de..0000000
--- a/ast/ast_tester/aitoff.attr
+++ /dev/null
@@ -1 +0,0 @@
-Grid=1,tickall=0,border=1,tol=0.001
diff --git a/ast/ast_tester/aitoff.box b/ast/ast_tester/aitoff.box
deleted file mode 100644
index b4f303e..0000000
--- a/ast/ast_tester/aitoff.box
+++ /dev/null
@@ -1 +0,0 @@
-10.0 -10.0 300.0 280.0
diff --git a/ast/ast_tester/aitoff.head b/ast/ast_tester/aitoff.head
deleted file mode 100644
index 5f34de0..0000000
--- a/ast/ast_tester/aitoff.head
+++ /dev/null
@@ -1,13 +0,0 @@
-SIMPLE = T / Written by IDL: 30-Jul-1997 05:35:42.00
-BITPIX = -32 / Bits per pixel.
-NAXIS = 2 / Number of dimensions
-NAXIS1 = 300 / Length of x axis.
-NAXIS2 = 300 / Length of y axis.
-CTYPE1 = 'GLON-AIT' / X-axis type
-CTYPE2 = 'GLAT-AIT' / Y-axis type
-CRVAL1 = -149.56866 / Reference pixel value
-CRVAL2 = -19.758201 / Reference pixel value
-CRPIX1 = 150.500 / Reference pixel
-CRPIX2 = 150.500 / Reference pixel
-CDELT1 = -1.20000 / Degrees/pixel
-CDELT2 = 1.20000 / Degrees/pixel
diff --git a/ast/ast_tester/ast_tester b/ast/ast_tester/ast_tester
deleted file mode 100755
index e626157..0000000
--- a/ast/ast_tester/ast_tester
+++ /dev/null
@@ -1,232 +0,0 @@
-#!/bin/tcsh
-#+
-# Purpose:
-# Does a few tests of the version of AST installed in $INSTALL.
-
-# Usage:
-# ast_tester <-nd>
-
-# Description:
-# Build and run various tests of an AST installation.
-#
-# Some tests produce graphical output. Postscript plots of the FITS
-# headers in the current directory are produced for visual comparison
-# with previous versions. For each file matching "*.head" in the current
-# directory, a file is created called "*-new.ps". This file should be
-# compared visually with the file "*.ps". The new files are displayed
-# automatically unless the -nd option is supplied on the command line
-#
-# This script assumes the gfortran compiler is available. If this is not
-# the case, do a global edit of gfortran to whatever fortran 77 compiler
-# you have available (you will probably also need to change the compiler
-# flags).
-
-# Options:
-# -nd : Suppresses display of test plots.
-
-# Prior Requirements:
-# - Unless the "-nd" option is specified, it requires the gv command (a
-# frontend for ghostscript) to be on your PATH.
-# - The following environment variables are used:
-# STARLINK_DIR - should be set to the root of the tree in which the SSC is
-# installed. A default of /star is used if not set.
-# AST - should be set to the root of the tree in which the version of
-# AST to be tested is installed. A default of $STARLINK_DIR is used
-# if not set.
-
-# Author:
-# DSB: David Berry (JAC, Hawaii)
-#-
-
-if( ! $?STARLINK_DIR ) then
- setenv STARLINK_DIR /star
-endif
-
-if( ! $?AST ) then
- setenv AST $STARLINK_DIR
-endif
-
-if( ! $?LDFLAGS ) then
- setenv LDFLAGS ""
-endif
-
-setenv PATH $AST/bin\:$STARLINK_DIR/bin\:$PATH
-
-
-# Build the progs
-#gfortran -fno-second-underscore -o regression regression.f -fno-range-check $LDFLAGS -I$AST/include -I$STARLINK_DIR/include -L$AST/lib -L$STARLINK_DIR/lib `ast_link -ems` `chr_link`
-gfortran -fno-second-underscore -o plotter plotter.f -fno-range-check $LDFLAGS -I$AST/include -I$STARLINK_DIR/include -L$AST/lib -L$STARLINK_DIR/lib `ast_link -pgp -ems` `pgplot_link`
-gfortran -fno-second-underscore -o wcsconverter wcsconverter.f -fno-range-check $LDFLAGS -I$AST/include -I$STARLINK_DIR/include -L$AST/lib -L$STARLINK_DIR/lib `ast_link -ems` `chr_link` `err_link`
-gfortran -fno-second-underscore -o simplify simplify.f -fno-range-check $LDFLAGS -I$AST/include -I$STARLINK_DIR/include -L$AST/lib -L$STARLINK_DIR/lib `ast_link -ems` `chr_link` `err_link`
-
-# Run the other test progs
-echo ""
-
-
-foreach prog (testmapping testchebymap testunitnormmap testskyframe testframeset testchannel testpolymap testcmpmap testlutmap testfitstable testtable teststcschan teststc testspecframe testfitschan testswitchmap testrebin testrebinseq testtrangrid testnormmap testtime testrate testflux testratemap testspecflux testxmlchan testregions testkeymap )
-
-gfortran -fno-second-underscore -w -g -o $prog -g $prog.f -fno-range-check $LDFLAGS -I$AST/include \
- -I$STARLINK_DIR/include -L$AST/lib -L$STARLINK_DIR/lib `ast_link -ems` \
- `psx_link` `prm_link` `chr_link` `err_link`
-
-./$prog
-\rm $prog
-
-end
-
-
-
-foreach prog (testobject testconvert testerror)
-
-gcc -o $prog $prog.c -I.. -DHAVE_CONFIG_H $LDFLAGS -L$STARLINK_DIR/lib `ast_link`
-
-./$prog
-\rm $prog
-
-end
-
-
-
-
-# Make new plots.
-echo ""
-echo "Generating new plots..."
-echo ""
-if( $1 == "-nd" ) then
-echo " (but not displaying them because the -nd option was supplied)"
-echo ""
-endif
-
-\rm *-new.ps >& /dev/null
-
-foreach n (*.head)
- set bn = `basename $n .head`
-
- set atfile = "${bn}.attr"
- if( -e $atfile ) then
- set attr1 = `cat $atfile`
- else
- set attr1 = ' '
- endif
-
- set atfile = "${bn}.fattr"
- if( -e $atfile ) then
- set attr2 = `cat $atfile`
- else
- set attr2 = ' '
- endif
-
- set boxfile = "${bn}.box"
- if( -e $boxfile ) then
- set box = `cat $boxfile`
- else
- set box = ' '
- endif
-
-
- set psfile = "${bn}-new.ps"
- ./plotter $n "$attr1" "$attr2" a.ps $box
-
- if( -e $STARLINK_DIR/bin/psmerge ) then
- $STARLINK_DIR/bin/psmerge -t300x300 -r90 a.ps > $psfile
- else
- cp a.ps $psfile
- endif
-
- if( $1 != "-nd" ) then
- gv $psfile -orientation=landscape
- endif
-
-end
-
-\rm -f a.ps
-
-
-# Make new fits headers
-echo ""
-echo "Doing WCS conversion tests..."
-echo ""
-
-set ok = 1
-foreach n ( "timj ast fits-wcs cdmatrix=1" \
- "timj ast fits-iraf" \
- "timj ast fits-aips" \
- "timj ast fits-pc" \
- "timj ast native" \
- "timj ast native" \
- "a20070718_00010_02_cube ast fits-wcs" \
- "dss fits-dss ast" \
- "dss ast dss" \
- "dss ast fits-wcs cdmatrix=1" \
- "degen1 ast fits-wcs cdmatrix=1" \
- "degen1 ast fits-wcs cdmatrix=1" \
- "sip head fits-wcs cdmatrix=1,sipreplace=0" \
- "longslit fits-pc fits-wcs cdmatrix=1" )
-
- set a = `echo $n`
-
- set base = $a[1]
- set in_suffix = $a[2]
- set encoding = $a[3]
- if( $#a > 3 ) then
- set attrs = $a[4]
- else
- set attrs = ""
- endif
-
- set in_file = "$base.$in_suffix"
- set old_file = "$base.$encoding"
- set new_file = "$base-new.$encoding"
-
-
- ./wcsconverter $in_file $encoding $new_file "$attrs,FitsDigits=8"
- diff -c $old_file $new_file > ! $old_file.diff
-
- if( $status == 0 ) then
- \rm -f $old_file.diff $new_file
- else
- echo " $old_file and $new_file differ\!\! (see $old_file.diff)"
- echo " Command was:"
- echo " wcsconverter $in_file $encoding $new_file <quote>$attrs,FitsDigits=8<quote>"
- set ok = 0
- endif
-
-end
-
-if( $ok == 1 ) then
- echo " All WCS conversion tests passed"
- echo ""
-endif
-
-
-echo ""
-echo "Doing Simplification tests..."
-echo ""
-
-set ok = 1
-foreach n ( *.map )
- set a = `basename $n .map`
- ./simplify $n $a.out
- diff -c $a.simp $a.out > ! $a.diff
-
- if( $status == 0 ) then
- \rm -f $a.out $a.diff
- else
- echo " $a.simp and $a.out differ\!\! (see $a.diff)"
- set ok = 0
- endif
-
-end
-
-if( $ok == 1 ) then
- echo " All simplification tests passed"
- echo ""
- echo ""
-endif
-
-
-
-
-
-
-\rm -f plotter wcsconverter simplify testxmlchan
diff --git a/ast/ast_tester/brad.map b/ast/ast_tester/brad.map
deleted file mode 100644
index d403fce..0000000
--- a/ast/ast_tester/brad.map
+++ /dev/null
@@ -1,58 +0,0 @@
-Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
-IsA Mapping # Mapping between coordinate systems
- Series = 0 # Component Mappings applied in parallel
- MapA = # First component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 1 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- InvA = 1 # First Mapping used in inverse direction
- MapA = # First component Mapping
- Begin WinMap # Map one window on to another
- Nin = 1 # Number of input coordinates
- Invert = 1 # Mapping inverted
- IsA Mapping # Mapping between coordinate systems
- Sft1 = 0.215698 # Shift for axis 1
- End WinMap
- MapB = # Second component Mapping
- Begin LutMap # Map 1-d coordinates using a lookup table
- Nin = 1 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Nlut = 11 # Number of lookup table elements
- Start = 1 # Input value at first element
- Incr = 100 # Input value increment between elements
- LutInt = 0 # Interpolation method
- L1 = 1.39532005786896 # Lookup table elements...
- L2 = 1.50432002544403
- L3 = 1.61332011222839
- L4 = 1.72232007980347
- L5 = 1.83132004737854
- L6 = 1.94032001495361
- L7 = 2.04932022094727
- L8 = 2.15831995010376
- L9 = 2.26732015609741
- L10 = 2.37632012367249
- L11 = 2.48532009124756
- End LutMap
- End CmpMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin ZoomMap # Zoom about the origin
- Nin = 2 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Zoom = 5.23598775598299e-06 # Zoom factor
- End ZoomMap
- MapB = # Second component Mapping
- Begin WcsMap # FITS-WCS sky projection
- Nin = 2 # Number of input coordinates
- Invert = 1 # Mapping inverted
- IsA Mapping # Mapping between coordinate systems
- Type = "TAN" # Gnomonic projection
- End WcsMap
- End CmpMap
-End CmpMap
diff --git a/ast/ast_tester/brad.simp b/ast/ast_tester/brad.simp
deleted file mode 100644
index ffa6e18..0000000
--- a/ast/ast_tester/brad.simp
+++ /dev/null
@@ -1,49 +0,0 @@
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsSimp = 1 # Mapping has been simplified
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin WinMap # Map one window on to another
- Nin = 3 # Number of input coordinates
- IsSimp = 1 # Mapping has been simplified
- IsA Mapping # Mapping between coordinate systems
- Sft1 = -0.215698 # Shift for axis 1
- Scl2 = 5.2359877559829903e-06 # Scale factor for axis 2
- Scl3 = 5.2359877559829903e-06 # Scale factor for axis 3
- End WinMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsSimp = 1 # Mapping has been simplified
- IsA Mapping # Mapping between coordinate systems
- Series = 0 # Component Mappings applied in parallel
- MapA = # First component Mapping
- Begin LutMap # Map 1-d coordinates using a lookup table
- Nin = 1 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Nlut = 11 # Number of lookup table elements
- Start = 1 # Input value at first element
- Incr = 100 # Input value increment between elements
- LutInt = 0 # Interpolation method
- L1 = 1.39532005786896 # Lookup table elements...
- L2 = 1.5043200254440301
- L3 = 1.61332011222839
- L4 = 1.7223200798034699
- L5 = 1.83132004737854
- L6 = 1.94032001495361
- L7 = 2.0493202209472701
- L8 = 2.1583199501037602
- L9 = 2.2673201560974099
- L10 = 2.3763201236724898
- L11 = 2.4853200912475599
- End LutMap
- MapB = # Second component Mapping
- Begin WcsMap # FITS-WCS sky projection
- Nin = 2 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Type = "TAN" # Gnomonic projection
- End WcsMap
- End CmpMap
- End CmpMap
diff --git a/ast/ast_tester/car1.attr b/ast/ast_tester/car1.attr
deleted file mode 100644
index f74084f..0000000
--- a/ast/ast_tester/car1.attr
+++ /dev/null
@@ -1 +0,0 @@
-numlabgap=0.05
diff --git a/ast/ast_tester/car1.box b/ast/ast_tester/car1.box
deleted file mode 100644
index 09670e6..0000000
--- a/ast/ast_tester/car1.box
+++ /dev/null
@@ -1 +0,0 @@
-0 0 2962 562
diff --git a/ast/ast_tester/car1.fattr b/ast/ast_tester/car1.fattr
deleted file mode 100644
index 5f408d2..0000000
--- a/ast/ast_tester/car1.fattr
+++ /dev/null
@@ -1 +0,0 @@
-carlin=1
diff --git a/ast/ast_tester/car1.head b/ast/ast_tester/car1.head
deleted file mode 100644
index bec8d59..0000000
--- a/ast/ast_tester/car1.head
+++ /dev/null
@@ -1,32 +0,0 @@
-SIMPLE = T / Standard FITS format
-BITPIX = 16 / Bits per pixel
-NAXIS = 2 / Number of axes
-NAXIS1 = 2961 / Number pixels on axis 1
-NAXIS2 = 561 / Number pixels on axis 2
-CTYPE1 = 'GLON-CAR' / axis 1 coord type
-CRVAL1 = 1.850000e+02 / coord value at CRPIX1
-CDELT1 = -1.250000e-01 / pixel spacing for axis 1
-CRPIX1 = 1.000000 / ref pixel for axis 1
-CTYPE2 = 'GLAT-CAR' / axis 2 coord type
-CRVAL2 = -3.500000e+01 / coord value at CRPIX2
-CDELT2 = 1.250000e-01 / pixel spacing for axis 2
-CRPIX2 = 1.000000 / ref pixel for axis 2
-BSCALE = 2.610167e-02 / real = int*bscale + bzero
-BZERO = 8.321995e+02 /
-DATAMIN = -6.326761e+00 / minimum real value
-DATAMAX = 1.670731e+03 / maximum real value
-BLANK = -32768 / missing data flag
-COMMENT PARENT DISK FILE: Wco_DHT2001.fits
-COMMENT temp =colscales( CHANGE-ME , -185.0000, 185.0000)
-COMMENT coords=rowscales( temp, 35.0000, -35.0000)
-COMMENT Written by MacFITS
-COMMENT Created: Tuesday, 14 August, 2001 01:18:06 PM
-COMMENT Whole-Galaxy velocity-integrated CO(1-0) map (Fig. 2) from
-COMMENT "The Milky Way in Molecular Clouds: A New Complete CO Survey"
-COMMENT T. M. Dame, Dap Hartmann, & P. Thaddeus (2001), ApJ, 547, 792.
-COMMENT WARNING: Both the angular resolution and the sensitivity varies
-COMMENT from region to region in this map: see Fig. 1 and Table 1 from
-COMMENT the paper above. Moment masking and clipping were used as
-COMMENT necessary to keep the noise in the map below ~1.5 K km/s.
-COMMENT See Section 2.2 for details.
-END
diff --git a/ast/ast_tester/car2.attr b/ast/ast_tester/car2.attr
deleted file mode 100644
index 483f747..0000000
--- a/ast/ast_tester/car2.attr
+++ /dev/null
@@ -1 +0,0 @@
-numlabgap(2)=0.05,labelling=interior
diff --git a/ast/ast_tester/car2.box b/ast/ast_tester/car2.box
deleted file mode 100644
index 09670e6..0000000
--- a/ast/ast_tester/car2.box
+++ /dev/null
@@ -1 +0,0 @@
-0 0 2962 562
diff --git a/ast/ast_tester/car2.fattr b/ast/ast_tester/car2.fattr
deleted file mode 100644
index 5f408d2..0000000
--- a/ast/ast_tester/car2.fattr
+++ /dev/null
@@ -1 +0,0 @@
-carlin=1
diff --git a/ast/ast_tester/car2.head b/ast/ast_tester/car2.head
deleted file mode 100644
index bec8d59..0000000
--- a/ast/ast_tester/car2.head
+++ /dev/null
@@ -1,32 +0,0 @@
-SIMPLE = T / Standard FITS format
-BITPIX = 16 / Bits per pixel
-NAXIS = 2 / Number of axes
-NAXIS1 = 2961 / Number pixels on axis 1
-NAXIS2 = 561 / Number pixels on axis 2
-CTYPE1 = 'GLON-CAR' / axis 1 coord type
-CRVAL1 = 1.850000e+02 / coord value at CRPIX1
-CDELT1 = -1.250000e-01 / pixel spacing for axis 1
-CRPIX1 = 1.000000 / ref pixel for axis 1
-CTYPE2 = 'GLAT-CAR' / axis 2 coord type
-CRVAL2 = -3.500000e+01 / coord value at CRPIX2
-CDELT2 = 1.250000e-01 / pixel spacing for axis 2
-CRPIX2 = 1.000000 / ref pixel for axis 2
-BSCALE = 2.610167e-02 / real = int*bscale + bzero
-BZERO = 8.321995e+02 /
-DATAMIN = -6.326761e+00 / minimum real value
-DATAMAX = 1.670731e+03 / maximum real value
-BLANK = -32768 / missing data flag
-COMMENT PARENT DISK FILE: Wco_DHT2001.fits
-COMMENT temp =colscales( CHANGE-ME , -185.0000, 185.0000)
-COMMENT coords=rowscales( temp, 35.0000, -35.0000)
-COMMENT Written by MacFITS
-COMMENT Created: Tuesday, 14 August, 2001 01:18:06 PM
-COMMENT Whole-Galaxy velocity-integrated CO(1-0) map (Fig. 2) from
-COMMENT "The Milky Way in Molecular Clouds: A New Complete CO Survey"
-COMMENT T. M. Dame, Dap Hartmann, & P. Thaddeus (2001), ApJ, 547, 792.
-COMMENT WARNING: Both the angular resolution and the sensitivity varies
-COMMENT from region to region in this map: see Fig. 1 and Table 1 from
-COMMENT the paper above. Moment masking and clipping were used as
-COMMENT necessary to keep the noise in the map below ~1.5 K km/s.
-COMMENT See Section 2.2 for details.
-END
diff --git a/ast/ast_tester/car3.attr b/ast/ast_tester/car3.attr
deleted file mode 100644
index b80a7c0..0000000
--- a/ast/ast_tester/car3.attr
+++ /dev/null
@@ -1 +0,0 @@
-grid=1
diff --git a/ast/ast_tester/car3.box b/ast/ast_tester/car3.box
deleted file mode 100644
index 54240c7..0000000
--- a/ast/ast_tester/car3.box
+++ /dev/null
@@ -1 +0,0 @@
-0 0 400 400
diff --git a/ast/ast_tester/car3.head b/ast/ast_tester/car3.head
deleted file mode 100644
index de6c76e..0000000
--- a/ast/ast_tester/car3.head
+++ /dev/null
@@ -1,8 +0,0 @@
-CTYPE1 = 'GLON-CAR'
-CRVAL1 = 1.850000e+02
-CDELT1 = -1.250000e-01
-CRPIX1 = 200.000000
-CTYPE2 = 'GLAT-CAR'
-CRVAL2 = -3.500000e+01
-CDELT2 = 1.250000e-01
-CRPIX2 = 200.000000
diff --git a/ast/ast_tester/car4.attr b/ast/ast_tester/car4.attr
deleted file mode 100644
index e69de29..0000000
--- a/ast/ast_tester/car4.attr
+++ /dev/null
diff --git a/ast/ast_tester/car4.box b/ast/ast_tester/car4.box
deleted file mode 100644
index 0393b0d..0000000
--- a/ast/ast_tester/car4.box
+++ /dev/null
@@ -1 +0,0 @@
-0 0 951 1851
diff --git a/ast/ast_tester/car4.fattr b/ast/ast_tester/car4.fattr
deleted file mode 100644
index 5f408d2..0000000
--- a/ast/ast_tester/car4.fattr
+++ /dev/null
@@ -1 +0,0 @@
-carlin=1
diff --git a/ast/ast_tester/car4.head b/ast/ast_tester/car4.head
deleted file mode 100644
index 95cd97a..0000000
--- a/ast/ast_tester/car4.head
+++ /dev/null
@@ -1,38 +0,0 @@
-SIMPLE = T / Written by IDL: Thu Apr 27 08:52:27 2000
-BITPIX = -32 /
-NAXIS = 2 /
-NAXIS1 = 951 /
-NAXIS2 = 1851 /
-CRPIX1 = 211076.0 /
-CRVAL1 = 0.000000000 /
-CTYPE1 = 'GLON-CAR' /
-CRPIX2 = 475.39400 /
-CRVAL2 = 0.000000000 /
-CTYPE2 = 'GLAT-CAR' /
-CROTA2 = 0.000000000 /
-LONPOLE = 0.00000 / Defined by Greisen and Calabretta
-CD1_1 = -0.0016666667 /
-CD1_2 = 0.00000 /
-CD2_1 = 0.00000 /
-CD2_2 = 0.0016666667 /
-WAVELENG= 8.28000e-06 / Isophotal wavelength in meters
-BUNIT = 'W/m^2-sr' /
-SECURITY= 'Unclassified' /
-TELESCOP= 'MSX ' /
-INSTRUME= 'SPIRITIII' /
-ORIGIN = 'AFRL-VSBC' /
-MJD-OBS = 50295.5 / Mean modified Julian date of observation
-DATE = '16/02/2000' / Date of file generation
-HISTORY Convert Version 6.2.X
-HISTORY Level-2A Deshadow Version 4.0
-HISTORY Level-2A Saturation Correction Version 1.0
-HISTORY Pointing Convert Version 6.0.1
-HISTORY Makeimage Version 3.2
-HISTORY Destriped
-HISTORY Data collected in J2000 FK5 coordinates
-HISTORY Data samples transformed to Galactic coordinates
-HISTORY and convolved onto image grid using sigma=3.0 arcsec
-HISTORY Gaussian kernel
-HISTORY Master Plate: GP_351.0_+0.0_A.fits
-HISTORY Written by IDL: 28-Jan-2000 17:44:54.00
-END
diff --git a/ast/ast_tester/car5.attr b/ast/ast_tester/car5.attr
deleted file mode 100644
index e69de29..0000000
--- a/ast/ast_tester/car5.attr
+++ /dev/null
diff --git a/ast/ast_tester/car5.box b/ast/ast_tester/car5.box
deleted file mode 100644
index 0393b0d..0000000
--- a/ast/ast_tester/car5.box
+++ /dev/null
@@ -1 +0,0 @@
-0 0 951 1851
diff --git a/ast/ast_tester/car5.head b/ast/ast_tester/car5.head
deleted file mode 100644
index 2be3a64..0000000
--- a/ast/ast_tester/car5.head
+++ /dev/null
@@ -1,38 +0,0 @@
-SIMPLE = T / Written by IDL: Thu Apr 27 08:52:27 2000
-BITPIX = -32 /
-NAXIS = 2 /
-NAXIS1 = 951 /
-NAXIS2 = 1851 /
-CRPIX1 = -4932.0204 /
-CRVAL1 = 0.000000000 /
-CTYPE1 = 'GLON-CAR' /
-CRPIX2 = 475.39400 /
-CRVAL2 = 0.000000000 /
-CTYPE2 = 'GLAT-CAR' /
-CROTA2 = 0.000000000 /
-LONPOLE = 0.00000 / Defined by Greisen and Calabretta
-CD1_1 = -0.0016666667 /
-CD1_2 = 0.00000 /
-CD2_1 = 0.00000 /
-CD2_2 = 0.0016666667 /
-WAVELENG= 8.28000e-06 / Isophotal wavelength in meters
-BUNIT = 'W/m^2-sr' /
-SECURITY= 'Unclassified' /
-TELESCOP= 'MSX ' /
-INSTRUME= 'SPIRITIII' /
-ORIGIN = 'AFRL-VSBC' /
-MJD-OBS = 50295.5 / Mean modified Julian date of observation
-DATE = '16/02/2000' / Date of file generation
-HISTORY Convert Version 6.2.X
-HISTORY Level-2A Deshadow Version 4.0
-HISTORY Level-2A Saturation Correction Version 1.0
-HISTORY Pointing Convert Version 6.0.1
-HISTORY Makeimage Version 3.2
-HISTORY Destriped
-HISTORY Data collected in J2000 FK5 coordinates
-HISTORY Data samples transformed to Galactic coordinates
-HISTORY and convolved onto image grid using sigma=3.0 arcsec
-HISTORY Gaussian kernel
-HISTORY Master Plate: GP_351.0_+0.0_A.fits
-HISTORY Written by IDL: 28-Jan-2000 17:44:54.00
-END
diff --git a/ast/ast_tester/car6.attr b/ast/ast_tester/car6.attr
deleted file mode 100644
index e69de29..0000000
--- a/ast/ast_tester/car6.attr
+++ /dev/null
diff --git a/ast/ast_tester/car6.box b/ast/ast_tester/car6.box
deleted file mode 100644
index e5f0493..0000000
--- a/ast/ast_tester/car6.box
+++ /dev/null
@@ -1 +0,0 @@
-0 0 5401 1741
diff --git a/ast/ast_tester/car6.head b/ast/ast_tester/car6.head
deleted file mode 100644
index 5356fa5..0000000
--- a/ast/ast_tester/car6.head
+++ /dev/null
@@ -1,39 +0,0 @@
-FITS headers in CHIPASS_Equ.fits:
-SIMPLE = T / file does conform to FITS standard
-BITPIX = -32 / IEEE (big-endian) 32-bit floating point data
-NAXIS = 2 / number of data axes
-NAXIS1 = 5401 / length of data axis 1
-NAXIS2 = 1741 / length of data axis 2
-EXTEND = T / FITS dataset may contain extensions
-COMMENT FITS (Flexible Image Transport System) format is defined in 'Astronomy
-COMMENT and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H
-BUNIT = 'mK ' / Using 438.5 mK/(Jy/beam) plus 3300 mK offset
-CTYPE1 = 'RA---CAR'
-CRPIX1 = 2701.
-CDELT1 = -0.0666666666666667
-CRVAL1 = 180.
-CTYPE2 = 'DEC--CAR'
-CRPIX2 = 1351.
-CDELT2 = 0.0666666666666667
-CRVAL2 = 0.
-LONPOLE = 0. / Native longitude of celestial pole
-LATPOLE = 90. / Native latitude of celestial pole
-RADESYS = 'FK5 ' / Equatorial coordinate system
-EQUINOX = 2000.0 / Equinox of equatorial coordinates
-BMAJ = 0.24000 / [deg] Beam major axis
-BMIN = 0.24000 / [deg] Beam minor axis
-BPA = 0.0 / [deg] Beam position angle
-FREQENCY= 1.3945E+09 / [Hz] Centre frequency
-BANDWID = 6.4E+07 / [Hz] Bandwidth
-DATE = '2013-04-20T13:20:39' / file creation date (YYYY-MM-DDThh:mm:ss UT)
-COMMENT ------------------------------------------------------------------------
-COMMENT This file contains a 1.4 GHz continuum map of the sky south of dec +26
-COMMENT produced from HIPASS and ZOA data. These surveys were undertaken with
-COMMENT the 13-beam multibeam system on the Parkes radio telescope.
-COMMENT Details may be found in the following paper:
-COMMENT Calabretta, M.R., Staveley-Smith, L., and Barnes, D.G., (2013)
-COMMENT PASA (in preparation).
-COMMENT ------------------------------------------------------------------------
-COMMENT THIS IS A PRE-PUBLICATION IMAGE, FOR RESTRICTED DISTRIBUTION ONLY
-COMMENT ------------------------------------------------------------------------
-END
diff --git a/ast/ast_tester/cobe.attr b/ast/ast_tester/cobe.attr
deleted file mode 100644
index c1f61e5..0000000
--- a/ast/ast_tester/cobe.attr
+++ /dev/null
@@ -1 +0,0 @@
-format(1)=gd,format(2)=gd,Grid=1,tickall=0,width(axes)=3
diff --git a/ast/ast_tester/cobe.box b/ast/ast_tester/cobe.box
deleted file mode 100644
index b4f303e..0000000
--- a/ast/ast_tester/cobe.box
+++ /dev/null
@@ -1 +0,0 @@
-10.0 -10.0 300.0 280.0
diff --git a/ast/ast_tester/cobe.head b/ast/ast_tester/cobe.head
deleted file mode 100644
index fb6da34..0000000
--- a/ast/ast_tester/cobe.head
+++ /dev/null
@@ -1,61 +0,0 @@
-SIMPLE = T / Written by IDL: 30-Jul-1997 05:35:42.00
-BITPIX = -32 / Bits per pixel.
-NAXIS = 2 / Number of dimensions
-NAXIS1 = 300 / Length of x axis.
-NAXIS2 = 300 / Length of y axis.
-CTYPE1 = 'GLON-ZEA' / X-axis type
-CTYPE2 = 'GLAT-ZEA' / Y-axis type
-CRVAL1 = -149.56866 / Reference pixel value
-CRVAL2 = -19.758201 / Reference pixel value
-CRPIX1 = 150.500 / Reference pixel
-CRPIX2 = 150.500 / Reference pixel
-CDELT1 = -1.20000 / Degrees/pixel
-CDELT2 = 1.20000 / Degrees/pixel
-CROTA1 = 0.00000 / Rotation in degrees.
-COMMENT
-COMMENT This file was produced by the SkyView survey analysis system from
-COMMENT available astronomical surveys. The data are formatted
-COMMENT as a simple two-dimensional FITS image with the same units as
-COMMENT the orginal survey. A single ASCII table extension may be present
-COMMENT which describes catalog objects found within the field of view.
-COMMENT Copies of relevant copyright notices are included in this file.
-COMMENT
-COMMENT Questions should be directed to:
-COMMENT
-COMMENT scollick@skyview.gsfc.nasa.gov
-COMMENT or
-COMMENT mcglynn@grossc.gsfc.nasa.gov
-COMMENT
-COMMENT SkyView
-COMMENT Code 668.1
-COMMENT Goddard Space Flight Center, Greenbelt, MD 20771
-COMMENT 301-286-7780
-COMMENT
-COMMENT SkyView is supported by NASA ADP grant NAS 5-32068.
-COMMENT
-SURVEY = 'COBE DIRBE'
-BUNITS = 'MJy/sr ' /
-ORIGIN = 'CDAC ' / Cosmology Data Analysis Center
-TELESCOP= 'COBE ' / COsmic Background Explorer satellite
-INSTRUME= 'DIRBE ' / COBE instrument [DIRBE, DMR, FIRAS]
-PIXRESOL= 9 / Quad tree pixel resolution [6, 9]
-DATE = '27/09/94' / FITS file creation date (dd/mm/yy)
-DATE-MAP= '16/09/94' / Date of original file creation (dd/mm/yy)
-COMMENT COBE specific keywords
-DATE-BEG= '08/12/89' / date of initial data represented (dd/mm/yy)
-DATE-END= '25/09/90' / date of final data represented (dd/mm/yy)
-COMMENT
-COMMENT THE COBE DIRBE map is a combination of the original ten
-COMMENT band passes with the following wavelengths:
-COMMENT Band 1 - 1.25 microns
-COMMENT Band 2 - 2.2 microns
-COMMENT Band 3 - 3.5 microns
-COMMENT Band 4 - 4.9 microns
-COMMENT Band 5 - 12 microns
-COMMENT Band 6 - 25 microns
-COMMENT Band 7 - 60 microns
-COMMENT Band 8 - 100 microns
-COMMENT Band 9 - 140 microns
-COMMENT Band 10 - 240 microns
-COMMENT
-END
diff --git a/ast/ast_tester/degen1.ast b/ast/ast_tester/degen1.ast
deleted file mode 100644
index 202f149..0000000
--- a/ast/ast_tester/degen1.ast
+++ /dev/null
@@ -1,318 +0,0 @@
-#
-# This FrameSet has 2 axes in the Base (GRID) Frame, but 3 in the Current
-# Frame. It is used to test the ability of FitsChan to create degenerate
-# WCS axes. It represents the first DEC plane from a WAVE/RA/DEC 3D NDF.
-#
- Begin FrameSet # Set of inter-related coordinate systems
-# Title = "3-d compound coordinate system" # Title of coordinate system
-# Naxes = 3 # Number of coordinate axes
-# Domain = "CMP" # Coordinate system domain
-# Epoch = 2003.0173483725 # Julian epoch of observation
-# Lbl1 = "Right ascension" # Label for axis 1
-# Lbl2 = "Declination" # Label for axis 2
-# Lbl3 = "Wavelength axis with no distortion" # Label for axis 3
-# System = "Compound" # Coordinate system type
-# Uni1 = "hh:mm:ss.s" # Units for axis 1
-# Uni2 = "ddd:mm:ss" # Units for axis 2
-# Uni3 = "um " # Units for axis 3
-# Dir1 = 0 # Plot axis 1 in reverse direction
- ActUnt = 0 # Unit strings do not affect alignment
- IsA Frame # Coordinate system description
- Nframe = 4 # Number of Frames in FrameSet
-# Base = 1 # Index of base Frame
- Currnt = 4 # Index of current Frame
- Nnode = 5 # Number of nodes in FrameSet
- Nod1 = 3 # Frame 1 is associated with node 3
- Nod2 = 4 # Frame 2 is associated with node 4
- Nod3 = 5 # Frame 3 is associated with node 5
- Nod4 = 2 # Frame 4 is associated with node 2
- Lnk2 = 1 # Node 2 is derived from node 1
- Lnk3 = 1 # Node 3 is derived from node 1
- Lnk4 = 1 # Node 4 is derived from node 1
- Lnk5 = 1 # Node 5 is derived from node 1
- Frm1 = # Frame number 1
- Begin Frame # Coordinate system description
- Title = "Data grid indices; first pixel at (1,1)" # Title of coordinate system
- Naxes = 2 # Number of coordinate axes
- Domain = "GRID" # Coordinate system domain
-# Lbl1 = "Data grid index 1" # Label for axis 1
-# Lbl2 = "Data grid index 2" # Label for axis 2
-# Uni1 = "pixel" # Units for axis 1
-# Uni2 = "pixel" # Units for axis 2
- ActUnt = 0 # Unit strings do not affect alignment
- Ax1 = # Axis number 1
- Begin Axis # Coordinate axis
- Label = "Data grid index 1" # Axis Label
- Symbol = "g1" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- Ax2 = # Axis number 2
- Begin Axis # Coordinate axis
- Label = "Data grid index 2" # Axis Label
- Symbol = "g2" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- End Frame
- Frm2 = # Frame number 2
- Begin Frame # Coordinate system description
- Title = "Pixel coordinates; first pixel at (0.5,0.5)" # Title of coordinate system
- Naxes = 2 # Number of coordinate axes
- Domain = "PIXEL" # Coordinate system domain
-# Lbl1 = "Pixel coordinate 1" # Label for axis 1
-# Lbl2 = "Pixel coordinate 2" # Label for axis 2
-# Uni1 = "pixel" # Units for axis 1
-# Uni2 = "pixel" # Units for axis 2
- ActUnt = 0 # Unit strings do not affect alignment
- Ax1 = # Axis number 1
- Begin Axis # Coordinate axis
- Label = "Pixel coordinate 1" # Axis Label
- Symbol = "p1" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- Ax2 = # Axis number 2
- Begin Axis # Coordinate axis
- Label = "Pixel coordinate 2" # Axis Label
- Symbol = "p2" # Axis symbol
- Unit = "pixel" # Axis units
- Format = "%3.1f" # Format specifier
- End Axis
- End Frame
- Frm3 = # Frame number 3
- Begin Frame # Coordinate system description
- Title = "Axis coordinates; first pixel at (0.5,0.5)" # Title of coordinate system
- Naxes = 2 # Number of coordinate axes
- Domain = "AXIS" # Coordinate system domain
-# Lbl1 = "Axis 1" # Label for axis 1
-# Lbl2 = "Axis 2" # Label for axis 2
- ActUnt = 0 # Unit strings do not affect alignment
- Ax1 = # Axis number 1
- Begin Axis # Coordinate axis
- Label = "Axis 1" # Axis Label
- Symbol = "a1" # Axis symbol
- End Axis
- Ax2 = # Axis number 2
- Begin Axis # Coordinate axis
- Label = "Axis 2" # Axis Label
- Symbol = "a2" # Axis symbol
- End Axis
- End Frame
- Frm4 = # Frame number 4
- Begin CmpFrame # Compound coordinate system description
-# Title = "3-d compound coordinate system" # Title of coordinate system
-# Naxes = 3 # Number of coordinate axes
-# Domain = "CMP" # Coordinate system domain
-# Lbl1 = "Right ascension" # Label for axis 1
-# Lbl2 = "Declination" # Label for axis 2
-# Lbl3 = "Wavelength axis with no distortion" # Label for axis 3
-# Uni1 = "hh:mm:ss.s" # Units for axis 1
-# Uni2 = "ddd:mm:ss" # Units for axis 2
-# Uni3 = "um " # Units for axis 3
-# Dir1 = 0 # Plot axis 1 in reverse direction
- ActUnt = 0 # Unit strings do not affect alignment
- IsA Frame # Coordinate system description
- Axp1 = 3 # Axis 1 permuted to use internal axis 3
- Axp2 = 1 # Axis 2 permuted to use internal axis 1
- Axp3 = 2 # Axis 3 permuted to use internal axis 2
- FrameA = # First component Frame
- Begin SkyFrame # Description of celestial coordinate system
- Naxes = 2 # Number of coordinate axes
- Epoch = 2003.0173483725 # Julian epoch of observation
- System = "FK5" # Coordinate system type
- ActUnt = 0 # Unit strings do not affect alignment
- Ax1 = # Axis number 1
- Begin SkyAxis # Celestial coordinate axis
- End SkyAxis
- Ax2 = # Axis number 2
- Begin SkyAxis # Celestial coordinate axis
- End SkyAxis
- IsA Frame # Coordinate system description
- Proj = "gnomonic" # Description of sky projection
- Eqnox = 2000 # Julian epoch of mean equinox
- End SkyFrame
- FrameB = # Second component Frame
- Begin Frame # Coordinate system description
- Naxes = 1 # Number of coordinate axes
- ActUnt = 0 # Unit strings do not affect alignment
- Ax1 = # Axis number 1
- Begin Axis # Coordinate axis
- Label = "Wavelength axis with no distortion" # Axis Label
- Symbol = "WAVE-WAV" # Axis symbol
- Unit = "um " # Axis units
- End Axis
- End Frame
- End CmpFrame
- Map2 = # Mapping between nodes 1 and 2
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- Nout = 3 # Number of output coordinates
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin PermMap # Coordinate permutation
- Nin = 2 # Number of input coordinates
- Nout = 3 # Number of output coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Out1 = 1 # Output coordinate 1 = input coordinate 1
- Out2 = 2 # Output coordinate 2 = input coordinate 2
- Out3 = -1 # Output coordinate 3 = constant no. 1
- InCpy = 1 # Input coordinates = output coordinates
- Nconst = 1 # Number of constants
- Con1 = 1 # Constant number 1
- End PermMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin WinMap # Map one window on to another
- Nin = 3 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Sft1 = -512.5 # Shift for axis 1
- Sft2 = -480.5 # Shift for axis 2
- Sft3 = -480.5 # Shift for axis 3
- End WinMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin MatrixMap # Matrix transformation
- Nin = 3 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- M0 = -0.00109 # Forward matrix value
- M1 = 5.84161700642502e-07 # Forward matrix value
- M2 = -5.84161700642502e-07 # Forward matrix value
- Form = "Diagonal" # Matrix storage form
- End MatrixMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- InvA = 1 # First Mapping used in inverse direction
- MapA = # First component Mapping
- Begin WcsMap # FITS-WCS sky projection
- Nin = 3 # Number of input coordinates
- Invert = 1 # Mapping inverted
- IsA Mapping # Mapping between coordinate systems
- Type = "TAN" # Gnomonic projection
- WcsAx1 = 2 # Index of celestial longitude axis
- WcsAx2 = 3 # Index of celestial latitude axis
- End WcsMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin PermMap # Coordinate permutation
- Nin = 3 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Out1 = 2 # Output coordinate 1 = input coordinate 2
- Out2 = 3 # Output coordinate 2 = input coordinate 3
- Out3 = 1 # Output coordinate 3 = input coordinate 1
- In1 = 3 # Input coordinate 1 = output coordinate 3
- In2 = 1 # Input coordinate 2 = output coordinate 1
- In3 = 2 # Input coordinate 3 = output coordinate 2
- End PermMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- Series = 0 # Component Mappings applied in parallel
- MapA = # First component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- Nout = 3 # Number of output coordinates
- IsA Mapping # Mapping between coordinate systems
- InvA = 1 # First Mapping used in inverse direction
- MapA = # First component Mapping
- Begin SphMap # Cartesian to Spherical mapping
- Nin = 3 # Number of input coordinates
- Nout = 2 # Number of output coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- UntRd = 1 # All input vectors have unit length
- End SphMap
- MapB = # Second component Mapping
- Begin MatrixMap # Matrix transformation
- Nin = 3 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- M0 = 0.0122898607703168 # Forward matrix value
- M1 = -0.231781944526882 # Forward matrix value
- M2 = -0.972690130264301 # Forward matrix value
- M3 = -0.00292831230784838 # Forward matrix value
- M4 = -0.972767767862061 # Forward matrix value
- M5 = 0.231763445771093 # Forward matrix value
- M6 = -0.999920188969737 # Forward matrix value
- M7 = 0 # Forward matrix value
- M8 = -0.0126339103497717 # Forward matrix value
- Form = "Full" # Matrix storage form
- End MatrixMap
- End CmpMap
- MapB = # Second component Mapping
- Begin SphMap # Cartesian to Spherical mapping
- Nin = 3 # Number of input coordinates
- Nout = 2 # Number of output coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- UntRd = 1 # All input vectors have unit length
- End SphMap
- End CmpMap
- MapB = # Second component Mapping
- Begin WinMap # Map one window on to another
- Nin = 1 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- Sft1 = 1.9534 # Shift for axis 1
- End WinMap
- End CmpMap
- MapB = # Second component Mapping
- Begin PermMap # Coordinate permutation
- Nin = 3 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- Out1 = 3 # Output coordinate 1 = input coordinate 3
- Out2 = 1 # Output coordinate 2 = input coordinate 1
- Out3 = 2 # Output coordinate 3 = input coordinate 2
- In1 = 2 # Input coordinate 1 = output coordinate 2
- In2 = 3 # Input coordinate 2 = output coordinate 3
- In3 = 1 # Input coordinate 3 = output coordinate 1
- End PermMap
- End CmpMap
- End CmpMap
- End CmpMap
- End CmpMap
- End CmpMap
- End CmpMap
- Map3 = # Mapping between nodes 1 and 3
- Begin UnitMap # Unit (null) Mapping
- Nin = 2 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- End UnitMap
- Map4 = # Mapping between nodes 1 and 4
- Begin WinMap # Map one window on to another
- Nin = 2 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- Sft1 = -0.5 # Shift for axis 1
- Sft2 = -0.5 # Shift for axis 2
- End WinMap
- Map5 = # Mapping between nodes 1 and 5
- Begin WinMap # Map one window on to another
- Nin = 2 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- Sft1 = -0.5 # Shift for axis 1
- Sft2 = -0.5 # Shift for axis 2
- End WinMap
- End FrameSet
diff --git a/ast/ast_tester/degen1.fits-wcs b/ast/ast_tester/degen1.fits-wcs
deleted file mode 100644
index 6e5309d..0000000
--- a/ast/ast_tester/degen1.fits-wcs
+++ /dev/null
@@ -1,40 +0,0 @@
-WCSAXES = 3 / Number of WCS axes
-CRPIX1 = 1.0 / Reference pixel on axis 1
-CRPIX2 = 480.5 / Reference pixel on axis 2
-CRPIX3 = 480.5 / Reference pixel on axis 3
-CRVAL1 = 2.510935 / Value at ref. pixel on axis 1
-CRVAL2 = 166.59799 / Value at ref. pixel on axis 2
-CRVAL3 = -0.723889 / Value at ref. pixel on axis 3
-CTYPE1 = 'WAVE-WAV' / Wavelength axis with no distortion
-CTYPE2 = 'RA---TAN' / Type of co-ordinate on axis 2
-CTYPE3 = 'DEC--TAN' / Type of co-ordinate on axis 3
-CD1_1 = -0.00109 / Transformation matrix element
-CD2_2 = 3.347E-5 / Transformation matrix element
-CD3_3 = -3.347E-5 / Transformation matrix element
-CUNIT1 = 'um ' / Units for axis 1
-MJD-OBS = 52646.586 / Modified Julian Date of observation
-DATE-OBS= '2003-01-07T14:03:28.816' / Date of observation
-RADESYS = 'FK5 ' / Reference frame for RA/DEC values
-EQUINOX = 2000.0 / [yr] Epoch of reference equinox
-WCSAXESA= 2 / Number of WCS axes
-WCSNAMEA= 'PIXEL ' / Reference name for the coord. frame
-CRPIX1A = 1.0 / Reference pixel on axis 1
-CRPIX2A = 1.0 / Reference pixel on axis 2
-CRVAL1A = 0.5 / Value at ref. pixel on axis 1
-CRVAL2A = 0.5 / Value at ref. pixel on axis 2
-CTYPE1A = 'p1 ' / Pixel coordinate 1
-CTYPE2A = 'p2 ' / Pixel coordinate 2
-CD1_1A = 1.0 / Transformation matrix element
-CD2_2A = 1.0 / Transformation matrix element
-CUNIT1A = 'pixel ' / Units for axis 1
-CUNIT2A = 'pixel ' / Units for axis 2
-WCSAXESB= 2 / Number of WCS axes
-WCSNAMEB= 'AXIS ' / Reference name for the coord. frame
-CRPIX1B = 1.0 / Reference pixel on axis 1
-CRPIX2B = 1.0 / Reference pixel on axis 2
-CRVAL1B = 0.5 / Value at ref. pixel on axis 1
-CRVAL2B = 0.5 / Value at ref. pixel on axis 2
-CTYPE1B = 'a1 ' / Axis 1
-CTYPE2B = 'a2 ' / Axis 2
-CD1_1B = 1.0 / Transformation matrix element
-CD2_2B = 1.0 / Transformation matrix element
diff --git a/ast/ast_tester/doplot b/ast/ast_tester/doplot
deleted file mode 100755
index f7df1ce..0000000
--- a/ast/ast_tester/doplot
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/tcsh
-
- if( ! $?STARLINK ) then
- setenv STARLINK /star
- endif
-
- if( ! $?AST ) then
- setenv AST $STARLINK
- endif
-
- if( ! $?LDFLAGS ) then
- setenv LDFLAGS ""
- endif
-
- setenv PATH $AST/bin\:$STARLINK/bin\:$PATH
-
- gfortran -fno-second-underscore -o plotter plotter.f -fno-range-check $LDFLAGS -I$AST/include -I$STARLINK/include -L$AST/lib -L$STARLINK/lib `ast_link -pgp -ems` `pgplot_link`
-
- set bn = $1
- set n = "${bn}.head"
-
- set atfile = "${bn}.attr"
- if( -e $atfile ) then
- set attr1 = `cat $atfile`
- else
- set attr1 = ' '
- endif
-
- set atfile = "${bn}.fattr"
- if( -e $atfile ) then
- set attr2 = `cat $atfile`
- else
- set attr2 = ' '
- endif
-
- set boxfile = "${bn}.box"
- if( -e $boxfile ) then
- set box = `cat $boxfile`
- else
- set box = ' '
- endif
-
-
- plotter $n "$attr1" "$attr2" a.ps $box
-
- if( -e $STARLINK/bin/psmerge ) then
- $STARLINK/bin/psmerge -t300x300 -r90 a.ps > b.ps
- else
- cp a.ps b.ps
- endif
-
- gv b.ps -orientation=landscape
-
diff --git a/ast/ast_tester/dss.ast b/ast/ast_tester/dss.ast
deleted file mode 100644
index 6c778c4..0000000
--- a/ast/ast_tester/dss.ast
+++ /dev/null
@@ -1,166 +0,0 @@
- Begin FrameSet # Set of inter-related coordinate systems
-# Title = "FK5 equatorial coordinates; mean equinox J2000.0; gnomonic polynomial projection" # Title of coordinate system
-# Naxes = 2 # Number of coordinate axes
-# Domain = "SKY" # Coordinate system domain
-# Epoch = 2000 # Julian epoch of observation
-# Lbl1 = "Right ascension" # Label for axis 1
-# Lbl2 = "Declination" # Label for axis 2
-# System = "FK5" # Coordinate system type
-# Uni1 = "hh:mm:ss.s" # Units for axis 1
-# Uni2 = "ddd:mm:ss" # Units for axis 2
-# Dir1 = 0 # Plot axis 1 in reverse direction
-# Bot2 = -1.5707963267948966 # Lowest legal axis value
-# Top2 = 1.5707963267948966 # Highest legal axis value
- IsA Frame # Coordinate system description
- Nframe = 2 # Number of Frames in FrameSet
- Base = 1 # Index of base Frame
- Currnt = 2 # Index of current Frame
- Lnk2 = 1 # Node 2 is derived from node 1
- Frm1 = # Frame number 1
- Begin Frame # Coordinate system description
- Title = "Pixel Coordinates" # Title of coordinate system
- Naxes = 2 # Number of coordinate axes
- Domain = "GRID" # Coordinate system domain
-# Lbl1 = "Pixel axis 1" # Label for axis 1
-# Lbl2 = "Pixel axis 2" # Label for axis 2
- Ax1 = # Axis number 1
- Begin Axis # Coordinate axis
- Label = "Pixel axis 1" # Axis Label
- End Axis
- Ax2 = # Axis number 2
- Begin Axis # Coordinate axis
- Label = "Pixel axis 2" # Axis Label
- End Axis
- End Frame
- Frm2 = # Frame number 2
- Begin SkyFrame # Description of celestial coordinate system
- Ident = " " # Permanent Object identification string
- IsA Object # AST Object
-# Title = "FK5 equatorial coordinates; mean equinox J2000.0; gnomonic polynomial projection" # Title of coordinate system
- Naxes = 2 # Number of coordinate axes
-# Domain = "SKY" # Coordinate system domain
- Epoch = 2000 # Julian epoch of observation
-# Lbl1 = "Right ascension" # Label for axis 1
-# Lbl2 = "Declination" # Label for axis 2
- System = "FK5" # Coordinate system type
-# Uni1 = "hh:mm:ss.s" # Units for axis 1
-# Uni2 = "ddd:mm:ss" # Units for axis 2
-# Dir1 = 0 # Plot axis 1 in reverse direction
-# Bot2 = -1.5707963267948966 # Lowest legal axis value
-# Top2 = 1.5707963267948966 # Highest legal axis value
- Ax1 = # Axis number 1
- Begin SkyAxis # Celestial coordinate axis
- End SkyAxis
- Ax2 = # Axis number 2
- Begin SkyAxis # Celestial coordinate axis
- End SkyAxis
- IsA Frame # Coordinate system description
- Proj = "gnomonic polynomial" # Description of sky projection
-# SkyTol = 0.001 # Smallest significant separation [arc-sec]
- Eqnox = 2000 # Julian epoch of mean equinox
- SRefIs = "Ignored" # Not rotated (ref. pos. is ignored)
- SRef1 = 2.8272374655684112 # Ref. pos. RA 10:47:57.3
- SRef2 = -1.0518122540502668 # Ref. pos. Dec -60:15:52
- End SkyFrame
- Map2 = # Mapping between nodes 1 and 2
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- IsSimp = 1 # Mapping has been simplified
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin WinMap # Map one window on to another
- Nin = 2 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- Sft1 = -0.3287946560728543 # Shift for axis 1
- Scl1 = -0.00044129690205585437 # Scale factor for axis 1
- Sft2 = 0.38797155568647818 # Shift for axis 2
- Scl2 = 0.00044129690205585437 # Scale factor for axis 2
- End WinMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- InvA = 1 # First Mapping used in inverse direction
- MapA = # First component Mapping
- Begin WcsMap # FITS-WCS sky projection
- Nin = 2 # Number of input coordinates
- Invert = 1 # Mapping inverted
- IsA Mapping # Mapping between coordinate systems
- Type = "TPN" # Gnomonic polynomial projection
- PV1_0 = 0.00037777813768480556 # Projection parameter 0 for axis 1
- PV1_1 = 0.018675372165510556 # Projection parameter 1 for axis 1
- PV1_2 = 1.4659181119170556e-05 # Projection parameter 2 for axis 1
- PV1_4 = -5.6541834490241662e-09 # Projection parameter 4 for axis 1
- PV1_5 = -1.6598619578175834e-10 # Projection parameter 5 for axis 1
- PV1_6 = 3.324645548432778e-09 # Projection parameter 6 for axis 1
- PV1_7 = 6.8029375162963896e-10 # Projection parameter 7 for axis 1
- PV1_8 = -1.0315391309210556e-11 # Projection parameter 8 for axis 1
- PV1_9 = 6.5770184096316667e-10 # Projection parameter 9 for axis 1
- PV1_10 = 4.6843790588691666e-11 # Projection parameter 10 for axis 1
- PV1_17 = 0 # Projection parameter 17 for axis 1
- PV1_19 = 0 # Projection parameter 19 for axis 1
- PV1_21 = 0 # Projection parameter 21 for axis 1
- PV2_0 = 0.00020734395690532499 # Projection parameter 0 for axis 2
- PV2_1 = 0.018675089806542779 # Projection parameter 1 for axis 2
- PV2_2 = -1.6578391725152224e-05 # Projection parameter 2 for axis 2
- PV2_4 = -5.1378767937980552e-09 # Projection parameter 4 for axis 2
- PV2_5 = -1.7623932712259446e-09 # Projection parameter 5 for axis 2
- PV2_6 = 2.7161547313251387e-10 # Projection parameter 6 for axis 2
- PV2_7 = 7.088907407099166e-10 # Projection parameter 7 for axis 2
- PV2_8 = 1.8432618513145277e-11 # Projection parameter 8 for axis 2
- PV2_9 = 6.8491061989569442e-10 # Projection parameter 9 for axis 2
- PV2_10 = 7.3325859634708332e-13 # Projection parameter 10 for axis 2
- PV2_17 = 0 # Projection parameter 17 for axis 2
- PV2_19 = 0 # Projection parameter 19 for axis 2
- PV2_21 = 0 # Projection parameter 21 for axis 2
- End WcsMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 2 # Number of input coordinates
- IsA Mapping # Mapping between coordinate systems
- InvA = 1 # First Mapping used in inverse direction
- MapA = # First component Mapping
- Begin SphMap # Cartesian to Spherical mapping
- Nin = 3 # Number of input coordinates
- Nout = 2 # Number of output coordinates
- Invert = 1 # Mapping inverted
- IsA Mapping # Mapping between coordinate systems
- UntRd = 1 # All input vectors have unit length
- PlrLg = 0 # Polar longitude (rad.s)
- End SphMap
- MapB = # Second component Mapping
- Begin CmpMap # Compound Mapping
- Nin = 3 # Number of input coordinates
- Nout = 2 # Number of output coordinates
- IsA Mapping # Mapping between coordinate systems
- MapA = # First component Mapping
- Begin MatrixMap # Matrix transformation
- Nin = 3 # Number of input coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- M0 = 0.82577216035104439 # Forward matrix value
- M1 = -0.30920332196760869 # Forward matrix value
- M2 = -0.47169232013396639 # Forward matrix value
- M3 = -0.26848851872737706 # Forward matrix value
- M4 = -0.95099595460979502 # Forward matrix value
- M5 = 0.153364303628268 # Forward matrix value
- M6 = -0.49599824042101986 # Forward matrix value
- M7 = 0 # Forward matrix value
- M8 = -0.86832352582390171 # Forward matrix value
- Form = "Full" # Matrix storage form
- End MatrixMap
- MapB = # Second component Mapping
- Begin SphMap # Cartesian to Spherical mapping
- Nin = 3 # Number of input coordinates
- Nout = 2 # Number of output coordinates
- Invert = 0 # Mapping not inverted
- IsA Mapping # Mapping between coordinate systems
- UntRd = 1 # All input vectors have unit length
- PlrLg = 2.8272374655684112 # Polar longitude (rad.s)
- End SphMap
- End CmpMap
- End CmpMap
- End CmpMap
- End CmpMap
- End FrameSet
diff --git a/ast/ast_tester/dss.dss b/ast/ast_tester/dss.dss
deleted file mode 100644
index c57a035..0000000
--- a/ast/ast_tester/dss.dss
+++ /dev/null
@@ -1,58 +0,0 @@
-CNPIX1 = 1.0 / X corner (pixels)
-CNPIX2 = 1.0 / Y corner (pixels)
-PPO1 = 0.0 / Orientation co-efficients
-PPO2 = 0.0
-PPO3 = -18825.904
-PPO4 = 0.0
-PPO5 = 0.0
-PPO6 = -22216.49
-XPIXELSZ= 25.28445 / X pixel size (microns)
-YPIXELSZ= 25.28445 / Y pixel size (microns)
-PLTRAH = 10.0 / RA at plate centre
-PLTRAM = 47.0
-PLTRAS = 57.30587
-PLTDECD = 60.0 / DEC at plate centre
-PLTDECM = 15.0
-PLTDECS = 51.85079
-PLTDECSN= '- '
-PLTSCALE= 67.230832 / Plate scale (arcsec/mm)
-AMDX1 = 67.23134 / Plate solution x co-efficients
-AMDX2 = 0.052773052
-AMDX3 = 1.3600013
-AMDX4 = -2.035506E-5
-AMDX5 = -5.975503E-7
-AMDX6 = 1.1968724E-5
-AMDX7 = 0.0
-AMDX8 = 2.4490575E-6
-AMDX9 = -3.7135409E-8
-AMDX10 = 2.3677266E-6
-AMDX11 = 1.6863765E-7
-AMDX12 = 0.0
-AMDX13 = 0.0
-AMDX14 = 0.0
-AMDX15 = 0.0
-AMDX16 = 0.0
-AMDX17 = 0.0
-AMDX18 = 0.0
-AMDX19 = 0.0
-AMDX20 = 0.0
-AMDY1 = 67.230323 / Plate solution y co-efficients
-AMDY2 = -0.05968221
-AMDY3 = 0.74643824
-AMDY4 = -1.8496356E-5
-AMDY5 = -6.3446158E-6
-AMDY6 = 9.778157E-7
-AMDY7 = 0.0
-AMDY8 = 2.5520067E-6
-AMDY9 = 6.6357427E-8
-AMDY10 = 2.4656782E-6
-AMDY11 = 2.6397309E-9
-AMDY12 = 0.0
-AMDY13 = 0.0
-AMDY14 = 0.0
-AMDY15 = 0.0
-AMDY16 = 0.0
-AMDY17 = 0.0
-AMDY18 = 0.0
-AMDY19 = 0.0
-AMDY20 = 0.0
diff --git a/ast/ast_tester/dss.fits-dss b/ast/ast_tester/dss.fits-dss
deleted file mode 100644
index c728dc4..0000000
--- a/ast/ast_tester/dss.fits-dss
+++ /dev/null
@@ -1,108 +0,0 @@
-SIMPLE = T /FITS header
-BITPIX = 16 /No.Bits per pixel
-NAXIS = 2 /No.dimensions
-NAXIS1 = 530 /Length X axis
-NAXIS2 = 530 /Length Y axis
-EXTEND = T /
-DATE = '29/08/02 ' /Date of FITS file creation
-ORIGIN = 'CASB -- STScI ' /Origin of FITS image
-PLTLABEL= 'V 11596 ' /Observatory plate label
-PLATEID = '06A6 ' /GSSS Plate ID
-REGION = 'XV128 ' /GSSS Region Name
-DATE-OBS= '19/01/87 ' /UT date of Observation
-UT = '17:35:00.00 ' /UT time of observation
-EPOCH = 1.9870512695313E+03 /Epoch of plate
-PLTRAH = 10 /Plate center RA
-PLTRAM = 47 /
-PLTRAS = 5.7305870000000E+01 /
-PLTDECSN= '- ' /Plate center Dec
-PLTDECD = 60 /
-PLTDECM = 15 /
-PLTDECS = 5.1850790000000E+01 /
-EQUINOX = 2.0000000000000E+03 /Julian Reference frame equinox
-EXPOSURE= 4.0000000000000E+00 /Exposure time minutes
-BANDPASS= 6 /GSSS Bandpass code
-PLTGRADE= 1 /Plate grade
-PLTSCALE= 6.7200000000000E+01 /Plate Scale arcsec per mm
-SITELAT = '-31:16:24.00 ' /Latitude of Observatory
-SITELONG= '+149:03:42.00 ' /Longitude of Observatory
-TELESCOP= 'UK Schmidt (new optics)' /Telescope where plate taken
-CNPIX1 = 7696 /X corner (pixels)
-CNPIX2 = 7926 /Y corner
-DATATYPE= 'INTEGER*2 ' /Type of Data
-SCANIMG = 'XV128_06A6_00_00.PIM' /Name of original scan
-SCANNUM = 0 /Identifies scan of the plate
-DCHOPPED= F /Image repaired for chopping effects
-DSHEARED= F /Image repaired for shearing effects
-DSCNDNUM= 0 /Identifies descendant of plate scan image
-XPIXELSZ= 2.5284450000000E+01 /X pixel size microns
-YPIXELSZ= 2.5284450000000E+01 /Y pixel size microns
-PPO1 = 0.0000000000000E+00 /Orientation Coefficients
-PPO2 = 0.0000000000000E+00 /
-PPO3 = 1.7573793885557E+05 /
-PPO4 = 0.0000000000000E+00 /
-PPO5 = 0.0000000000000E+00 /
-PPO6 = 1.7816277576304E+05 /
-AMDX1 = 6.7231339795838E+01 /Plate solution x coefficients
-AMDX2 = 5.2773052029014E-02 /
-AMDX3 = 1.3600012956653E+00 /
-AMDX4 = -2.0355060416487E-05 /
-AMDX5 = -5.9755030481433E-07 /
-AMDX6 = 1.1968723974358E-05 /
-AMDX7 = 0.0000000000000E+00 /
-AMDX8 = 2.4490575058667E-06 /
-AMDX9 = -3.7135408713158E-08 /
-AMDX10 = 2.3677266274674E-06 /
-AMDX11 = 1.6863764611929E-07 /
-AMDX12 = 0.0000000000000E+00 /
-AMDX13 = 0.0000000000000E+00 /
-AMDX14 = 0.0000000000000E+00 /
-AMDX15 = 0.0000000000000E+00 /
-AMDX16 = 0.0000000000000E+00 /
-AMDX17 = 0.0000000000000E+00 /
-AMDX18 = 0.0000000000000E+00 /
-AMDX19 = 0.0000000000000E+00 /
-AMDX20 = 0.0000000000000E+00 /
-AMDY1 = 6.7230323303554E+01 /Plate solution y coefficients
-AMDY2 = -5.9682210210548E-02 /
-AMDY3 = 7.4643824485917E-01 /
-AMDY4 = -1.8496356457673E-05 /
-AMDY5 = -6.3446157764134E-06 /
-AMDY6 = 9.7781570327705E-07 /
-AMDY7 = 0.0000000000000E+00 /
-AMDY8 = 2.5520066665557E-06 /
-AMDY9 = 6.6357426647323E-08 /
-AMDY10 = 2.4656782316245E-06 /
-AMDY11 = 2.6397309468495E-09 /
-AMDY12 = 0.0000000000000E+00 /
-AMDY13 = 0.0000000000000E+00 /
-AMDY14 = 0.0000000000000E+00 /
-AMDY15 = 0.0000000000000E+00 /
-AMDY16 = 0.0000000000000E+00 /
-AMDY17 = 0.0000000000000E+00 /
-AMDY18 = 0.0000000000000E+00 /
-AMDY19 = 0.0000000000000E+00 /
-AMDY20 = 0.0000000000000E+00 /
- Based on photographic data obtained using The UK Schmidt Telescope.
- The UK Schmidt Telescope was operated by the Royal Observatory
- Edinburgh, with funding from the UK Science and Engineering Research
- Council, until 1988 June, and thereafter by the Anglo-Australian
- Observatory. Original plate material is copyright (c) the Royal
- Observatory Edinburgh and the Anglo-Australian Observatory. The
- plates were processed into the present compressed digital form with
- their permission. The Digitized Sky Survey was produced at the Space
- Telescope Science Institute under US Government grant NAG W-2166.
-
- Investigators using these scans are requested to include the above
- acknowledgements in any publications.
-
- Copyright (c) 1993, 1994, Association of Universities for Research in
- Astronomy, Inc. All rights reserved.
-DATAMAX = 23833 /Maximum data value
-DATAMIN = 3673 /Minimum data value
-OBJECT = 'data ' /Object ID
-OBJCTRA = '10 44 10.340 ' /Object Right Ascension (J2000)
-OBJCTDEC= '-59 43 11.40 ' /Object Declination (J2000)
-OBJCTX = 7961.96 /Object X on plate (pixels)
-OBJCTY = 8191.07 /Object Y on plate (pixels)
-END
diff --git a/ast/ast_tester/dss.fits-wcs b/ast/ast_tester/dss.fits-wcs
deleted file mode 100644
index e9896db..0000000
--- a/ast/ast_tester/dss.fits-wcs
+++ /dev/null
@@ -1,39 +0,0 @@
-WCSAXES = 2 / Number of WCS axes
-CRPIX1 = -745.0645 / Reference pixel on axis 1
-CRPIX2 = -879.1622 / Reference pixel on axis 2
-CRVAL1 = 161.98877 / Value at ref. pixel on axis 1
-CRVAL2 = -60.264403 / Value at ref. pixel on axis 2
-CTYPE1 = 'RA---TAN' / Type of co-ordinate on axis 1
-CTYPE2 = 'DEC--TAN' / Type of co-ordinate on axis 2
-CD1_1 = -0.02528445 / Transformation matrix element
-CD2_2 = 0.02528445 / Transformation matrix element
-MJD-OBS = 51544.499 / Modified Julian Date of observation
-DATE-OBS= '2000-01-01T11:58:55.816' / Date of observation
-QV1_0 = 0.00037777814 / Projection parameter
-QV1_1 = 0.018675372 / Projection parameter
-QV1_2 = 1.4659181E-5 / Projection parameter
-QV1_4 = -5.6541834E-9 / Projection parameter
-QV1_5 = -1.659862E-10 / Projection parameter
-QV1_6 = 3.3246455E-9 / Projection parameter
-QV1_7 = 6.8029375E-10 / Projection parameter
-QV1_8 = -1.0315391E-11 / Projection parameter
-QV1_9 = 6.5770184E-10 / Projection parameter
-QV1_10 = 4.6843791E-11 / Projection parameter
-QV1_17 = 0.0 / Projection parameter
-QV1_19 = 0.0 / Projection parameter
-QV1_21 = 0.0 / Projection parameter
-QV2_0 = 0.00020734396 / Projection parameter
-QV2_1 = 0.01867509 / Projection parameter
-QV2_2 = -1.6578392E-5 / Projection parameter
-QV2_4 = -5.1378768E-9 / Projection parameter
-QV2_5 = -1.7623933E-9 / Projection parameter
-QV2_6 = 2.7161547E-10 / Projection parameter
-QV2_7 = 7.0889074E-10 / Projection parameter
-QV2_8 = 1.8432619E-11 / Projection parameter
-QV2_9 = 6.8491062E-10 / Projection parameter
-QV2_10 = 7.332586E-13 / Projection parameter
-QV2_17 = 0.0 / Projection parameter
-QV2_19 = 0.0 / Projection parameter
-QV2_21 = 0.0 / Projection parameter
-RADESYS = 'FK5 ' / Reference frame for RA/DEC values
-EQUINOX = 2000.0 / [yr] Epoch of reference equinox
diff --git a/ast/ast_tester/hpx.attr b/ast/ast_tester/hpx.attr
deleted file mode 100644
index 496403c..0000000
--- a/ast/ast_tester/hpx.attr
+++ /dev/null
@@ -1 +0,0 @@
-border=1
diff --git a/ast/ast_tester/hpx.box b/ast/ast_tester/hpx.box
deleted file mode 100644
index 8b52762..0000000
--- a/ast/ast_tester/hpx.box
+++ /dev/null
@@ -1 +0,0 @@
-0.5 0.5 300.5 200.5
diff --git a/ast/ast_tester/hpx.head b/ast/ast_tester/hpx.head
deleted file mode 100644
index 9e82b8e..0000000
--- a/ast/ast_tester/hpx.head
+++ /dev/null
@@ -1,10 +0,0 @@
-NAXIS1 = 300
-NAXIS2 = 200
-CTYPE1 = 'GLON-HPX'
-CTYPE2 = 'GLAT-HPX'
-CRVAL1 = -149.56866
-CRVAL2 = -19.758201
-CRPIX1 = 150.500
-CRPIX2 = 100.500
-CDELT1 = -1.00000
-CDELT2 = 1.00000
diff --git a/ast/ast_tester/joye_car_headers/CAR_model.head b/ast/ast_tester/joye_car_headers/CAR_model.head
deleted file mode 100644
index 82a7d4e..0000000
--- a/ast/ast_tester/joye_car_headers/CAR_model.head
+++ /dev/null
@@ -1,47 +0,0 @@
-FITS headers in CAR_model.fits:
-SIMPLE = T / File conforms to NOST standard
-BITPIX = -32 / Bits per pixel
-NAXIS = 2 / No data is associated with this header
-NAXIS1 = 72 / Length of data axis 1
-NAXIS2 = 36 / Length of data axis 2
-EXTEND = T / Extensions may be present
-COMMENT FITS (Flexible Image Transport System) format is defined in 'Astronomy
-COMMENT and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H
-CTYPE1 = 'RA---CAR' / RA---%%%, %%% is the projection, e.g., AIT
-CRPIX1 = 36.5 / Reference pixel
-CRVAL1 = 266.41683 / RA at the reference pixel
-CDELT1 = -5. / X-axis incr per pixel at ref pixel (deg)
-CUNIT1 = 'deg ' / Physical unit of X-axis
-CTYPE2 = 'DEC--CAR' / DEC---%%%, %%% is the projection, e.g., AIT
-CRPIX2 = 18.5 / Reference pixel
-CRVAL2 = -29.00781 / DEC at the reference pixel
-CDELT2 = 5. / Y-axis incr per pixel at ref pixel (deg)
-CUNIT2 = 'deg ' / Physical unit of Y-axis
-CROTA2 = 0. / Image rotation (deg)
-DATE = '2011-03-16T11:50:24' /
-TELESCOP= 'GLAST ' / Name of telescope generating data
-INSTRUME= 'LAT ' / Name of instrument generating data
-EQUINOX = 2000. / Equinox of RA & DEC specifications
-CREATOR = 'gtmodel ' / Software creating file
-HISTORY $Id: LatCountsMapTemplate,v 1.2 2004/09/24 03:54:20 jc
-HISTORY hiang E
-CHECKSUM= 'AU2LCU0IAU0IAU0I' / HDU checksum updated 2011-03-16T15:51:49
-DATASUM = '2800807754' / data unit checksum updated 2011-03-16T15:51:49
-DSTYP1 = 'TIME '
-DSUNI1 = 's '
-DSVAL1 = 'TABLE '
-DSREF1 = ':GTI '
-DSTYP2 = 'ENERGY '
-DSUNI2 = 'MeV '
-DSVAL2 = '100:1000'
-DSTYP3 = 'EVENT_CLASS'
-DSUNI3 = 'dimensionless'
-DSVAL3 = '4:4 '
-DSTYP4 = 'ZENITH_ANGLE'
-DSUNI4 = 'deg '
-DSVAL4 = '0:105 '
-NDSKEYS = 4
-FILENAME= 'CAR_model.fits'
-HISTORY File modified by user 'jsperki1' with fv on 2011-03-16T12:00:29
-HISTORY File modified by user 'jsperki1' with fv on 2011-03-16T12:01:49
-END
diff --git a/ast/ast_tester/joye_car_headers/CHIPASS_Equ.head b/ast/ast_tester/joye_car_headers/CHIPASS_Equ.head
deleted file mode 100644
index 5356fa5..0000000
--- a/ast/ast_tester/joye_car_headers/CHIPASS_Equ.head
+++ /dev/null
@@ -1,39 +0,0 @@
-FITS headers in CHIPASS_Equ.fits:
-SIMPLE = T / file does conform to FITS standard
-BITPIX = -32 / IEEE (big-endian) 32-bit floating point data
-NAXIS = 2 / number of data axes
-NAXIS1 = 5401 / length of data axis 1
-NAXIS2 = 1741 / length of data axis 2
-EXTEND = T / FITS dataset may contain extensions
-COMMENT FITS (Flexible Image Transport System) format is defined in 'Astronomy
-COMMENT and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H
-BUNIT = 'mK ' / Using 438.5 mK/(Jy/beam) plus 3300 mK offset
-CTYPE1 = 'RA---CAR'
-CRPIX1 = 2701.
-CDELT1 = -0.0666666666666667
-CRVAL1 = 180.
-CTYPE2 = 'DEC--CAR'
-CRPIX2 = 1351.
-CDELT2 = 0.0666666666666667
-CRVAL2 = 0.
-LONPOLE = 0. / Native longitude of celestial pole
-LATPOLE = 90. / Native latitude of celestial pole
-RADESYS = 'FK5 ' / Equatorial coordinate system
-EQUINOX = 2000.0 / Equinox of equatorial coordinates
-BMAJ = 0.24000 / [deg] Beam major axis
-BMIN = 0.24000 / [deg] Beam minor axis
-BPA = 0.0 / [deg] Beam position angle
-FREQENCY= 1.3945E+09 / [Hz] Centre frequency
-BANDWID = 6.4E+07 / [Hz] Bandwidth
-DATE = '2013-04-20T13:20:39' / file creation date (YYYY-MM-DDThh:mm:ss UT)
-COMMENT ------------------------------------------------------------------------
-COMMENT This file contains a 1.4 GHz continuum map of the sky south of dec +26
-COMMENT produced from HIPASS and ZOA data. These surveys were undertaken with
-COMMENT the 13-beam multibeam system on the Parkes radio telescope.
-COMMENT Details may be found in the following paper:
-COMMENT Calabretta, M.R., Staveley-Smith, L., and Barnes, D.G., (2013)
-COMMENT PASA (in preparation).
-COMMENT ------------------------------------------------------------------------
-COMMENT THIS IS A PRE-PUBLICATION IMAGE, FOR RESTRICTED DISTRIBUTION ONLY
-COMMENT ------------------------------------------------------------------------
-END
diff --git a/ast/ast_tester/joye_car_headers/car1.fattr b/ast/ast_tester/joye_car_headers/car1.fattr
deleted file mode 100644
index 5f408d2..0000000
--- a/ast/ast_tester/joye_car_headers/car1.fattr
+++ /dev/null
@@ -1 +0,0 @@
-carlin=1
diff --git a/ast/ast_tester/joye_car_headers/car1.head b/ast/ast_tester/joye_car_headers/car1.head
deleted file mode 100644
index bec8d59..0000000
--- a/ast/ast_tester/joye_car_headers/car1.head
+++ /dev/null
@@ -1,32 +0,0 @@
-SIMPLE = T / Standard FITS format
-BITPIX = 16 / Bits per pixel
-NAXIS = 2 / Number of axes
-NAXIS1 = 2961 / Number pixels on axis 1
-NAXIS2 = 561 / Number pixels on axis 2
-CTYPE1 = 'GLON-CAR' / axis 1 coord type
-CRVAL1 = 1.850000e+02 / coord value at CRPIX1
-CDELT1 = -1.250000e-01 / pixel spacing for axis 1
-CRPIX1 = 1.000000 / ref pixel for axis 1
-CTYPE2 = 'GLAT-CAR' / axis 2 coord type
-CRVAL2 = -3.500000e+01 / coord value at CRPIX2
-CDELT2 = 1.250000e-01 / pixel spacing for axis 2
-CRPIX2 = 1.000000 / ref pixel for axis 2
-BSCALE = 2.610167e-02 / real = int*bscale + bzero
-BZERO = 8.321995e+02 /
-DATAMIN = -6.326761e+00 / minimum real value
-DATAMAX = 1.670731e+03 / maximum real value
-BLANK = -32768 / missing data flag
-COMMENT PARENT DISK FILE: Wco_DHT2001.fits
-COMMENT temp =colscales( CHANGE-ME , -185.0000, 185.0000)
-COMMENT coords=rowscales( temp, 35.0000, -35.0000)
-COMMENT Written by MacFITS
-COMMENT Created: Tuesday, 14 August, 2001 01:18:06 PM
-COMMENT Whole-Galaxy velocity-integrated CO(1-0) map (Fig. 2) from
-COMMENT "The Milky Way in Molecular Clouds: A New Complete CO Survey"
-COMMENT T. M. Dame, Dap Hartmann, & P. Thaddeus (2001), ApJ, 547, 792.
-COMMENT WARNING: Both the angular resolution and the sensitivity varies
-COMMENT from region to region in this map: see Fig. 1 and Table 1 from
-COMMENT the paper above. Moment masking and clipping were used as
-COMMENT necessary to keep the noise in the map below ~1.5 K km/s.
-COMMENT See Section 2.2 for details.
-END
diff --git a/ast/ast_tester/joye_car_headers/car2.fattr b/ast/ast_tester/joye_car_headers/car2.fattr
deleted file mode 100644
index 5f408d2..0000000
--- a/ast/ast_tester/joye_car_headers/car2.fattr
+++ /dev/null
@@ -1 +0,0 @@
-carlin=1
diff --git a/ast/ast_tester/joye_car_headers/car2.head b/ast/ast_tester/joye_car_headers/car2.head
deleted file mode 100644
index bec8d59..0000000
--- a/ast/ast_tester/joye_car_headers/car2.head
+++ /dev/null
@@ -1,32 +0,0 @@
-SIMPLE = T / Standard FITS format
-BITPIX = 16 / Bits per pixel
-NAXIS = 2 / Number of axes
-NAXIS1 = 2961 / Number pixels on axis 1
-NAXIS2 = 561 / Number pixels on axis 2
-CTYPE1 = 'GLON-CAR' / axis 1 coord type
-CRVAL1 = 1.850000e+02 / coord value at CRPIX1
-CDELT1 = -1.250000e-01 / pixel spacing for axis 1
-CRPIX1 = 1.000000 / ref pixel for axis 1
-CTYPE2 = 'GLAT-CAR' / axis 2 coord type
-CRVAL2 = -3.500000e+01 / coord value at CRPIX2
-CDELT2 = 1.250000e-01 / pixel spacing for axis 2
-CRPIX2 = 1.000000 / ref pixel for axis 2
-BSCALE = 2.610167e-02 / real = int*bscale + bzero
-BZERO = 8.321995e+02 /
-DATAMIN = -6.326761e+00 / minimum real value
-DATAMAX = 1.670731e+03 / maximum real value
-BLANK = -32768 / missing data flag
-COMMENT PARENT DISK FILE: Wco_DHT2001.fits
-COMMENT temp =colscales( CHANGE-ME , -185.0000, 185.0000)
-COMMENT coords=rowscales( temp, 35.0000, -35.0000)
-COMMENT Written by MacFITS
-COMMENT Created: Tuesday, 14 August, 2001 01:18:06 PM
-COMMENT Whole-Galaxy velocity-integrated CO(1-0) map (Fig. 2) from
-COMMENT "The Milky Way in Molecular Clouds: A New Complete CO Survey"
-COMMENT T. M. Dame, Dap Hartmann, & P. Thaddeus (2001), ApJ, 547, 792.
-COMMENT WARNING: Both the angular resolution and the sensitivity varies
-COMMENT from region to region in this map: see Fig. 1 and Table 1 from
-COMMENT the paper above. Moment masking and clipping were used as
-COMMENT necessary to keep the noise in the map below ~1.5 K km/s.
-COMMENT See Section 2.2 for details.
-END
diff --git a/ast/ast_tester/joye_car_headers/car3.head b/ast/ast_tester/joye_car_headers/car3.head
deleted file mode 100644