Download Proposals for Gen2

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

CfA 1.2 m Millimeter-Wave Telescope wikipedia , lookup

Transcript
Proposals for Gen2
Daigo Tomono & Naoyuki Tamura
<tomono at subaru.naoj.org>
User
interface for
new OCS2009-01-16
Subaru Users' Meeting
2
your ideas
wanted!
2009-01-16
Subaru Users' Meeting
3
Users of
Gen2 are
observers ...
2009-01-16
Subaru Users' Meeting
4
YOU!
2009-01-16
Subaru Users' Meeting
5
You will use
Gen2 OCS.
2009-01-16
Subaru Users' Meeting
6
Discuss here,
2009-01-16
Subaru Users' Meeting
7
Talk with us,
2009-01-16
Subaru Users' Meeting
8
Send
comments
or proposals
2009-01-16
Subaru Users' Meeting
9
to Terada or
Tomono
2009-01-16
Subaru Users' Meeting
10
Gen2のUIの
提案を寺田
か友野まで
2009-01-16
Subaru Users' Meeting
11
Ideas wanted!


about user interface of Gen2
Tentative deadline: late May, 2009
– After international conference in Kyoto

Send your comments or proposals to
– Tomono <tomono at subaru.naoj.org>, or
– Terada <terada at subaru.naoj.org>
2009-01-16
Subaru Users' Meeting
12
Agenda



Scope of user interface for Gen2
Requirements to user interface for Gen2
A couple of examples
– to stimulate your proposals!
2009-01-16
Subaru Users' Meeting
13
Values of software
2.
Communication
Simplicity
3.
Flexibility
1.
2009-01-16
Users:
Observers,
SAs, and
Operators
Observing
OCS
Telescope
Instrument(s)
Archive (STARS)
2009-01-16
15
Observing, users want to watch





Condition of the sky
Status of the telescope
Status of the instrument
Status of ongoing observation
Data obtained
2009-01-16
Subaru Users' Meeting
16
Observing, users want to watch

Condition of the sky
– skymonitor




Status of the telescope
Status of the instrument
Status of ongoing observation
Data obtained
2009-01-16
Subaru Users' Meeting
17
Observing, users want to watch


Condition of the sky
Status of the telescope
– telstat



Status of the instrument
Status of ongoing observation
Data obtained
2009-01-16
Subaru Users' Meeting
18
Observing, users want to watch



Condition of the sky
Status of the telescope
Status of the instrument
–?


Status of ongoing observation
Data obtained
2009-01-16
Subaru Users' Meeting
19
Observing, users want to watch




Condition of the sky
Status of the telescope
Status of the instrument
Status of ongoing observation
– IntegGUI?

Data obtained
2009-01-16
Subaru Users' Meeting
20
Observing, users want to watch





Condition of the sky
Status of the telescope
Status of the instrument
Status of ongoing observation
Data obtained
– FitsViewer?
– ANA?
2009-01-16
Subaru Users' Meeting
21
Observing, users want to watch
2009-01-16
Subaru Users' Meeting
22
Observing
2009-01-16
23
Preparing
2009-01-16
24
Preparing, users want to


Plan sequences
Refer manuals
2009-01-16
Subaru Users' Meeting
25
Preparing with SOSS

Plan sequences
– Communication of ope files

Refer manuals
2009-01-16
Subaru Users' Meeting
26
Preparing with Gen2

Plan sequences
– Scripting language?
– GUI?
– Debug and rehearse
• before coming to Hawaii!

Refer manuals
2009-01-16
Subaru Users' Meeting
27
Looking for better way to

Preparing
– Plan sequences
• Debug and rehearse

Observing
– Execute and monitor sequences
• Termination, pause, modification, repetition, ...
• Dithering, iteration, ...
– Watch status of instrument(s)
– Review data obtained
2009-01-16
Subaru Users' Meeting
28
Copyright 2007 by kakutani.com, CC-by-2.0, from a presentation by Kenji Hiranabe
Examples!


To stimulate YOUR proposals!
Preparation and observation tools to edit
and execute sequence
– With a scripting language, i.e., Python, or
– Using graphical user interfaces
2009-01-16
Subaru Users' Meeting
30
Observation sequence on Python
from subaru import *
from dither import *
pts=[(0,0), (1,1), (1,-1), (-1,-1), (-1,1)]
run(Dither(integ_time=10, ditherlist=pts))
2009-01-16
Subaru Users' Meeting
31
Observation sequence on Python
class Dither(IRCS, AbstractDither):
def __init__(self, integ_time=0.0, **kwdargs):
super(Dither, self).__init__(integ_time=integ_time, **kwdargs)
def slew(self, ra, dec):
self.run(Sequence([
ShowUser(level=1, msg="Slewing to ra=%f dec=%f" % (ra, dec)),
Concurrent([
Telescope.Offset_Radec(ra, dec),
IRCS.YourDesiredSetup(),
Etc()
]),
ShowUser(level=2, msg="Done slewing."),
]))
def at_point(self, ra, dec):
self.run(Sequence([
ShowUser(level=1, msg="Exposing at ra=%f dec=%f" % (ra, dec)),
Sequence([IRCS.Expose(self.params.integ_time), Etc() ]),
ShowUser(level=2, msg="Done exposing."),
]))
2009-01-16
Subaru Users' Meeting
32
Observation sequence on Python
class AbstractDither(g2Task.g2Task):
def __init__(self, ra=0.0, dec=0.0, dra=1.0, ddec=1.0, ditherlist=[], **kwdargs):
super(AbstractDither, self).__init__(
ra=ra, dec=dec, dra=dra, ddec=ddec, ditherlist=ditherlist, **kwdargs
)
def at_point(self, ra, dec):
raise g2TaskError("Please subclass this method with desired behavior!")
def slew(self, ra, dec):
raise g2TaskError("Please subclass this method with desired behavior!")
def execute(self):
for i, j in self.params.ditherlist:
ra= self.params.ra+ (i * self.params.dra)
dec = self.params.dec + (j * self.params.ddec)
self.slew(ra, dec)
self.at_point(ra, dec)
2009-01-16
Subaru Users' Meeting
33
Planning and executing on GUI


Example from Gemini Observing Tool
A prototype from Subaru OCS team
2009-01-16
Subaru Users' Meeting
34
2009-01-16
Subaru Users' Meeting
36
2009-01-16
Subaru Users' Meeting
37
Monitoring executions


Monitor actual or preparation observation
Sorry, no example yet
– Dynamic call graphs with history of completed
methods?
2009-01-16
Subaru Users' Meeting
38
Copyright 2007 by kakutani.com, CC-by-2.0, from a presentation by Kenji Hiranabe
Looking for ideas to

Prepare

– Plan sequences

– After international
conference in Kyoto?
Observe
– Execute and monitor
sequences
– Watch status of
instrument
– Review data obtained
2009-01-16
Tentative deadline:
late May, 2009


Discuss here, and
Send comments to
Tomono or Terada
Subaru Users' Meeting
40
今晩
飲みに行き
ませんか?
2009-01-16
Subaru Users' Meeting
41