Skip to content

Add spectral flux property#100

Closed
eteq wants to merge 3 commits intoastrofrog:add-spectralcoordfrom
eteq:add-spectral-flux
Closed

Add spectral flux property#100
eteq wants to merge 3 commits intoastrofrog:add-spectralcoordfrom
eteq:add-spectral-flux

Conversation

@eteq
Copy link

@eteq eteq commented May 1, 2020

def to_value(self, *args, **kwargs):
return self.to(*args, **kwargs).value


Copy link
Owner

Choose a reason for hiding this comment

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

Remove one of the empty lines?

@astrofrog
Copy link
Owner

I think I'm ok with this, can you remove the empty line and then I'll merge



@property
def spectral_density_equivalency(self):
Copy link
Owner

Choose a reason for hiding this comment

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

Can you add a docstring?

@eteq
Copy link
Author

eteq commented May 2, 2020

Will replace this with a PR to astropy since the base PR got merged.

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.

2 participants