Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PyFstat
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gregory Ashton
PyFstat
Commits
ec9e1b5a
Commit
ec9e1b5a
authored
Jul 01, 2019
by
Reinhard Prix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates for python3, improved setup.py using setuptools
parent
6a8e4c3b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
5 deletions
+22
-5
pyfstat/grid_based_searches.py
pyfstat/grid_based_searches.py
+1
-1
setup.py
setup.py
+21
-3
tests.py
tests.py
+0
-1
No files found.
pyfstat/grid_based_searches.py
View file @
ec9e1b5a
...
...
@@ -12,7 +12,7 @@ import socket
import
numpy
as
np
import
matplotlib
import
matplotlib.pyplot
as
plt
from
scipy.
misc
import
logsumexp
from
scipy.
special
import
logsumexp
import
pyfstat.helper_functions
as
helper_functions
from
pyfstat.core
import
(
BaseSearchClass
,
ComputeFstat
,
...
...
setup.py
View file @
ec9e1b5a
#!/usr/bin/env python
from
distutils.core
import
setup
from
setuptools
import
setup
,
find_packages
from
os
import
path
here
=
path
.
abspath
(
path
.
dirname
(
__file__
))
# Get the long description from the README file
with
open
(
path
.
join
(
here
,
'README.md'
),
encoding
=
'utf-8'
)
as
f
:
long_description
=
f
.
read
()
setup
(
name
=
'PyFstat'
,
version
=
'0.2'
,
author
=
'Gregory Ashton'
,
author_email
=
'gregory.ashton@ligo.org'
,
packages
=
[
'pyfstat'
]
,
packages
=
find_packages
(
where
=
"pyfstat"
)
,
include_package_data
=
True
,
package_data
=
{
'pyfstat'
:
[
'pyCUDAkernels/cudaTransientFstatExpWindow.cu'
,
'pyCUDAkernels/cudaTransientFstatRectWindow.cu'
]},
)
install_requires
=
[
'matplotlib'
,
'scipy'
,
'ptemcee'
,
'corner'
,
'dill'
,
'tqdm'
,
'bashplotlib'
,
'peakutils'
,
'pathos'
,
'pycuda'
,
],
)
tests.py
View file @
ec9e1b5a
...
...
@@ -93,7 +93,6 @@ class par(Test):
label
=
'TestPar'
def
test
(
self
):
os
.
system
(
'mkdir {}'
.
format
(
self
.
outdir
))
os
.
system
(
'echo "x=100
\n
y=10" > {}/{}.par'
.
format
(
self
.
outdir
,
self
.
label
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment