Skip to content
Snippets Groups Projects
Select Git revision
  • c0d1c423741658ddf87516e4ac41993bc03e13a2
  • master default protected
  • 72-improve-docs-for_optimal_setup
  • os-path-join
  • develop-GA
  • add-higher-spindown-components
  • v1.3
  • v1.2
  • v1.1.2
  • v1.1.0
  • v1.0.1
11 results

semi_coherent_glitch_search_using_MCMC.py

Blame
    • Gregory Ashton's avatar
      89f200ed
      Renames sftfilepath -> sftfilepattern · 89f200ed
      Gregory Ashton authored
      This renames the input sftfilepath to sftfilepattern and adds
      documentation on how that should be used, i.e. a colon separated list of
      wildstring or exact matches. In globbing for all matches, the colon
      split is added in. sftfilepath is still used by `Writer` since
      an exact path is known.
      89f200ed
      History
      Renames sftfilepath -> sftfilepattern
      Gregory Ashton authored
      This renames the input sftfilepath to sftfilepattern and adds
      documentation on how that should be used, i.e. a colon separated list of
      wildstring or exact matches. In globbing for all matches, the colon
      split is added in. sftfilepath is still used by `Writer` since
      an exact path is known.
    transient_search_using_MCMC_make_simulated_data.py 585 B
    #!/usr/bin/env python
    
    import pyfstat
    
    F0 = 30.0
    F1 = -1e-10
    F2 = 0
    Alpha = 0.5
    Delta = 1
    
    minStartTime = 1000000000
    maxStartTime = minStartTime + 200*86400
    
    transient_tstart = minStartTime + 50*86400
    transient_duration = 100*86400
    tref = minStartTime
    
    h0 = 1e-23
    sqrtSX = 1e-22
    
    transient = pyfstat.Writer(
        label='simulated_transient_signal', outdir='data', tref=tref,
        tstart=transient_tstart, F0=F0, F1=F1, F2=F2, duration=transient_duration,
        Alpha=Alpha, Delta=Delta, h0=h0, sqrtSX=sqrtSX, minStartTime=minStartTime,
        maxStartTime=maxStartTime)
    transient.make_data()