dfdanax.blogg.se

Root jupyter notebook tutorial
Root jupyter notebook tutorial






root jupyter notebook tutorial
  1. #Root jupyter notebook tutorial how to#
  2. #Root jupyter notebook tutorial series#
  3. #Root jupyter notebook tutorial download#

That's OK, because GW150914 only has detectable frequency content in the range 20 Hz - 300 Hz. The sample rate is fs = 4096 Hz (2^12 Hz), so the data cannot capture frequency content above the Nyquist frequency = fs/2 = 2048 Hz. That's OK, because the noise is so high below fmin that LIGO cannot sense gravitational wave strain from astrophysical sources in that band. NOTE that we only plot the data between fmin = 10 Hz and fmax = 2000 Hz.īelow fmin, the data are not properly calibrated. max () print 'In both H1 and L1, all 32 seconds of data are present (DATA=1), ' print "and all pass data quality (CBC_CAT1=1 and CBC_CAT2=1)." max () bits = chan_dict_L1 print 'L1 CBC_CAT2: len, min, mean, max = ', len ( bits ), bits. max () bits = chan_dict_L1 print 'L1 CBC_CAT1: len, min, mean, max = ', len ( bits ), bits.

root jupyter notebook tutorial

max () bits = chan_dict_L1 print 'L1 DATA: len, min, mean, max = ', len ( bits ), bits. max () bits = chan_dict_H1 print 'H1 CBC_CAT2: len, min, mean, max = ', len ( bits ), bits. max () bits = chan_dict_H1 print 'H1 CBC_CAT1: len, min, mean, max = ', len ( bits ), bits. max () #What's in chan_dict? See bits = chan_dict_H1 print 'H1 DATA: len, min, mean, max = ', len ( bits ), bits. max () print 'strain_L1: len, min, mean, max = ', \ max () print 'strain_H1: len, min, mean, max = ', \ # First, let's look at the data and print out some stuff: # this doesn't seem to work for scientific notation: # np.set_printoptions(precision=4) print ' time_H1: len, min, mean, max = ', \ Note that the the 4096 second long files at 16384 Hz sampling rate are fairly big files (125 MB).

  • the filetype "hdf5" means the data are in hdf5 format:.
  • NOTE: GPS time is number of seconds since GMT.
  • the "V1" means version 1 of this data release.
  • the " 4" means the strain time-series data are (down-)sampled from 16384 Hz to 4096 Hz.
  • "H-H1" means that the data come from the LIGO Hanford Observatory site and the LIGO "H1" datector.
  • Don't mix any other LOSC data files in this directory, or readligo.py may get confused.
  • Put these files in your current directory / folder.
  • From a unix/mac-osx command line, you can use wget for example,.
  • root jupyter notebook tutorial

    #Root jupyter notebook tutorial download#

  • Download the python functions to read the data:.
  • We will use the hdf5 files, both H1 and L1, with durations of seconds around GW150914, sampled at 163 Hz :.
  • If you are a beginner, here are some resources from the web: This is a vast and complex set of topics, but we will cover many of the basics in this tutorial. This includes power spectral densities, spectrograms, digital filtering, whitening, audio manipulation.

    #Root jupyter notebook tutorial series#

    This tutorial assumes that you know a bit about signal processing of digital time series data (or want to learn!). Else, you can use the GW150914_tutorial.py script.

    #Root jupyter notebook tutorial how to#

    If you know how to use "ipython notebook", use the GW150914_tutorial.ipynb file. This tutorial assumes that you know python well enough. Questions, comments, suggestions, corrections, etc: email to signal processing ¶ On Windows, or if you prefer, you can use a python development environment such as Anaconda ( ) or Enthought Canopy ( ).

    root jupyter notebook tutorial

    You will need the python packages: numpy, scipy, matplotlib, h5py. Or you can run the python script GW150914_tutorial.py. To begin, download the ipython notebook, readligo.py, and the data files listed below, into a directory / folder, then run it.

  • Download the tutorial as iPython Notebook.
  • Download the tutorial as a python script.
  • Welcome! This ipython notebook (or associated python script GW150914_tutorial.py ) will go through some typical signal processing tasks on strain time-series data associated with the LIGO GW150914 data release from the LIGO Open Science Center (LOSC): SIGNAL PROCESSING WITH GW150914 OPEN DATA ¶








    Root jupyter notebook tutorial