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
Show more breadcrumbs
David Keitel
PyFstat
Commits
19d367dd
Commit
19d367dd
authored
8 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Patches
Plain Diff
Fix bashplotlib dependency
Makes this an optional module, adds it to the requirements and README.md
parent
6090bd65
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
README.md
+4
-0
4 additions, 0 deletions
README.md
pyfstat/core.py
+1
-1
1 addition, 1 deletion
pyfstat/core.py
requirements.txt
+1
-0
1 addition, 0 deletions
requirements.txt
with
6 additions
and
1 deletion
README.md
+
4
−
0
View file @
19d367dd
...
@@ -49,8 +49,12 @@ $ git clone git@gitlab.aei.uni-hannover.de:GregAshton/PyFstat.git
...
@@ -49,8 +49,12 @@ $ git clone git@gitlab.aei.uni-hannover.de:GregAshton/PyFstat.git
*
[
emcee
](
http://dan.iel.fm/emcee/current/
)
*
[
emcee
](
http://dan.iel.fm/emcee/current/
)
*
[
corner
](
https://pypi.python.org/pypi/corner/
)
*
[
corner
](
https://pypi.python.org/pypi/corner/
)
*
[
dill
](
https://pypi.python.org/pypi/dill
)
*
[
dill
](
https://pypi.python.org/pypi/dill
)
*Optional*
*
[
tqdm
](
https://pypi.python.org/pypi/tqdm
)(
optional
)
, if installed, this
*
[
tqdm
](
https://pypi.python.org/pypi/tqdm
)(
optional
)
, if installed, this
provides a useful progress bar and estimate of the remaining run-time.
provides a useful progress bar and estimate of the remaining run-time.
*
[
bashplotlib
](
https://github.com/glamp/bashplotlib
)
, if installed, presents
a histogram of the loaded SFT data
For an introduction to installing modules see
For an introduction to installing modules see
[
here
](
https://docs.python.org/3.5/installing/index.html
)
. If you are using
[
here
](
https://docs.python.org/3.5/installing/index.html
)
. If you are using
...
...
This diff is collapsed.
Click to expand it.
pyfstat/core.py
+
1
−
1
View file @
19d367dd
...
@@ -249,7 +249,7 @@ class ComputeFstat(object):
...
@@ -249,7 +249,7 @@ class ComputeFstat(object):
from
bashplotlib.histogram
import
plot_hist
from
bashplotlib.histogram
import
plot_hist
print
(
'
Data timestamps histogram:
'
)
print
(
'
Data timestamps histogram:
'
)
plot_hist
(
SFT_timestamps
,
height
=
5
,
bincount
=
50
)
plot_hist
(
SFT_timestamps
,
height
=
5
,
bincount
=
50
)
except
I
O
Error
:
except
I
mport
Error
:
pass
pass
if
len
(
detector_names
)
==
0
:
if
len
(
detector_names
)
==
0
:
raise
ValueError
(
'
No data loaded.
'
)
raise
ValueError
(
'
No data loaded.
'
)
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
+
1
−
0
View file @
19d367dd
...
@@ -5,5 +5,6 @@ emcee
...
@@ -5,5 +5,6 @@ emcee
corner
corner
dill
dill
tqdm
tqdm
bashplotlib
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