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

Plot keyword added to gofnt function #35

Merged
merged 3 commits into from
Aug 16, 2016

Conversation

tdwilkinson
Copy link
Contributor

In an attempt to use the contribution function with multiple ions, I have added a plot=True keyword to the function. This is set to True by default as to not affect the normal operations of this function. However, in the event of evaluating multiple ions, setting the plot=False will only return the self.Gofnt attribute. This is the least amount of code edits that I could make and obtain this attribute. I was not able to use Intensity when analysing multiple ions (as suggested) due to needing to know the top lines for each ion. It was suggested to implement a self.TopLines in _ionTrails, but topLines is defined in intensityratio (another plotting function), and would require more edits than adding in this keyword and edits to the gofnt function.

@tdwilkinson tdwilkinson changed the title Plot Keyword added to gofnt Function Plot keyword added to gofnt function Aug 15, 2016
@kdere kdere merged commit 2e0b4dc into chianti-atomic:master Aug 16, 2016
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

2 participants