spacetelescope / stwcs

WCS based distortion models and coordinate transformation.
http://stwcs.readthedocs.io
4 stars 18 forks source link

Error in HSTWCS docs example #201

Open s-goldman opened 2 months ago

s-goldman commented 2 months ago

In the HSTWCS docs example a line suggests that using

w = wcsutil.HSTWCS(instrument='DEFAULT')

should work but instead returns an error:

TypeError: HSTWCS.__init__() got an unexpected keyword argument 'instrument'

nden commented 2 months ago

To clarify, the DEAFAULT option aws an unsuccessful attempt to make drizzlepac work with data from any telescope. At the end it's HST specific.

s-goldman commented 2 months ago

@nden Okay great, thanks for the context. In that case, can I remove it from the docs?