Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Python 3 #3

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Commits on Feb 4, 2020

  1. The following changes made:

    1. Modify pulsar.py to add orbital degradation factor as an attribute to each pulsar object (orb_degfac).
    2. Modify survey.py to record the snr for each pulsar object in its pulsar.snr attribute.
    NihanPol committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    6dd1f6a View commit details
    Browse the repository at this point in the history
  2. Add gitignore and fix typo

    NihanPol committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    18efd05 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b215675 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a59b31a View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Configuration menu
    Copy the full SHA
    477412c View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

  1. Configuration menu
    Copy the full SHA
    b194af9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f776e63 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29526f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cee53e3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e49a007 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a481d00 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b389783 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3aa8c36 View commit details
    Browse the repository at this point in the history
  9. Explicitly make all initial strings as byte strings since this is not…

    … done implicitly in Py3.xx
    NihanPol committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    69b85c7 View commit details
    Browse the repository at this point in the history
  10. Fix another instance of explicitly setting strings to dtype=bytes sin…

    …ce Py3.xx does not do this implicitly
    NihanPol committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    899119c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2b6f172 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8982511 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2020

  1. Configuration menu
    Copy the full SHA
    394537b View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

  1. Add orbital parameters to the Pulsar object. These include:

    m1 -> mass of psr
    m2 -> mass of companion
    om -> angle of periastron passage (omper)
    inc -> inclination of BNS system
    ec -> eccentricity of BNS
    pod -> orbital period of BNS
    m -> harmonic at which power is computed
    
    Consequently, added functionality for Population object to hold the ranges of the BNS orbital parameters.
    
    populate.generate() now draws uniformly from the range of orbital parameters supplied by the user (as a dictionary).
    nspol committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    32567b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2020

  1. fix gpsfrac == NoneType issue

    cannot compare float to NoneType in Python3. changed gpsargs to [-1, -1] from [-1, None] so that condition evaluates to true for default case.
    NihanPol authored Jun 2, 2020
    Configuration menu
    Copy the full SHA
    609a3e2 View commit details
    Browse the repository at this point in the history
  2. change gpsfrac to -1 from None

    cannot compare floats to NoneType in py3. change gpsfrac to -1 so that default behavior is satisfied.
    NihanPol authored Jun 2, 2020
    Configuration menu
    Copy the full SHA
    953e18d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f8a328c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e414296 View commit details
    Browse the repository at this point in the history