Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyFstat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Pep Covas Vidal
PyFstat
Commits
ec9e1b5a
Commit
ec9e1b5a
authored
5 years ago
by
Reinhard Prix
Browse files
Options
Downloads
Patches
Plain Diff
updates for python3, improved setup.py using setuptools
parent
6a8e4c3b
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
pyfstat/grid_based_searches.py
+1
-1
1 addition, 1 deletion
pyfstat/grid_based_searches.py
setup.py
+21
-3
21 additions, 3 deletions
setup.py
tests.py
+0
-1
0 additions, 1 deletion
tests.py
with
22 additions
and
5 deletions
pyfstat/grid_based_searches.py
+
1
−
1
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
,
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
21
−
3
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
'
,
],
)
This diff is collapsed.
Click to expand it.
tests.py
+
0
−
1
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
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment