Opened 14 years ago

Closed 12 years ago

#205 closed enhancement (fixed)

Interactive (graphical) flagging (from CAS-1306)

Reported by: Kana Sugimoto Owned by: Kana Sugimoto
Priority: normal Milestone: ASAP 4.0
Component: General Version: 2.0
Severity: normal Keywords: CASA / interactive
Cc:

Description (last modified by Kana Sugimoto)

Suggested by NAOJ scientists: CASA single dish functions needs supporting interactive (graphical) flagging of spectra plotted on asapplotter.

Change History (12)

comment:1 Changed 14 years ago by Kana Sugimoto

Owner: changed from Malte Marquarding to Kana Sugimoto

comment:2 Changed 14 years ago by Kana Sugimoto

Type: defectenhancement

comment:3 Changed 14 years ago by Kana Sugimoto

Description: modified (diff)
Keywords: CASA added
Summary: Interactive (graphical) flaggingInteractive (graphical) flagging (from CAS-1306)

comment:4 Changed 14 years ago by Kana Sugimoto

Description: modified (diff)

comment:5 Changed 14 years ago by Kana Sugimoto

Commit date: 2010/08/30 Commit Number: rev. 1913 & 1914 @ASAP Modified file(s): casatoolbar.py, asapplotter.py

Added "+ page" button to the toolbar of ASAP plotter. If you set pannelling parameter which cause more than 16 panelling, "+ page" button is available to plot next plots.

comment:6 Changed 14 years ago by Kana Sugimoto

Commit Date: 2010/08/30 Commit Number: 1913 @ASAP trunk Modfied file(s): asapplotter.py

Enabled pannelling and stacking by scantable row in asapplotter. sd.plotter.set_mode(panelling or stacking='r') is available to panel or overlay plot by scantable row. Note that if panelling = 'r' is selected, your stack setting is ignored and only single spectra is plotted on the panel, while stacking='r' ignores panelling setting and single pannel is plotted.

This work is done as a precursor for GUI based flagging, because it requres plotting spectra by row.

comment:7 in reply to:  5 Changed 14 years ago by Kana Sugimoto

Sorry!! this comment is for the other Ticket.

Replying to KanaSugimoto:

Commit date: 2010/08/30 Commit Number: rev. 1913 & 1914 @ASAP Modified file(s): casatoolbar.py, asapplotter.py

Added "+ page" button to the toolbar of ASAP plotter. If you set pannelling parameter which cause more than 16 panelling, "+ page" button is available to plot next plots.

comment:8 Changed 14 years ago by Kana Sugimoto

Status: newassigned

comment:9 Changed 13 years ago by Kana Sugimoto

Milestone: Unified developmentASAP 4.0

comment:10 Changed 13 years ago by Kana Sugimoto

Commit Date: 2011/02/14 Commit Number: 1989 @ASAP trunk Modfied file(s): asapplotter.py

A by-product of this ticket. Enabled row based panelling and stacking in asapplotter.set_mode.

asapplotter:

  • better handling of row panelling/stacking
  • fixed a bug and set proper xrange of subplots which share axes.
  • explicitly enabled row based panelling and stacking by stacking='row' and panelling='row' in set_mode.

comment:11 Changed 13 years ago by Kana Sugimoto

Keywords: / interactive added

Commit Date: 2011/02/17,18 Commit Number: 1996-2001 @ASAP trunk Modfied file(s): flagplotter.py (new) and flagbar.py (new)

A new module flagplotter is added. The module inherits asapplotter. It enables users interactively select channel regions to flag/unflag/calculate statistics on the plot. Note the flag/unflag operations are invoked to a temporal scantable either on memory or disk and not saved on disk unless you explicitly save it.

A typical example of interactive flagging operations may be:

from asap.flagplotter import flagplotter scan = asap.scantable(filename='FILENAME') flagger = flagplotter(visible=True) flagger.plot(scan) ## select regions and flag/unflag them on the plotter. flagger.save_data(name='myscan.flagged.asap')

I'll close the ticket one Malte confirms it works in stand-alone asap

comment:12 Changed 12 years ago by Kana Sugimoto

Resolution: fixed
Status: assignedclosed

I forgot to close this ticket.
I haven't remember if Malte has confirmed the functions, but ASAP 4.0 has been released for a while ago and I haven't heard any error report. So I assume it's going well.

Note: See TracTickets for help on using tickets.