Skip to content
Snippets Groups Projects
Select Git revision
  • e20b8273ddec3cd69bfb918b72b92d2f0c31da2b
  • master default protected
  • fix_Makefile.mingw#2
  • update_Makefile.mingw
  • fix_Makefile.mingw
  • fix_API_for_C_apps
  • fix_procinfo_mac
  • boinccmd_gpu_mode_always_until_sigterm
  • fgrp_osx_hotfix
  • fix_boinc_master@f8250782
  • eah_wrapper_improvements
  • diagnostics_win-hotfix
  • diagnostics_win-hotfix-old
  • current_fgrp_apps
  • testing_gw_apps
  • gw_app_darwin_15
  • current_brp_apps
  • current_brp_apps_android10
  • current_gfx_apps
  • current_server
  • current_gw_apps
  • previous_fgrp_apps
  • previous_gw_apps
  • testing_brp_apps
  • apps_FGRP3_1.07
  • apps_FGRP3_1.08
26 results

bmplib.cpp

Blame
  • glitch_robust_search_make_simulated_data.py 793 B
    import numpy as np
    import pyfstat
    
    outdir = 'data'
    label = 'simulated_glitching_signal'
    
    # Properties of the GW data
    tstart = 1000000000
    Tspan = 60 * 86400
    
    tref = tstart + .5 * Tspan
    
    # Fixed properties of the signal
    F0s = 30
    F1s = -1e-8
    F2s = 0
    Alpha = np.radians(83.6292)
    Delta = np.radians(22.0144)
    h0 = 1e-25
    sqrtSX = 1e-24
    psi = -0.1
    phi = 0
    cosi = 0.5
    
    # Glitch properties
    dtglitch = 0.45 * Tspan  # time (in secs) after minStartTime
    dF0 = 5e-6
    dF1 = 1e-12
    
    
    detectors = 'H1'
    
    glitch_data = pyfstat.Writer(
        label=label, outdir=outdir, tref=tref, tstart=tstart,
        F0=F0s, F1=F1s, F2=F2s, duration=Tspan, Alpha=Alpha,
        Delta=Delta, sqrtSX=sqrtSX, dtglitch=dtglitch,
        h0=h0, cosi=cosi, phi=phi, psi=psi,
        delta_F0=dF0, delta_F1=dF1, add_noise=True)
    
    glitch_data.make_data()