Skip to content

leveche/progentool

 
 

Repository files navigation

Progenitor Search Tool

Query input format

Also see sample_query.txt

1               # 0: Neutron Star or 1: Black Hole
0.0,8.0         # Donor Mass Range (Msol)
6.0,14.0        # Accretor Mass Range (Msol)
-15.0,-4.0      # log10(MT Rate) Range (Msol/yr)
0.0,100000.0    # Orbital Period Range (days)
3.0,5.0         # log10(Donor Effective Temperature) Range (K)

Enter the quantities in order, if you don't have error estimates for a quantity, enter limits that span the entire range of possible values.

Run from command line

Export the path to the track files as DB_LOCATION environment variable. The path to query file is the first command line argument, as follows:

 DB_LOCATION='/path/to/database/' ./progenlib.py ./sample_query.txt

Run the telegram tool in a container

podman run --name progentool --restart unless-stopped \
    -v /path/to/database:/srv/progen_tool \
    -e TELEGRAM_TOKEN=$(</path/to/saved/telegram/token) \
    progentool

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%