get_coordinates
- jwst.extract_1d.ifu.get_coordinates(input_model, x0, y0)[source]
Get celestial coordinates and wavelengths.
- Parameters:
- input_model
IFUCubeModel The input model.
- x0, y0float
The pixel number at which the coordinates should be determined. If the EXTRACT1D reference file is JSON format, this point will be the nominal center of the image. For an image EXTRACT1D reference file, this will be the centroid of the pixels that were flagged as source.
- input_model
- Returns:
- ra, decfloat
The right ascension and declination, respectively, at pixel
(0, y0, x0).- wavelengthndarray
The 1D wavelength in micrometers at each pixel.