Opened 18 years ago
Closed 18 years ago
#81 closed defect (fixed)
saving statistics into variable so they can be printed to an ascii file
Reported by: | 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]:
Scan[2] (M17SW) Time[2006/08/09/09:02:30]:
Scan[0] (M17SW) Time[2006/08/09/08:59:58]:
Scan[2] (M17SW) Time[2006/08/09/09:02:30]:
ASAP>print(m) None
Change History (2)
comment:1 by , 18 years ago
Cc: | added |
---|---|
Milestone: | ASAP2 release → ASAP 2.2 |
Status: | new → assigned |
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in version 2.1.1 (released soon).