Create Mask
toools to create mask for HETDEX¶
Create Mask module
Module to produce masks for HETDEX
-
pyhetdex.tools.create_mask.
generate_ifu_corner_ra_decs
(tp, fplane)[source]¶ Generate the ra, dec of the four corners of each IFU for a shot. Does this by evaluating the ra and dec at a number of points around each IFU.
Parameters: - tp : pyhetdex.coordinates.tangent_projection:TangentPlane
the astrometry of the shot
- fplane : pyhetdex.het.fplane:FPlane
the focal plane object
Returns: - ifuslots : list
a list of the IFU slots
- table : astropy.table:Table
table with the corners of the IFU in ra and dec and the IFUSLOT
-
pyhetdex.tools.create_mask.
generate_mangle_polyfile
(args=None)[source]¶ Command line call to generate a Mangle polygon file in vertices format
Mangle reference: http://space.mit.edu/~molly/mangle/
Parameters: - args : list (optional)
list of arguments to parse. If None, grab from command line