Custom Query (241 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (73 - 75 of 241)

Ticket Owner Reporter Resolution Summary
#80 malte.marquarding@… y_mizuno@… fixed scans.save('myscans', 'FITS') segv
Description

Dear programers,

I tried to convert fits file as written in users guid.

ASAP>scans.save('myscans', 'FITS')

from http://www.atnf.csiro.au/computing/software/asap/userguide/node44.html

But always "Segmentation fault" is happen.

When I tried "scans.save('myscans', 'SDFITS')", I can save sdfits file. So I think it's misprint.

Best regard, Yoji

#81 Malte Marquarding ahughes@… fixed saving statistics into variable so they can be printed to an ascii file
Description

Hi,

I'd like to be able to write out an ascii file that summarises some basic parameters for a batch of files, e.g. tsys, elevation, peak value, standard deviation.

The problem is that I can't see how to do this with the parameters that I access through the stats() command.

I.e. this works:

tsys = s.get_tsys() print(tsys)

but this doesn't:

ASAP>s=scantable("2006-08-09_0858-M160-12co.sdfits") Auto averaging integrations Importing 2006-08-09_0858-M160-12co.sdfits...

ASAP>m=s.stats(stat="max")


max


Scan[0] (M17SW) Time[2006/08/09/08:59:58]:

IF[8] Pol[0] = 26.275


Scan[2] (M17SW) Time[2006/08/09/09:02:30]:

IF[8] Pol[0] = 26.503


Scan[0] (M17SW) Time[2006/08/09/08:59:58]:

IF[8] Pol[1] = 21.226


Scan[2] (M17SW) Time[2006/08/09/09:02:30]:

IF[8] Pol[1] = 20.719


ASAP>print(m) None

#82 Malte Marquarding m.burton@… worksforme Installing ASAP on a Mac
Description

Malte & Chris

I'm once more valiantly trying to install the latest version of ASAP on my Mac, but am afraid I am getting no further than before.

I'm trying to follow the instructions on the wiki page, and have even tried both the alternatives for the matplotlibrc install (though I not quite sure what the second is supposed to be an alterbnative for).

The first problem comes with the command "ipython -pylab" (even when starting up a completing new terminal). Basically ipython is not recognised as a command. I can get "./ipython.py -pylab" to start, though it complains that it can import matplotlib. Though you do get as far as the prompt.

After that ASAP just doesn't run up.

I'm leaving a print out below.

This is all very frustrating, and I still haven't been able to look at any DFB data since leaving Oz at the end of July!!

Thanks

Michael

Extracts fron the install, on a Mac OSX 10.4.7 PPC G4

mgb12:/Applications/ipython-0.7.2 mgb$ sudo python setup.py install Password: running install running build running build_py running build_scripts running install_lib running install_scripts changing mode of /System/Library/Frameworks/Python?.framework/Versions/2.3/bin/ip ython to 755 changing mode of /System/Library/Frameworks/Python?.framework/Versions/2.3/bin/ir unner to 755 changing mode of /System/Library/Frameworks/Python?.framework/Versions/2.3/bin/py color to 755 running install_data mgb12:/Applications/ipython-0.7.2 mgb$ ip ip6 ip6fw ipcrm ipf-mod.pl ipseclog ip6config ipconfig ipcs ipfw mgb12:/Applications/ipython-0.7.2 mgb$ ipyton -pylab bash: ipyton: command not found mgb12:/Applications/ipython-0.7.2 mgb$ ipython -pylab bash: ipython: command not found mgb12:/Applications/ipython-0.7.2 mgb$ ./ipython.py -pylab ERROR: matplotlib could NOT be imported! Starting normal IPython. WARNING: Readline services not available on this platform. WARNING: The auto-indent feature requires the readline library WARNING: Proper color support under MS Windows requires Gary Bishop's readline library.You can find it at http://sourceforge.net/projects/uncpythontools Gary's readline needs the ctypes module, from: http://starship.python.net/crew/theller/ctypes

Defaulting color scheme to 'NoColor?' Python 2.3.5 (#1, Mar 20 2005, 20:38:20) Type "copyright", "credits" or "license" for more information.

IPython 0.7.2 -- An enhanced Interactive Python. ? -> Introduction to IPython's features. %magic -> Information about IPython's 'magic' % functions. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]:

*

Loading ASAP... Can't find, or no execute permissions for 'ipython' Running asap through 'python': Traceback (most recent call last):

File "<string>", line 1, in ?

ImportError?: No module named asap mgb12:/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/mpl-data mgb$

Note: See TracQuery for help on using queries.