stoa script tracking for observational astronomy · stoa - worktables •stoa allows access to a...

15
STOA – Script Tracking for Observational Astronomy Peter Hague - University of Cambridge 1 H2020-Astronomy ESFRI and Research Infrastructure Cluster (Grant Agreement Number: 653477). H2020-Astronomy ESFRI and Research Infrastructure Cluster (Grant Agreement number: 653477).

Upload: others

Post on 26-Jul-2020

16 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

STOA – Script Tracking for Observational

AstronomyPeter Hague - University of Cambridge

1

H2020-Astronomy ESFRI and Research Infrastructure Cluster

(Grant Agreement Number: 653477).

H2020-Astronomy ESFRI and Research

Infrastructure Cluster (Grant

Agreement number: 653477).

Page 2: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

My OBELICS Goals

• WP 3.3 D-INT (Data integration) - Development of STOA to provide workflow system for current and future projects

• WP 3.4 D-ANA (Data analysis) – Next generation source finding and characterisation for radio astronomy - BaSC

2

Page 3: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

Progress

Source

matching

Source

findingBaSC

STOA

Paper

VO

service?

Now

Leads to

Page 4: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

BaSC - Background

4

https://www.astromatic.net/pubsvn/software/sextractor/trunk/doc/sextractor.pdf

From the SExtractor manual:

Page 5: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

BaSC - Background

5

Each pair of antennas gives a componentof the Fourier transform of the sky brightness

Use many antennas to get good coverage…

And invert it to get a map of the sky

Page 6: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

BaSC - Background

• Missing information causes a complicated points spread function (PSF)

• Two possible approaches – deal with it as is, or try to reprocess the image to make it look friendlier

• The latter approach exemplified by the CLEAN algorithm

Page 7: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

BaSC

• BaSC is a Bayesian method of finding the sources in a dirty map.

• Uses a likelihood function proven correct for the visibilities (even though for speed it works on the map)

• An efficient MCMC process with variable model size

• Available at http://www.github.com/petehague/BASC

• Contact me if you need help!

Page 8: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

BaSC - Comparison

8

Dirty CLEANed

Should not be there!

Page 9: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

BaSC - Comparison

9

vs. CLEAN+SExtractor 40x difference in flux

Hague et al in preparation

Point source discrimination

Page 10: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

STOA - Background

• BaSC and other projects required batch operations on ALMA archive

• STOA emerged from my efforts to streamline and automate these operations

• Now a standalone web application: https://github.com/petehague/stoa

Page 11: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

STOA - Workflows

products.py

kernel.py

sourcefind.py cutouts.py

CWL

A B

B requires output of A

Page 12: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

STOA - Worktables

• Each row is an execution of the workflow

• Changing inputs automatically triggers a minimal recomputation of the outputs

• Software tracks status (e.g. if currently shown outputs correspond to inputs or if new outputs are pending)

• Can connect worktables in relational style; automatically triggering recomputation

* Hidden fields – tracking processing status etc.

Inputs Outputs*

Page 13: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

STOA - Worktables

• STOA allows access to a worktable as Owner, Collaborator, and Reader.

• Owner can initiate computation, collaborator can flag rows and add comments, and reader sees worktable as a simple read only table

• Objective is to use worktables to generate data to be served through VO

• Currently provides facilities for web access, downloading as in fits format, or SAMP bridging to push to TOPCAT (a bit flaky)

Page 14: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

STOA - Provenance

Provenance recorded by keeping workflow

with data

Existing provenance standards

?

Page 15: STOA Script Tracking for Observational Astronomy · STOA - Worktables •STOA allows access to a worktable as Owner, Collaborator, and Reader. •Owner can initiate computation, collaborator

Summary

BaSC

Advanced source detection for interferometers https://www.github.com/petehague/BASC

STOA

Workflows + tables = worktableshttps://www.github.com/petehague/STOA

Contact: [email protected]