Skip to content
Snippets Groups Projects
Select Git revision
  • 66fab6d0c9a3938bf6104a1a8e68378765b2fd84
  • 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

graphics2.cpp

Blame
  • fully_coherent_search_using_MCMC_on_glitching_data.py 963 B
    import numpy as np
    from pyfstat import MCMCSearch
    
    F0 = 30.0
    F1 = -1e-10
    F2 = 0
    Alpha = np.radians(83.6292)
    Delta = np.radians(22.0144)
    
    tref = 362750407.0
    
    tstart = 1000000000
    duration = 100*86400
    tend = tstart + duration
    
    theta_prior = {'F0': {'type': 'unif', 'lower': F0-1e-4, 'upper': F0+1e-4},
                   'F1': {'type': 'unif', 'lower': F1*(1+1e-3), 'upper': F1*(1-1e-3)},
                   'F2': F2,
                   'Alpha': Alpha,
                   'Delta': Delta
                   }
    
    ntemps = 2
    log10beta_min = -0.01
    nwalkers = 100
    nsteps = [500, 500]
    
    mcmc = MCMCSearch('fully_coherent_search_using_MCMC_on_glitching_data', 'data',
                      sftfilepattern='data/*_glitch*.sft',
                      theta_prior=theta_prior, tref=tref, minStartTime=tstart, maxStartTime=tend,
                      nsteps=nsteps, nwalkers=nwalkers, ntemps=ntemps,
                      log10beta_min=log10beta_min)
    mcmc.run()
    mcmc.plot_corner(add_prior=True)
    mcmc.print_summary()