Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

17
SPOTTING RADIO TRANSIENTS WITH THE HELP OF GPUS Ben Barsdell Matthew Bailes Christopher Fluke David Barnes

Transcript of Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Page 1: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

SPOTTING RADIO TRANSIENTSWITH THE HELP OF GPUS

Ben BarsdellMatthew BailesChristopher FlukeDavid Barnes

Page 2: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Background

High Time Resolution Universe (HTRU) survey Uses the Parkes 64m radio telescope

Goal is to discover new pulsars and radio transients

Survey specs400 MHz BW @ 1381.8 MHz 1024 freq. channels64μs time resolution2-bit sampling

Page 3: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Event Multi-beam receiver

Incoherent dedispersion

Dedispersed time seriesD

M

Time Signal search

List of candidates

Masked dataFr

eq.

Time

RFI removal

Parkes

Filterbank dataFr

eq.

Time

Swinburne

Follow-upobservation

Page 4: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

The Plan

Current pipeline takes> 30 mins per 10 min observation Necessitates off-line processing Means transfers, tapes and long waits

Would like to speed things up to real-time Instant feedback and follow-up observations Triggered baseband data dumps

How to do it? Time to bring out the heavy artillery…

Page 5: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

The GPU

Page 6: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Event Telescope receiver beams

Filterbank dataFr

eq.

Time

Incoherent dedispersion

Dedispersed time seriesD

M

Time Signal search

List of candidates

Masked dataFr

eq.

Time

RFI removal

Parkes

Swinburne

Follow-upobservation

Page 7: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

The detection pipeline Incoherent

dedispersion

RFI mitigation

Baseline removal

Sigma clip

Report candidates

RFI mitigation

Fourier transformFourier search

Harmonic summingMatched filter

Single pulse search

Page 8: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

RFI mitigation

Interference is a big problem No easy solution

Military radar too important Prime-time TV too popular

Some things can be done Sigma clipping Spectral kurtosis Coincidence rejection

www.clker.com

Page 9: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Coincidence rejection

Use multi-beam receiver as reference antennas Assume RFI is not localised

Apply simple coincidence criteria: E.g., 3σ in 4+ beams => RFI

Or use Eigen-decomposition approach Run on GPU as a straightforward transform

RFI_mask[i] = is_RFI(multibeam_data[i]) Note: Eigen-decomp method makes is_RFI() trickier

Page 10: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Dedispersion

Radiosource

Broadband signalFr

eque

ncy

(MH

z)

Phase

Dispersed signal

Phase

Freq

uenc

y (M

Hz)

Unknown distance => search through DM space Pick DM, dedisperse, search, repeat

~1200 DM trials

e-

ISM

?

Page 11: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Dedispersion

Computationally intensive problem Biggest time-consumer

Runs really well on a GPU Lots of parallelism High arithmetic intensity Good memory access patterns No branching

Page 12: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Other algorithms

Baseline removal Subtract running mean Port to GPU using parallel prefix sum

Matched filtering Convolve with 1D boxcar Can also use parallel prefix sum

Sigma cut + peak find Threshold and segment Port to GPU using segmented reduction

Page 13: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

GPU dedispersion

Page 14: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Preliminary results

Dedispersion: 20 mins < 2.5 mins Using ‘direct’ method on 1 Tesla C2050 GPU Time-binning gives further 2x speed-up Details in Barsdell et al. 2012

Other algorithms mostly complete 1 beam / GPU should be easy

2 beams / GPU within reach?

Page 15: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Software/hardware configuration

1

2

3

4

.

.

.

Recv beam Dedisperse Send DMs Recv beams

Recv beams

Recv beams

Recv beams

Send DMs

.

.

.

.

.

.

.

.

.

Continue…

.

.

.

Process Operation

Page 16: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Deployment

Destined for Parkes Real-time results RFI ‘weather report’

Page 17: Ben Barsdell Matthew Bailes Christopher Fluke David Barnes.

Ben Barsdell - ADASS 2011

Looking ahead

Real-time radio transient detection promises to Simplify the data processing procedure Enable immediate follow-up observations Allow capture of high-resolution baseband data for

significant events Catch things like the ‘Lorimer burst’ as they happen!