wiki:AsapFaq

Version 14 (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 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.

Note: See TracWiki for help on using the wiki.