[AstroPy] point in ellipse
tim.jenness at gmail.com
Wed Jan 30 13:47:52 EST 2013
[now replying to list]
You can use the Region class in pyast for that (it's not part of astropy).
It has support for all the STC regions.
AST is the library used internally by DS9.
On Wed, Jan 30, 2013 at 11:33 AM, gonghang.naoc <ghang.naoc at gmail.com>wrote:
> I believe many people here use ds9 and know its region file
> format.For example，we can make an ellipse if we know its center ra，dec and
> main aixs direction.Is there a pythonic way to judge whether a point is in
> an ellipse if we know ra&dec of the point？
> Thank you.
> Best wishes.
> AstroPy mailing list
> AstroPy at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the AstroPy