Hands-on session on timing analysis

Similar documents
A Matlab toolbox for. Characterisation Of Recorded Underwater Sound (CHORUS) USER S GUIDE

PulseCounter Neutron & Gamma Spectrometry Software Manual

Department of Electrical & Electronic Engineering Imperial College of Science, Technology and Medicine. Project: Real-Time Speech Enhancement

Signal Stability Analyser

Removing the Pattern Noise from all STIS Side-2 CCD data

PS User Guide Series Seismic-Data Display

Tempo and Beat Analysis

Supplemental Material for Gamma-band Synchronization in the Macaque Hippocampus and Memory Formation

Upgrading E-learning of basic measurement algorithms based on DSP and MATLAB Web Server. Milos Sedlacek 1, Ondrej Tomiska 2

A NEW LOOK AT FREQUENCY RESOLUTION IN POWER SPECTRAL DENSITY ESTIMATION. Sudeshna Pal, Soosan Beheshti

BitWise (V2.1 and later) includes features for determining AP240 settings and measuring the Single Ion Area.

Interface Practices Subcommittee SCTE STANDARD SCTE Measurement Procedure for Noise Power Ratio

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

Quartzlock Model A7-MX Close-in Phase Noise Measurement & Ultra Low Noise Allan Variance, Phase/Frequency Comparison

CSC475 Music Information Retrieval

Crash Course in Digital Signal Processing

Vibration Measurement and Analysis

Lab experience 1: Introduction to LabView

The Effect of Time-Domain Interpolation on Response Spectral Calculations. David M. Boore

Getting Started. Connect green audio output of SpikerBox/SpikerShield using green cable to your headphones input on iphone/ipad.

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer

Digital Delay / Pulse Generator DG535 Digital delay and pulse generator (4-channel)

2. AN INTROSPECTION OF THE MORPHING PROCESS

Collection of Setups for Measurements with the R&S UPV and R&S UPP Audio Analyzers. Application Note. Products:

Getting Started with the LabVIEW Sound and Vibration Toolkit

Tutorial FITMASTER Tutorial

3-D position sensitive CdZnTe gamma-ray spectrometers

White Noise Suppression in the Time Domain Part II

Audio-Based Video Editing with Two-Channel Microphone

LabView Exercises: Part II

Realizing Waveform Characteristics up to a Digitizer s Full Bandwidth Increasing the effective sampling rate when measuring repetitive signals

SigPlay User s Guide

Assessing and Measuring VCR Playback Image Quality, Part 1. Leo Backman/DigiOmmel & Co.

BEAMAGE 3.0 KEY FEATURES BEAM DIAGNOSTICS PRELIMINARY AVAILABLE MODEL MAIN FUNCTIONS. CMOS Beam Profiling Camera

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series

UNIVERSITY OF BAHRAIN COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING

Please feel free to download the Demo application software from analogarts.com to help you follow this seminar.

The Measurement Tools and What They Do

1 Ver.mob Brief guide

Noise. CHEM 411L Instrumental Analysis Laboratory Revision 2.0

QSched v0.96 Spring 2018) User Guide Pg 1 of 6

Citation X-Ray Spectrometry (2011), 40(6): 4. Nakaye, Y. and Kawai, J. (2011), ED

Implementation of Real- Time Spectrum Analysis

Precise Digital Integration of Fast Analogue Signals using a 12-bit Oscilloscope

Using tapers at the beginning and end of the time series to which pads will be added before filtering

New Filling Pattern for SLS-FEMTO

EDDY CURRENT IMAGE PROCESSING FOR CRACK SIZE CHARACTERIZATION

Pitch. The perceptual correlate of frequency: the perceptual dimension along which sounds can be ordered from low to high.

Electrospray-MS Charge Deconvolutions without Compromise an Enhanced Data Reconstruction Algorithm utilising Variable Peak Modelling

LAB 1: Plotting a GM Plateau and Introduction to Statistical Distribution. A. Plotting a GM Plateau. This lab will have two sections, A and B.

Pre-processing of revolution speed data in ArtemiS SUITE 1

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

Spectrum Analyser Basics

MAutoPitch. Presets button. Left arrow button. Right arrow button. Randomize button. Save button. Panic button. Settings button

StaMPS Persistent Scatterer Practical

What is new in UNIFIT 2018?

Signal to noise the key to increased marine seismic bandwidth

Goals of tutorial. Introduce NMRbox platform

Practicum 3, Fall 2010

MestReNova A quick Guide. Adjust signal intensity Use scroll wheel. Zoomen Z

AN ARTISTIC TECHNIQUE FOR AUDIO-TO-VIDEO TRANSLATION ON A MUSIC PERCEPTION STUDY

NENS 230 Assignment #2 Data Import, Manipulation, and Basic Plotting

Digital Image and Fourier Transform

Music Source Separation

Simple Harmonic Motion: What is a Sound Spectrum?

POST-PROCESSING FIDDLE : A REAL-TIME MULTI-PITCH TRACKING TECHNIQUE USING HARMONIC PARTIAL SUBTRACTION FOR USE WITHIN LIVE PERFORMANCE SYSTEMS

The BAT WAVE ANALYZER project

Pole Zero Correction using OBSPY and PSN Data

Introduction. Edge Enhancement (SEE( Advantages of Scalable SEE) Lijun Yin. Scalable Enhancement and Optimization. Case Study:

Electrical and Electronic Laboratory Faculty of Engineering Chulalongkorn University. Cathode-Ray Oscilloscope (CRO)

Reconstruction of Ca 2+ dynamics from low frame rate Ca 2+ imaging data CS229 final project. Submitted by: Limor Bursztyn

A Parametric Autoregressive Model for the Extraction of Electric Network Frequency Fluctuations in Audio Forensic Authentication

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

Advanced Techniques for Spurious Measurements with R&S FSW-K50 White Paper

Ver.mob Quick start

EFA-200, EFA-300 Field Analyzers

Audio Compression Technology for Voice Transmission

VLA-VLBA Interference Memo No. 15

Single Channel Speech Enhancement Using Spectral Subtraction Based on Minimum Statistics

For the SIA. Applications of Propagation Delay & Skew tool. Introduction. Theory of Operation. Propagation Delay & Skew Tool

UNIT-3 Part A. 2. What is radio sonde? [ N/D-16]

Lab P-6: Synthesis of Sinusoidal Signals A Music Illusion. A k cos.! k t C k / (1)

Analysis, Synthesis, and Perception of Musical Sounds

Figure 1: Feature Vector Sequence Generator block diagram.

CESR BPM System Calibration

TESLA FEL-Report

Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module

Laboratory Assignment 3. Digital Music Synthesis: Beethoven s Fifth Symphony Using MATLAB

Fast Ethernet Consortium Clause 25 PMD-EEE Conformance Test Suite v1.1 Report

What s New in Raven May 2006 This document briefly summarizes the new features that have been added to Raven since the release of Raven

Pseudorandom Stimuli Following Stimulus Presentation

BTV Tuesday 21 November 2006

Swept-tuned spectrum analyzer. Gianfranco Miele, Ph.D

Linrad On-Screen Controls K1JT

EDL8 Race Dash Manual Engine Management Systems

StaMPS Persistent Scatterer Exercise

PHGN 480 Laser Physics Lab 4: HeNe resonator mode properties 1. Observation of higher-order modes:

Audio Processing Exercise

Broadcast Television Measurements

R&S FSV-K40 Phase Noise Measurement Application Specifications

Transcription:

Amsterdam 2010 Hands-on session on timing analysis Introduction During this session, we ll approach some basic tasks in timing analysis of x-ray time series, with particular emphasis on the typical signals found in the data from Black-Hole Binaries. This document is simply meant to provide rather general guidelines and is not intended to be exhaustive. Some warm-up exercise Before jumping to the data, let us start with some simple simulation. First we should take care of some initialization. In order to start the ISIS/SITAR session, you should load the module ()=evalfile("sitar.sl"); Make sure you are running the.isisrc files used in the C-ray analysis part of the school, i.e. that you are loading.isisrc_conf.isisrc_data.isisrc_fitfun.isisrc_flux.isisrc_plots Let us simulate a periodic sinusoidal curve; the commands should be self-explaining variable ti, th, co, omega, period; (ti,th)=linear_grid(0,16,1024*16); % 1024*16 time points from 0 to 16s period = 0.01; % our period is 1/100 s omega=2.*3.14159/period; co=10+sin(omega*ti); plot(ti,co); xrange(0,1); plot(ti,co); % trivial sinusoid plus a constant % have a look % have a meaningful look This is not a serious signal: let us add some Gaussian noise, zero average, unit variance co=co+grand(1024*16); We now produce a power spectrum of our signal co, using intervals of 1024*16 length (i.e. only one interval), 1/1024 is the time resolution and ti is the time array (f,pa,na,ctsa) = sitar_avg_psd(co,1024*16,1./1024,ti); Outputs are frequency array f, power array pa, number of intervals averaged na (in this case 1), and average intensity ctsa of the co signal. Without looking, you should be able to guess the first and last values of f and its number of elements. In other words: what is the minimum frequency, what the maximum frequency and how many frequencies do you have? What is the Hands-on session on timing analysis 1

frequency resolution of your power spectrum? You can examine the nth element of an array with print(f[n]). Arrays start from 0. Plotting the power spectrum should show a peak at 100 Hz xlabel("frequency (Hz)\n"); ylabel("psd\n"); xrange; xlog; ylog; % xrange resets the x range to automatic plot(f,pa); The rest is noise. We are not dealing with counting noise here (we simply added some additional noisy signal), so we should not be concerned with the normalization. If you go on a linear frequency axis (xlin) and zoom on the peak at 100 Hz with xrange, you can see that the peak has a width: you should know how broad it is even without looking. Let us try to reduce the length of the time series by splitting it into shorter intervals (16 intervals of 1 second each) and averaging the resulting power spectra (f,pa,na,ctsa) = sitar_avg_psd(co,1024,1./1024,ti); What are now the minimum and maximum frequency? How broad is the peak now? The signal we played with until now is too good. Try increasing the amount of noise (for instance, its variance) and see whether you can still detect the signal. It is instructive to have a visual look at the light curves as well: Fourier analysis is a very powerful technique and can pick up signals that are completely invisible by eye. Before moving to the real data, play with signals for a bit and get a feeling of what you can do with just a simple power spectrum commend such as sitar_avg_psd. Try two sinusoids at different periods, harmonically related or not Add a phase shift to the sinusoid(s) and compare power spectra Try some weird combination of signal and noise The available data We have selected four RossiXTE data sets to cover typical examples. In order to allow the students to concentrate upon the timing analysis aspect of the work, we have made available already extracted binned light curves for the four cases: bln.lc - An observation of Cygnus X-1 in its Low-Hard State. The short-term time variability is dominated by a number of strong band-limited noise components. typec.lc - An observation of XTE J550-564 in its Hard Intermediate State. Here, a strong nd narrow Quasi-Periodic Oscillation, with typical frequencies between 1 and 10 Hz is present, together with band-limited noise. The QPO has additional harmonic peaks. typeb.lc - An observation of GX 339-4 in its Soft Intermediate State. The power density spectrum is dominated by the presence of a strong 4-8 Hz QPO, accompanied by a power-law noise. The QPO has additional harmonic peaks and jitters on a time scale of ~10 seconds. Hands-on session on timing analysis 2

hfqpo.lc - An observation of GRS 1915+105 where a high-frequency QPO is detected. These oscillations are weak and elusive. This is the best case ever, so that detection should not prove to be a problem. Some initialization In order to start the ISIS/SITAR session, remember to load the modules ()=evalfile("sitar.sl");.isisrc_conf.isisrc_data.isisrc_fitfun.isisrc_flux.isisrc_plots and declare some convenient variables. This is needed for any of the four datasets variable ta,ca,pa,na,ctsa,f,cts,aflo,afhi,apsd,nf; Low-Hard State Before moving to the frequency domain with a power spectrum, let us have a look at the raw data and see what the light curve looks like. The time resolution of this curve is 1.953125 ms, corresponding to 512 bins per second. The total length is 3634 seconds, just over one hour. We can load the data and convert the number of counts to integer (to speed up the FFT and save space) with (ta,ca) = fits_read_col("bln.lc","time","counts"); ca = typecast(ca,integer_type); Time to plot your light curve xlabel("time (sec)"); ylabel("counts"); plot_bin_integral; xlin; ylin; xrange; yrange; plot(ta-ta[0],ca); Difficult to see much at this high time resolution. Zooming on the first 10 seconds xrange(0,10); reveals some structure, but there are so few counts in each bin that one can see the jumps between integers. At any rate, the data are quite variable, as expected. Let move to the frequency domain and produce a PDS: we ll calculate a PDS for each 16s interval, then average the PDS together (f,pa,na,ctsa) = sitar_avg_psd(ca,8192,1./2^9,ta); Hands-on session on timing analysis 3

here ca is the time series, 8192 is the number of points per data interval (i.e. 16 seconds at 512 pps), 1./2^9 is the time resolution and ta are the times for the bins, so that gaps can be taken care of. There should not be any gap here. Plotting the PDS is not particularly enlightening xlabel("frequency (Hz)\n"); ylabel("psd\n"); xrange; % remember we limited the X axis between 0 and 10 plot(f,pa); Plotting in loglog seems to be a much better idea xlog; ylog; plot(f,pa); Some rebinning is in order. A logarithmic rebinning with a factor of 1%, meaning that each frequency bin is 1% broader than the previous one, leads to a much more satisfying result (aflo,afhi,apsd,nf) = sitar_lbin_psd(f,pa,0.01); hplot(aflo,afhi,apsd); The flattening at high frequencies is due to the Poissonian noise, which should be at an average level of 2 but is modified (lowered) by the effects of detector dead time. The two possible courses to follow in order to remove it from the data are to estimate it through the available models or to fit it with a constant value. Then subtract (see below). Just to have a look, let us pretend it is exactly at 2 and subtract it dumpsd = apsd - 2.0; hplot(aflo,afhi,dumpsd); The full shape of the PDS is now clearly visible. We must fit this PDS with a suitable model in order to extract useful information. First we must assign the PDS as a fittable set, with errors (power/sqrt(number of average) variable id = sitar_define_psd(aflo,afhi,apsd,apsd/sqrt(na*nf)); If needed, we can restrict the fittable part of the PDS to a range of frequencies, say 0.1 to 100 Hz xnotice_en(id,0.1,100); Here it is not really needed. Now we define a suitable model for the fit as a constant (for the Poisson noise) and two zero-centered Lorentzians for the source intrinsic noise fit_fun("constant(1)+zfc(1)+zfc(2)"); set_par("constant(1).factor",1.99); notice the value lower than 2 set_par("zfc(1).norm",100); set_par("zfc(1).f",8); set_par("zfc(2).norm",50); set_par("zfc(2).f",0.8); Now we can rem=normalize to the integral, to help the fit, and try a fit Hands-on session on timing analysis 4

() = renorm_counts; () = fit_counts; Looking at the parameters gives some impression, but the reduced chi square is still high list_par; We need to plot the fit to see how we are faring. First setting (laboriously) some variables set_plot_widths(;d_width=3, r_width=3, m_width=3, de_width=1,re_width=1); set_frame_line_width(3); charsize(1.12); fancy_plot_unit("psd","psd_leahy"); popt.dsym=0; popt.dcol=4; popt.decol=5; popt.rsym=0; popt.rcol=4; popt.recol=5; popt.xrange={0.05,256}; popt.res=1; X range: not necessary, but you can see how we do it Plot also residuals and then plot the resulting fit plot_counts(id,popt); In case you wanted to save it as a ps file, you can do this variable pid = open_print("my_first_pds.ps/vcps"); resize(21,0.85); your first PDS must look good plot_counts(id,popt); close_print(pid,"gv"); The fit was not very good, but we will deal with that later. For now, let us be content with the result and estimate some error on the parameters (,) = conf_loop([1:5];save,prefix="first_bln."); () = system("more first_bln.save"); In case you want to start from scratch, you can delete all data and restart delete_data(all_data); Now you can try to do more. For instance: Add another zero-centered Lorentzian component to the fit and see if it gets any better. Hands-on session on timing analysis 5

Difficult to see how the model is doing even with the residuals. You can restrict the fit to the high frequency part, say above 100 Hz, where Poissonian noise dominates, fit with a constant, then subtract it from your data and go on without Poissonian noise. Produce power spectra extending to lower frequencies to see how the noise flattens. Can you also extend it to higher frequencies? Divide the data in more than one segment and see whether there are differences between the segments. Can you calculate the integrated fractional rms of the different components? What do you need to do that? Type-C Quasi-Periodic Oscillation Here you encounter a low-frequency QPO in addition to band-limited noise. Extract the light curve and have a look. Does it look any different from the previous one? Extract the power spectrum and see the QPO. How many noise components and how many QPO peaks do you think you will need? Always better to start with an underestimate and add as you go. The model to use for a QPO is, not surprisingly, qpo. Its parameters are norm, Q and f. They correspond to normalization, quality factor (centroid divided by FWHM of the peak) and centroid frequency. Do you see any differences in PDS taken at different times? Can you calculate the integrated fractional rms of the different components? What do you need to do that Type-B Quasi-Periodic Oscillation Yet another low-frequency QPO on top of some power-law noise Extract the light curve, as usual. Do you see some section which is different from the others? Produce the power spectrum and have a look. Does the peak look like a Lorentzian? Try fitting. You can use a powerlaw (model powerlaw) for the continuum. See whether this is sufficient. Does a Lorentzian model work for the QPO? You might want to try a gaussian (gaussian). Extract a power spectrum from the first 120 seconds of observation. What does the QPO look like here? Compare it with any other 120 s interval. Try to follow the QPO on higher time scales, a few seconds. Again, fractional rms of the components. High-frequency Quasi-Periodic Oscillation Here we move to higher energies. The source, GRS 1915+105, is also pretty weird. A light curve will produce some interesting plots. Produce a power spectrum and concentrate on frequencies above 10 kev, away from the messy part. That s where the important signal lies. Hands-on session on timing analysis 6

Fit the HFQPO and get its parameters. Is it significant? At what confidence level? How strong (in fractional rms) is the oscillation? Hands-on session on timing analysis 7