wiki:AsapFaq

Version 12 (modified by Malte Marquarding, 16 years ago) ( diff )

--

I get intermittent runtime errors reducing large (MOPS) datasets

Note: This has been resolved as of asap 2.3.0. Please remove the line below unless you explicitly want it

Create ~/.asaprc with the following content

scantable.storage: disk

Then restart asap.

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 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.

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()
Note: See TracWiki for help on using the wiki.