Opened 14 years ago

Last modified 14 years ago

#233 new enhancement

Test Interactive flagging module, flagplotter

Reported by: Kana Sugimoto Owned by: Malte Marquarding
Priority: normal Milestone: ASAP 4.0
Component: python Version: 2.0
Severity: normal Keywords: flagging / Interactive
Cc: kana.sugi@…

Description

Please test the new module, flagplotter, on stand alone ASAP.

You can load flagplotter and play with it by

  1. building trunk codes,
  2. running the attached Python script, 'guiflag.py' to define a

function guiflag, and

  1. invoking the guiflag function, e.g.,

guiflag(sdfile='INPUT_FILE_NAME',outfile='OUTPUT_NAME.asap') You should hit return on the terminal to finish flagging and save file.

There are a few known issues:

  1. Buttons in the new toolbar are not nice. It's possible to change the faces to pictures like plotms in CASA.
  2. Page change and flagging operations are somehow slow.
  3. Buttons should be disabled during slow operation.

Description of the new toolbar buttons:

  • 'region': add a region to the selections by pressing left mouse button twice which specify start and end channel
  • 'panel': add panels to the selections by pressing left mouse on the panels.
  • 'clear': clear all the selections
  • 'flag': flag the selections
  • 'unflag': unflag the selections
  • 'statistics': calculate statistics of the selections (results are output to logger)
  • 'notation': add notes on the plot
  • Page '+' and '-': go back and forth pages
  • 'Quit': finish flagplotter (without saving flags)

Attachments (1)

guiflag.py (1.4 KB ) - added by Kana Sugimoto 14 years ago.
guiflag.py

Download all attachments as: .zip

Change History (2)

by Kana Sugimoto, 14 years ago

Attachment: guiflag.py added

guiflag.py

comment:1 by Malte Marquarding, 14 years ago

This looks good. How do should I integrate this into asap?

Maybe adding scantable.interactive_flag()

Note: See TracTickets for help on using tickets.