Replies: 2 comments
-
Hi Paul, We're happy to help you with this fitting script. In answer to your first question, the isotropic chemical shift is a dimensionless quantity, and the input is in ppm. Similarly, the shielding tensor zeta is dimensionless, and the units will be ppm. By default, mrsimulator outputs simulated spectra in ppm, but you can convert your simulated spectrum coordinates to frequency with Hz units, convert to Hz convert to ppm Most people, however, fit shift anisotropies in ppm. For your second question, you might have set the bounds of the plot too tight, and that's why there are no points in the view, or the bounds are outside the spectrum. Another tip: you might find it easier to run inside a Jupyter Notebook. That makes it easier to focus on each step of the calculation. Also, it's easier to help track down your issues if you attach the script and the dataset to the discussion post. You should be able to drag and drop them into the text box. By the way, an example is already in our fitting gallery for SnO. You can find it here: |
Beta Was this translation helpful? Give feedback.
-
Phil …
Thank you … I will give it shot!
Paul
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Philip J. Grandinetti ***@***.***>
Sent: Wednesday, June 7, 2023 9:03:24 PM
To: deepanshs/mrsimulator ***@***.***>
Cc: Paul Ellis ***@***.***>; Author ***@***.***>
Subject: Re: [deepanshs/mrsimulator] Less than clear ... (Discussion #268)
Hi Paul, We're happy to help you with this fitting script. In answer to your first question, the isotropic chemical shift is a dimensionless quantity, and the input is in ppm. Similarly, the shielding tensor zeta is dimensionless, and the units will be ppm.
By default, mrsimulator outputs simulated spectra in ppm, but you can convert your simulated spectrum coordinates to frequency with Hz units,
sim.methods[0].simulation.to("Hz", "ppm")
Most people, however, fit shift anisotropies in ppm.
For your second question, it looks like you set the bounds of the plot too tight, and that's why there are no points in the view.
Another tip: you might find it easier to run inside a Jupyter Notebook. That makes it easier to focus on each step of the calculation. Also, it's easier to help track down your issues if you attach the script and the dataset to the discussion post. You should be able to drag and drop them into the text box.
By the way, an example is already in our fitting gallery for PbO. You can find it here:
https://mrsimulator.readthedocs.io/en/stable/fitting/1D_fitting/plot_5_119Sn_sideband.html#sphx-glr-fitting-1d-fitting-plot-5-119sn-sideband-py
—
Reply to this email directly, view it on GitHub<#268 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A76PY3BYWW6FYZN6FYJS5OTXKEQFZANCNFSM6AAAAAAY6NWA3E>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
A couple issues ...
Any help will be appreciated ... the learning curve for this software is worse than that for SIMPSON!
Code:
Output:
Beta Was this translation helpful? Give feedback.
All reactions