lcmodel-wrapper 0.1.0__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lcmodel_wrapper
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Python wrapper for LCModel MRS fitting
5
5
  Author-email: Julian Merkofer <j.p.merkofer@tue.nl>
6
6
  License: MIT
7
- Project-URL: Homepage, https://github.com/yourusername/PyLCModel
8
- Project-URL: Repository, https://github.com/yourusername/PyLCModel
7
+ Project-URL: Homepage, https://github.com/julianmer/PyLCModel
8
+ Project-URL: Repository, https://github.com/julianmer/PyLCModel
9
9
  Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: numpy>=1.22
@@ -30,6 +30,11 @@ Requires-Dist: fsl_mrs>=2.1.0
30
30
 
31
31
  ## Installation
32
32
 
33
+ ### From PyPI
34
+ ```bash
35
+ pip install lcmodel-wrapper
36
+ ```
37
+
33
38
  ### From Source
34
39
  ```bash
35
40
  git clone https://github.com/julianmer/PyLCModel.git
@@ -37,20 +42,15 @@ cd PyLCModel
37
42
  pip install -e .
38
43
  ```
39
44
 
40
- ### From PyPI *(once published)*
41
- ```bash
42
- pip install lcmodel
43
- ```
44
-
45
45
  ---
46
46
 
47
47
  ## Getting Started
48
48
 
49
49
  ```python
50
- from lcmodel_wrapper import LCModel
50
+ from lcmodel_wrapper import PyLCModel
51
51
 
52
52
  # Initialize the LCModel wrapper with your basis set
53
- lcmodel = LCModel(path2basis='/path/to/your/basis_set.basis')
53
+ lcmodel = PyLCModel(path2basis='/path/to/your/basis_set.basis')
54
54
 
55
55
  # Assuming `data` is your MRS data in the frequency domain as a NumPy array
56
56
  # Fit the data using LCModel
@@ -16,6 +16,11 @@
16
16
 
17
17
  ## Installation
18
18
 
19
+ ### From PyPI
20
+ ```bash
21
+ pip install lcmodel-wrapper
22
+ ```
23
+
19
24
  ### From Source
20
25
  ```bash
21
26
  git clone https://github.com/julianmer/PyLCModel.git
@@ -23,20 +28,15 @@ cd PyLCModel
23
28
  pip install -e .
24
29
  ```
25
30
 
26
- ### From PyPI *(once published)*
27
- ```bash
28
- pip install lcmodel
29
- ```
30
-
31
31
  ---
32
32
 
33
33
  ## Getting Started
34
34
 
35
35
  ```python
36
- from lcmodel_wrapper import LCModel
36
+ from lcmodel_wrapper import PyLCModel
37
37
 
38
38
  # Initialize the LCModel wrapper with your basis set
39
- lcmodel = LCModel(path2basis='/path/to/your/basis_set.basis')
39
+ lcmodel = PyLCModel(path2basis='/path/to/your/basis_set.basis')
40
40
 
41
41
  # Assuming `data` is your MRS data in the frequency domain as a NumPy array
42
42
  # Fit the data using LCModel
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "lcmodel_wrapper"
7
- version = "0.1.0"
7
+ version = "0.1.2"
8
8
  description = "Python wrapper for LCModel MRS fitting"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -21,8 +21,8 @@ dependencies = [
21
21
  ]
22
22
 
23
23
  [project.urls]
24
- Homepage = "https://github.com/yourusername/PyLCModel"
25
- Repository = "https://github.com/yourusername/PyLCModel"
24
+ Homepage = "https://github.com/julianmer/PyLCModel"
25
+ Repository = "https://github.com/julianmer/PyLCModel"
26
26
 
27
27
  [tool.setuptools]
28
28
  package-dir = {"" = "src"}
@@ -0,0 +1 @@
1
+ from .pylcmodel import PyLCModel
@@ -1,5 +1,5 @@
1
1
  ####################################################################################################
2
- # lcmodel_wrapper.py #
2
+ # pylcmodel.py #
3
3
  ####################################################################################################
4
4
  # #
5
5
  # Authors: J. P. Merkofer (j.p.merkofer@tue.nl) #
@@ -31,13 +31,13 @@ from scipy.optimize import minimize
31
31
 
32
32
 
33
33
  #**************************************************************************************************#
34
- # Class LCModel #
34
+ # Class PyLCModel #
35
35
  #**************************************************************************************************#
36
36
  # #
37
37
  # The framework wrapper for the LCModel fitting tool. #
38
38
  # #
39
39
  #**************************************************************************************************#
40
- class LCModel():
40
+ class PyLCModel():
41
41
  def __init__(self, path2basis, control=None, multiprocessing=False, ppmlim=(0.5, 4.2),
42
42
  conj=True, ignore='default', save_path='', path2exec=None, sample_points=None,
43
43
  bandwidth=None, **kwargs):
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lcmodel_wrapper
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Python wrapper for LCModel MRS fitting
5
5
  Author-email: Julian Merkofer <j.p.merkofer@tue.nl>
6
6
  License: MIT
7
- Project-URL: Homepage, https://github.com/yourusername/PyLCModel
8
- Project-URL: Repository, https://github.com/yourusername/PyLCModel
7
+ Project-URL: Homepage, https://github.com/julianmer/PyLCModel
8
+ Project-URL: Repository, https://github.com/julianmer/PyLCModel
9
9
  Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: numpy>=1.22
@@ -30,6 +30,11 @@ Requires-Dist: fsl_mrs>=2.1.0
30
30
 
31
31
  ## Installation
32
32
 
33
+ ### From PyPI
34
+ ```bash
35
+ pip install lcmodel-wrapper
36
+ ```
37
+
33
38
  ### From Source
34
39
  ```bash
35
40
  git clone https://github.com/julianmer/PyLCModel.git
@@ -37,20 +42,15 @@ cd PyLCModel
37
42
  pip install -e .
38
43
  ```
39
44
 
40
- ### From PyPI *(once published)*
41
- ```bash
42
- pip install lcmodel
43
- ```
44
-
45
45
  ---
46
46
 
47
47
  ## Getting Started
48
48
 
49
49
  ```python
50
- from lcmodel_wrapper import LCModel
50
+ from lcmodel_wrapper import PyLCModel
51
51
 
52
52
  # Initialize the LCModel wrapper with your basis set
53
- lcmodel = LCModel(path2basis='/path/to/your/basis_set.basis')
53
+ lcmodel = PyLCModel(path2basis='/path/to/your/basis_set.basis')
54
54
 
55
55
  # Assuming `data` is your MRS data in the frequency domain as a NumPy array
56
56
  # Fit the data using LCModel
@@ -1,7 +1,7 @@
1
1
  README.md
2
2
  pyproject.toml
3
3
  src/lcmodel_wrapper/__init__.py
4
- src/lcmodel_wrapper/lcmodel_wrapper.py
4
+ src/lcmodel_wrapper/pylcmodel.py
5
5
  src/lcmodel_wrapper.egg-info/PKG-INFO
6
6
  src/lcmodel_wrapper.egg-info/SOURCES.txt
7
7
  src/lcmodel_wrapper.egg-info/dependency_links.txt
@@ -1 +0,0 @@
1
- from .lcmodel_wrapper import PyLCModel