[AstroPy] point in ellipse
Wed Jan 30 12:47:52 CST 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 <email@example.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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the AstroPy