Allow the spectral_density equivalency to take a Quantity#1590
Allow the spectral_density equivalency to take a Quantity#1590astrofrog wants to merge 1 commit intoastropy:masterfrom
spectral_density equivalency to take a Quantity#1590Conversation
|
Yeah -- the original API predates Quantity. I think #1560 already does this (as part of some larger changes). |
|
Ah yes, then I'll leave this open for now but it can be closed without merging once #1560 is merged. |
|
FYI, I think this will be much less important when we have a |
|
Ops... sorry for the duplicate work. I like the backward compatibility option here, which is not in my PR. |
|
@pllim - feel free to implement that in your PR and we can just close this one once yours is merged :) |
…stropy#1590 to this PR, as suggested by @astrofrog.
…stropy#1590 to this PR, as suggested by @astrofrog.
|
Good call, thanks @pllim |
@mdboom - what do you think? I had to use the current API today and it felt clunky (also, other equivalencies now take quantities). Should we actually deprecate the previous API?