Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WHIM
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Hossein Rafipoor
WHIM
Commits
138f2346
Commit
138f2346
authored
3 years ago
by
Hossein Rafipoor
Browse files
Options
Downloads
Patches
Plain Diff
changed the project name
parent
cccc5122
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
hmwt/biophysical_models.py
+1
-1
1 addition, 1 deletion
hmwt/biophysical_models.py
requirements.txt
+0
-0
0 additions, 0 deletions
requirements.txt
setup.py
+38
-0
38 additions, 0 deletions
setup.py
with
39 additions
and
1 deletion
hmwt/biophysical_models.py
+
1
−
1
View file @
138f2346
...
...
@@ -4,7 +4,7 @@ import scipy.stats as st
from
.
import
utils
class
BallStick
()
:
class
BallStick
:
def
__init__
(
self
,
n_sticks
,
bvals
,
bvecs
):
self
.
param_names
=
[
'
d
'
,
'
f_0
'
]
+
[
f
'
{
p
}
_
{
i
+
1
}
'
for
i
in
range
(
n_sticks
)
for
p
in
[
'
f
'
,
'
phi
'
,
'
theta
'
]]
self
.
bvals
=
bvals
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
+
0
−
0
View file @
138f2346
This diff is collapsed.
Click to expand it.
setup.py
0 → 100644
+
38
−
0
View file @
138f2346
#!/usr/bin/env python
"""
The setup script.
"""
from
setuptools
import
setup
,
find_packages
with
open
(
'
README.md
'
)
as
readme_file
:
readme
=
readme_file
.
read
()
with
open
(
'
requirements.txt
'
,
'
r
'
)
as
f
:
requirements
=
[
line
.
strip
()
for
line
in
f
.
readlines
()
if
len
(
line
.
strip
())
>
0
]
test_requirements
=
[
'
pytest
'
,
]
setup
(
author
=
"
Hossein Rafipoor, Michiel Cottaar, Saad Jbabdi
"
,
author_email
=
'
hossein.rafipoor@ndcn.ox.ac.uk
'
,
python_requires
=
'
>=3.6
'
,
classifiers
=
[
'
Programming Language :: Python :: 3
'
,
'
Programming Language :: Python :: 3.6
'
,
'
Programming Language :: Python :: 3.7
'
,
'
Programming Language :: Python :: 3.8
'
,
'
Programming Language :: Python :: 3.9
'
,
],
entry_points
=
{
'
console_scripts
'
:
[],
},
install_requires
=
requirements
,
long_description
=
readme
,
include_package_data
=
True
,
name
=
'
bench
'
,
packages
=
find_packages
(
include
=
[
'
hmwt
'
,
'
hmwt.*
'
]),
test_suite
=
'
hmwt.tests
'
,
tests_require
=
test_requirements
,
url
=
'
https://git.fmrib.ox.ac.uk/hossein/bench.git
'
,
version
=
'
0.0.1
'
,
)
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