Dear Gitlab Users, for our upcoming upgrade to Gitlab v14, Gitlab will be unavailable on Thursday, 05.08.2021 from 5:00 pm to approximately 7:00 pm. Note that with v14, certain breaking changes will be introduced (https://about.gitlab.com/blog/2021/06/04/gitlab-moving-to-14-breaking-changes/).

Commit c809a7a7 authored by m.jazibzafar's avatar m.jazibzafar
Browse files

(fixed) Translated the matrix building code (lines 95 - 102 from...

(fixed) Translated the matrix building code (lines 95 - 102 from ElserProcessor.m to suitable form for phase problems.
parent aeaa338f
......@@ -85,7 +85,7 @@ class Elser_Experiment(PhaseExperiment):
snr = 1e-8
print('Loading data.')
fn = "".join(['../InputData/Phase/Elser/data', str(self.Atoms), self.category])
fn="".join([str(datadir/"Elser"/"data"), str(self.Atoms), self.category])
# read text data file as a matrix of numbers
data = np.loadtxt(fn, delimiter="\t")
data = np.sqrt(data) / self.Nx
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment