<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Bill,</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I’m currently on a cruise ship on the way to Alaska so I’m going by memory. I believe we originated the SIP convention before the alternative WCSes specified by letters were adopted. I know the original 2005 ADASS proceedings did not address it. As I recall,
 our later writeup for the FITS registry of conventions did not address it either. I wonder if SPHEREx’s usage of SIP would provide guidance. I would guess that the SIP coefficients without letter suffixes would apply to any SIP WCSes in the header. </div>
<div id="ms-outlook-mobile-body-separator-line" data-applydefaultfontstyles="true" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;" dir="ltr">
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
</div>
<div style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" id="ms-outlook-mobile-signature">
<div dir="auto" style="background-color: rgb(255, 255, 255); font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(33, 33, 33);">
David L Shupe, PhD | Scientist | Caltech/IPAC</div>
</div>
<div id="mail-editor-reference-message-container" class="ms-outlook-mobile-reference-message">
<div id="mail-editor-reference-message-container">
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif;"><b>From:</b> Thompson, William T. (GSFC-671.0)[ADNET SYSTEMS INC] <william.t.thompson@nasa.gov><br>
<b>Sent:</b> Friday, May 22, 2026 10:00 AM<br>
<b>To:</b> FITS List <fitsbits@nrao.edu><br>
<b>Subject:</b> [fitsbits] Question about Simple Image Polynomial convention {External}</span>
<div style="font-family: Calibri, sans-serif;"> </div>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Folks:</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have a question about the Simple Image Polynomial (SIP) convention.  The question has to do with a matter that is not addressed in the convention write-up: what happens when there are multiple coordinate systems embedded within a file?  I’ve been presented
 with an application where the primary coordinate system does not use the SIP convention, but one of the alternative coordinate systems does.  For example, we have these keywords for the primary coordinate system:</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
CTYPE1  = 'HPLN-TAN'        </div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
CTYPE2  = 'HPLT-TAN' </div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
while an alternative coordinate system has:</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
CTYPE1B = 'RA---TAN-SIP’</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
CTYPE2B = ‘DEC-TAN-SIP’</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
My implementation of the SIP system in SolarSoft assumes that the SIP keywords should end in “B” to associate them with this coordinate system, but the actual SIP keywords do not, e.g.</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
A_1_0   =            -0.006446 / SIP distortion coefficient</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rather than “A_1_0B”.  I’ve been told that astropy applies these keywords to the “B” coordinate system, so is this how the convention should be interpreted?</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you,</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Bill Thompson</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 -- </div>
<div id="ms-outlook-mobile-signature">
<table class="MsoNormalTable" cellspacing="0" cellpadding="0" border="0" style="width: 461.25pt; box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;">
<tbody>
<tr>
<td class="MsoNormalTable" style="padding: 2.15pt 1.45pt; width: 103.5pt; height: 93.2pt;">
<div dir="ltr" class="MsoNormal" style="text-align: center; color: black;"><img src="cid:image001.jpg@01DB8225.EA78D5B0" id="Picture_x0020_1" width="132" height="31" style="width: 1.3854in; height: 0.3333in; max-width: 100%;"></div>
</td>
<td class="MsoNormalTable" style="padding: 2.15pt 1.45pt; vertical-align: bottom; width: 24.65pt; height: 93.2pt;">
<div dir="ltr" class="MsoNormal" style="text-align: center; line-height: 115%;"><img src="cid:image002.png@01DB8225.EA78D5B0" id="Straight_x0020_Connector_x0020_2" width="0" height="144" style="width: 0.0104in; height: 1.5104in; max-width: 100%;"></div>
</td>
<td class="MsoNormalTable" style="padding: 2.15pt 1.45pt; width: 333.25pt; height: 93.2pt;">
<div class="MsoNormal" style="line-height: 115%; font-family: Helvetica; color: black;">
<b>William Thompson</b></div>
<div class="MsoNormal" style="line-height: 115%; font-family: Helvetica; font-size: 9pt; color: black;">
<span style="line-height: 115%;"><b>Senior Scientist</b></span></div>
<div class="MsoNormal" style="line-height: 115%; font-family: Helvetica; font-size: 9pt; color: black;">
<span style="line-height: 115%;">ADNET SYSTEMS, Inc.</span></div>
<div class="MsoNormal" style="line-height: 115%; font-family: Helvetica; font-size: 9pt; color: black;">
<span style="line-height: 115%;">NASA Goddard Space Flight Center, Code 671</span></div>
<div class="MsoNormal" style="line-height: 115%; font-family: Helvetica; font-size: 9pt; color: black;">
<span style="line-height: 115%;">Greenbelt, MD 20771</span></div>
<div class="MsoNormal" style="line-height: 115%; font-family: Helvetica; font-size: 9pt; color: black;">
<span style="line-height: 115%;">o: 301.286.2040</span></div>
<div class="MsoNormal" style="font-family: Helvetica; font-size: 9pt;"><a href="mailto:William.T.Thompson@nasa.gov">William.T.Thompson@nasa.gov</a></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>