Opened 18 years ago

Closed 18 years ago

#2 closed defect (fixed)

ASCII spectral dumps not useful

Reported by: Tony.Wong@… Owned by: Malte
Priority: normal Milestone: ASAP2 beta release
Component: python Version: 1.0
Severity: normal Keywords: export
Cc: tony.wong@…

Description

In saving the spectrum as ascii, the x- and y-axes are dumped in a single continuous line, which is pretty well impossible for any plotting program to deal with. A multi-column format would be more useful.

Change History (1)

comment:1 Changed 18 years ago by Malte Marquarding

Cc: tony.wong@… added
Milestone: ASAP2 beta release
Resolution: fixed
Status: newclosed

Rectified in asap v2.0 Example output:

###########################################################
#          Name: ORION_SIO
#      Position: J2000 05:35:14.6 -05.22.28.0
#          Time: 2005/05/08/04:01:46
#     Flux Unit: K                                                      
#      Pol Type: linear
#       Abcissa: LSRK RADIO velocity (km/s)
#       Beam No: 0
#         IF No: 0
###########################################################
x               y               yflag
-82.237035      2.4176409       0
-82.06699       2.1131961       0
-81.896945      -0.063362747    0
-81.7269        -0.21154401     0
-81.556856      0.7593258       0
-81.386811      -0.0055507063   0
-81.216766      -0.35695869     0
-81.046721      0.35156363      0
-80.876676      -0.55799049     0
-80.706632      1.6374333e+18   0
-80.536587      -0.38059416     0
Note: See TracTickets for help on using tickets.