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

PyFstat

  • Clone with SSH
  • Clone with HTTPS
  • gregory.ashton's avatar
    Gregory Ashton authored
    If an initialisation step is callled, the sampler runs the simulations
    for nsteps and selects the point with the highest lnprobability from
    which to restart the simulations. Previously, only the last step was
    used. In this update all steps are used and a message is printed to
    allow the user to determine if the selected point is appropriate.
    a94d215e
    History

    PyFstat

    This is a python package containing basic wrappers of the lalpulsar module with capabilities to perform a variety of searches, primarily focussing on semi-coherent glitch searches.

    Examples

    All examples can be run from their source scripts in examples, or for each example there is descriptive documentation:

    Installation

    The script can be installed system wide via

    python setup.py install

    or simply add this directroy to your python path

    Ephemeris installation

    The scripts require a path to ephemeris files in order to use the lalpulsar.ComputeFstat module. This can either be specified when initialsing each search, or more simply by playing a file ~/pyfstat.conf in your home directory which looks like

    earth_ephem = '/home/<USER>/lalsuite-install/share/lalpulsar/earth00-19-DE421.dat.gz'
    sun_ephem = '/home/<USER>/lalsuite-install/share/lalpulsar/sun00-19-DE421.dat.gz'

    where this uses the default ephemeris files provided with lalsuite.

    Dependencies

    • swig-enabled lalpulsar, a minimal configuration is given by
    ./configure --prefix=${HOME}/lalsuite-install --disable-all-lal --enable-lalpulsar --enable-lalapps --enable-swig
    1. Most easily installed using either conda or pip 2 3