Commit 74fe7958 authored by William Clarke's avatar William Clarke
Browse files

fixed divide by zero errors.

parent 590c0c38
......@@ -59,7 +59,7 @@ def prep_mrs_for_synthetic(basisFile, points, bandwidth, ignore, ind_scaling, co
basis, names, header = mrs_io.read_basis(basisFile)
empty_mrs = MRS(FID=np.zeros((points,)),
empty_mrs = MRS(FID=np.ones((points,)),
cf=header[0]['centralFrequency'],
bw=bandwidth,
nucleus='1H',
......
Supports Markdown
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