wiki:AsapFaq

Version 15 (modified by Malte Marquarding, 15 years ago) ( diff )

--

I get strange errors after upgrading asap

Try removing ~/.asap. If you are using asapuserfuncs.py move it to a safe place first, then copy it into the new ~/.asap directory.

How do I run asap scripts without the asap command-line interface?

Insert

#!/usr/bin/env python
from asap import *

the top of you script and make it executable.

I would like to manipulate the plotter output

You can use any matplotlib/pylab plotting capability by accessing, the figure object.

fig = plotter._plotter.figure

Then follow the documentation on matplotlib, e.g. to display the y-axis in log scale:

fig.gca().set_yscale("log")
fig.show()

I get errors referring to out-of-date tables

Run

asap_update_data

to fetch the latest version of leap second tables.

Note: See TracWiki for help on using the wiki.