Opened 18 years ago

Closed 17 years ago

#81 closed defect (fixed)

saving statistics into variable so they can be printed to an ascii file

Reported by: ahughes@… Owned by: Malte Marquarding
Priority: normal Milestone: ASAP 2.2
Component: General Version: 2.0
Severity: normal Keywords:
Cc: ahughes@…

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

Change History (2)

comment:1 Changed 18 years ago by Malte Marquarding

Cc: ahughes@… added
Milestone: ASAP2 releaseASAP 2.2
Status: newassigned

comment:2 Changed 17 years ago by Malte Marquarding

Resolution: fixed
Status: assignedclosed

Fixed in version 2.1.1 (released soon).

Note: See TracTickets for help on using tickets.