Skip to content
New issue

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

Voigt model #421

Merged
merged 2 commits into from
Oct 16, 2017
Merged

Voigt model #421

merged 2 commits into from
Oct 16, 2017

Conversation

profxj
Copy link
Contributor

@profxj profxj commented Oct 16, 2017

Fixes for new astropy.

fitter = fitting.LevMarLSQFitter()
parm = fitter(fitvoigt,vmodel.wavelength[abslin.analy['pix']].value,
vmodel.flux[abslin.analy['pix']].value)
assert np.abs(parm.logN.value-np.log10(abslin.attrib['N'].value)) < 0.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, if this fails, then what happens? We don't use it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ask @ntejos over a pisco sour ;)

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 71.841% when pulling 5622cc9 on voigt_model into 211ffff on master.

@profxj
Copy link
Contributor Author

profxj commented Oct 16, 2017

merging.

@profxj profxj merged commit 11e9740 into master Oct 16, 2017
@profxj profxj deleted the voigt_model branch October 16, 2017 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants