Opened 14 years ago

Closed 13 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 by Kana Sugimoto, 14 years ago

Owner: changed from Malte Marquarding to Kana Sugimoto

comment:2 by Kana Sugimoto, 14 years ago

Type: defectenhancement

comment:3 by Kana Sugimoto, 14 years ago

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

comment:4 by Kana Sugimoto, 14 years ago

Description: modified (diff)

comment:5 by Kana Sugimoto, 14 years ago

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 by Kana Sugimoto, 14 years ago

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.

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

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 by Kana Sugimoto, 14 years ago

Status: newassigned

comment:9 by Kana Sugimoto, 14 years ago

Milestone: Unified developmentASAP 4.0

comment:10 by Kana Sugimoto, 14 years ago

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 by Kana Sugimoto, 14 years ago

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 by Kana Sugimoto, 13 years ago

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.