Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/DiracInstitute/kbmod
Browse files Browse the repository at this point in the history
  • Loading branch information
PWhiddy committed Aug 9, 2017
2 parents 897efb1 + 3ad8924 commit e6cb1c0
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,15 @@ The packages required to run the code are:
* Scikit-learn
* Matplotlib
* Astropy
* Cuda 8.0
* CMake

## Setup

Clone the repo and from `bash` use

```
source setup.bash
```

To setup the GPU program, enter the directory `code/gpu/debug/` and use
```
source appendPath.bash
```
then build the executable with
```
./eraseRebuild.sh
```
the search parameters can be specified in `parameters.config`.

kdbmodGPU will launch the search
```
./kdbmodGPU
```
The results will be output to the file indicated in `parameters.config` and contains a list of starting pixels locations and velocities along with the estimated likelihood and flux for each trajectory.
Build the python module by running ```cmake ./``` followed by ```make``` from inside the search/pybinds folder

Then in the root directory run ```source setup.bash```
to append the library to the python path


## Example
Expand Down

0 comments on commit e6cb1c0

Please sign in to comment.