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

Write EW on stack_plot in plots.py #402

Merged
merged 5 commits into from
Jul 14, 2017
Merged

Conversation

marijana777
Copy link
Collaborator

No description provided.

Copy link
Contributor

@profxj profxj left a comment

Choose a reason for hiding this comment

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

A few edits to make

ewval = '{:05.2f}'.format(iline.attrib['EW'].value)
ewsigval = '{:05.2f}'.format(iline.attrib['sig_EW'].value)
compsign = ' = '
if iline.analy['flg_eye'] == 1:
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's also show as an upper limit if EW < 3*sig_EW

Copy link
Contributor

Choose a reason for hiding this comment

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

And in this case, have the value reported be 2*sig_EW

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

if add_ew:
ewval = '{:05.2f}'.format(iline.attrib['EW'].value)
ewsigval = '{:05.2f}'.format(iline.attrib['sig_EW'].value)
compsign = ' = '
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe remove the spaces here to pack the text in

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 73.308% when pulling 1e33044 on marijana777:master into 520e132 on linetools:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 73.279% when pulling 96a0ae7 on marijana777:master into 520e132 on linetools:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 73.279% when pulling 96a0ae7 on marijana777:master into 520e132 on linetools:master.

@profxj
Copy link
Contributor

profxj commented Jul 14, 2017

Looks good. Am approving and will merge.

@profxj profxj merged commit 1d06d2d into linetools:master Jul 14, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 73.279% when pulling 73720a2 on marijana777:master into 520e132 on linetools:master.

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