24 lines
1.1 KiB
Markdown
24 lines
1.1 KiB
Markdown
### NMR Similarity:
|
|
The <mark>nmrSimilarityExperimental.py</mark> script requires:
|
|
```console
|
|
nmrproject/ILP:~$ pip install numpy
|
|
```
|
|
It is started using:
|
|
```console
|
|
nmrproject/ILP:~$ nmrSimilarityExperimental.py
|
|
```
|
|
In all but the <mark>nmrSimilarityExperimental.py</mark> script, there is a boolean called <mark> normalize </mark> in the <mark>main()</mark> function determining if the resulting crosscorrelation should be normalized.
|
|
The result will be three list, which are used in the <mark>main()</mark> function of in the <mark>experimentalILP.py</mark> script.
|
|
|
|
### ILP Solution:
|
|
The <mark>nmrSimilarityExperimental.py</mark> script requires:
|
|
```console
|
|
nmrproject/ILP:~$ pip install gurobipy
|
|
```
|
|
Within the <mark>main()</mark> function there are the boolean <mark> normalize </mark> determining if the resulting crosscorrelation should be normalized and <mark>mode</mark> as a choice between the two <mark>modes</mark>: <mark>"Product"[0]</mark> and <mark>"Average"[1]</mark> determining how the edgelikelihood is to be detemined.
|
|
It is started using:
|
|
```console
|
|
nmrproject/ILP:~$ python3 experimentalILP.py
|
|
```
|
|
|