read_mangle_polygons

pydl.pydlutils.mangle.read_mangle_polygons(filename)[source]

Read a “polygon” format ASCII file in Mangle’s own format. These files typically have extension .ply or .pol.

Parameters:
filenamestr

Name of FITS file to read.

Returns:
PolygonList

A list-like object containing ManglePolygon objects and any metadata.