1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
---|
2 | <html>
|
---|
3 | <head>
|
---|
4 | <?php include("base.inc"); ?>
|
---|
5 | <title>ASAP - ATNF Spectral line Analysis Package</title>
|
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
---|
7 | <meta name="DC.Creator" lang="en" content="personalName=Marquarding,Malte" />
|
---|
8 | <meta name="ATNF.Maintainer" content="contactName=Marquarding,Malte" />
|
---|
9 | <meta name="DC.Title" lang="en" content="Homepage of Malte Marquarding" />
|
---|
10 | <meta name="DC.Title.alt" lang="en" content="" />
|
---|
11 | <meta name="DC.Subject" lang="en" content="spectral line" />
|
---|
12 | <meta name="DC.Description" lang="en" content="Just some links and contact details" />
|
---|
13 | <meta name="DC.Date.created" scheme="ISO8601" content="2005-08-02" />
|
---|
14 | <meta name="ATNF.Site" content="Marsfield" />
|
---|
15 | <meta name="ATNF.AccessPermission" content="Public" />
|
---|
16 | <meta name="ATNF.MetaVersion" content="1.0" />
|
---|
17 | <?php standard_head(); ?>
|
---|
18 | <STYLE TYPE="text/css">
|
---|
19 | <!--
|
---|
20 | B.asap {
|
---|
21 | text-align: center;
|
---|
22 | color: blue;
|
---|
23 | }
|
---|
24 | B.note {
|
---|
25 | color: red;
|
---|
26 | }
|
---|
27 | -->
|
---|
28 | </STYLE>
|
---|
29 | </head>
|
---|
30 | <body bgcolor="#FFFFFF" text="#000000">
|
---|
31 | <?php
|
---|
32 | title_bar("atnf");
|
---|
33 | title_crumbs("/computing/software/");
|
---|
34 | ?>
|
---|
35 | <!-- Start Content -->
|
---|
36 | <h1>ASAP OS X (10.4) install</h1>
|
---|
37 | This might or might not work with 10.3.
|
---|
38 | <h2>Getting stuff</h2>
|
---|
39 | <a href="http://pythonmac.org/packages">pythonmac.org</a> has
|
---|
40 | a pre-packaged python and some modules.
|
---|
41 | <br>
|
---|
42 | From the section <b>Packages for Universal...</b>
|
---|
43 | <br>get and install
|
---|
44 | <ul>
|
---|
45 | <li>
|
---|
46 | <a
|
---|
47 | href="http://pythonmac.org/packages/py24-fat/dmg/Universal-MacPython-2.4.3-2006-04-07.dmg">Python</a> </li>
|
---|
48 | <li>
|
---|
49 | <a
|
---|
50 | href="http://pythonmac.org/packages/py24-fat/mpkg/matplotlib-0.87.2-py2.4-macosx10.4.mpkg.zip">matplotlib</a> </li>
|
---|
51 | </ul>
|
---|
52 | You also need to get numpy:
|
---|
53 | <ul>
|
---|
54 | <li>
|
---|
55 | <a
|
---|
56 | href="http://prdownloads.sourceforge.net/numpy/numpy-0.9.6-py2.4-macosx10.4.dmg?download">numpy</a> </li>
|
---|
57 | </ul>
|
---|
58 | <br>
|
---|
59 | Next get <a href="http://ipython.scipy.org/dist/ipython-0.7.2.tar.gz">ipython</a> and run:<br>
|
---|
60 | <pre>
|
---|
61 | sudo python setup.py install
|
---|
62 | </pre>
|
---|
63 | from within the ipython-0.7.2 directory.
|
---|
64 | <br>
|
---|
65 | Then
|
---|
66 | <pre>
|
---|
67 | sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/ipython /usr/bin/ipython
|
---|
68 | </pre>
|
---|
69 | <h2>Tweaking it</h2>
|
---|
70 | Run the following in a terminal:<br>
|
---|
71 | As 'root' or 'sudo' edit<br>
|
---|
72 | <b>/System/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/mpl-data/matplotlibrc</b><br>
|
---|
73 | In this file replace<br>
|
---|
74 | <b> backend : WXAgg</b><br>
|
---|
75 | with<br>
|
---|
76 | <b> backend : TkAgg</b><br>
|
---|
77 |
|
---|
78 | <h2>Oh yeah there is ASAP, too</h2>
|
---|
79 | Get
|
---|
80 | <a
|
---|
81 | href="ftp://ftp.atnf.csiro.au/pub/software/asap/asap_osx.tar.bz2">this</a>.
|
---|
82 | Unpack and run.<br>
|
---|
83 | <pre>
|
---|
84 | tar jxvf asap_osx.tar.bz2
|
---|
85 | sudo sh install.sh
|
---|
86 | </pre>
|
---|
87 |
|
---|
88 | <h2>Run ASAP</h2>
|
---|
89 | Now you should be able to run "asap". On first run you might have to
|
---|
90 | answer a few set-up questions (ipython) and get a lot of font related
|
---|
91 | errors (matplotlib). Ignore these.
|
---|
92 |
|
---|
93 | <!-- End Content -->
|
---|
94 | <?php footer(); ?>
|
---|
95 | </body>
|
---|
96 | </html>
|
---|