We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove from GaussianProfile() the following lines altogether:
# convert to radians sigma *= arcsec # [rad] Rmin *= arcsec # [rad] dR *= arcsec # [rad]
and move them to lnpostfn():
# convert to rad inc *= deg PA *= deg dRA *= arcsec dDec *= arcsec sigma *= arcsec # [rad] Rmin *= arcsec # [rad] dR *= arcsec # [rad] # compute the model brightness profile f = GaussianProfile(f0, sigma, Rmin, dR, nR) chi2 = chi2Profile(f, Rmin, dR, nxy, dxy, u, v, Re, Im, w, inc=inc, PA=PA, dRA=dRA, dDec=dDec)
and re-define:
def GaussianProfile(f0, sigma, Rmin, dR, nR): """ Gaussian brightness profile. """ # radial grid R = np.linspace(Rmin, Rmin + dR*nR, nR, endpoint=False) return f0 * np.exp(-0.5*(R/sigma)**2)
Check the quickstart.py exactly reflects the online example.
The text was updated successfully, but these errors were encountered:
175a824
Still to do
Sorry, something went wrong.
mtazzari
No branches or pull requests
Remove from GaussianProfile() the following lines altogether:
and move them to lnpostfn():
and re-define:
Check the quickstart.py exactly reflects the online example.
The text was updated successfully, but these errors were encountered: