<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">There has not been any movement towards putting forward a standard for celestial or higher dimensional spectral/spatial coordinates. There are a few distorted celestial systems under the conventions approach that have fairly wide use. See the <a href="https://fits.gsfc.nasa.gov/fits_registry.html" class="">WCS registered conventions here</a>. At NOAO TPV has become the main exported version though internally I like ZPX as better suited to optical telescope data. Some downstream users convert to SIP. Software libraries pretty widely do implement TPV. In my pipeline work I’ve adopted exactly the same approach for data products as you mention; two flavors of unrebinned and rebinned to TAN in the N-up/E-left convention.<div class=""><br class=""></div><div class="">So you should study SIP and TPV and, if it is suitable for you, use one of them before inventing something else. As I said, TPV is handled in, at least, IRAF, DS9, Terapix (SExtractor/Scamp,etc), the SAO WCS tools, and, I believe, the usual libraries such as WCSLIB.</div><div class=""><br class=""></div><div class="">But I think you are talking about non-celestial or mixed celestial and dispersion systems. There is, of course, paper 3 for 1D non-linear spectra. The question of distortions in general and in spectra in particular started with a proposal I made. It did not go further because other authors claimed to be entitled take over and be lead authors on such a paper and I did not want to get into the politics. Anyway, digging into my past documentation the early proposal is:</div><div class=""><br class=""></div><div class=""><a href="http://iraf.noao.edu/projects/fitswcs/spec3d.html" class="">http://iraf.noao.edu/projects/fitswcs/spec3d.html</a></div><div class=""><br class=""></div><div class="">Some of the thoughts given there may be of use. In principle this would be combined with the spectral WCS of paper 3 for the dispersion axis.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Frank</div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 8, 2019, at 7:50 AM, Thompson, William T. (GSFC-671.0)[ADNET SYSTEMS INC] <<a href="mailto:william.t.thompson@nasa.gov" class="">william.t.thompson@nasa.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">Folks:<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">It’s been a while since I’ve heard any chatter about WCS. What’s the status of Paper IV on distortions? Are distortions handled in any of the software packages, such as WCSLIB?<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">It appears that we may need to use distortions for an upcoming mission. Ray tracing for a spectrometer for the Solar Orbiter mission shows that the relationship between the pixel positions I,J and the real-world coordinates have significant second-order terms. Our plans are to provide data in two formats, one in the original detector pixel space, and one where the data have been interpolated to linearize and rectify the data. The latter is no problem, but I would like to accurately describe the coordinates in the former.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">Second order effects show up in two places. The most significant is that the plate scale in arc seconds increases linearly with wavelength. In other words<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class=""><span style="font-size: 11pt;" class="">S = a0 + a1 * J * (1 + a2*I)<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">where S is the spatial dimension along the slit, J is the pixel dimension associated with the spatial dimension, and I is the pixel dimension associated with the spectral dimension. Here, the second order effect comes from the J*I term.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">The other second order effect comes from the fact that the slit images are slightly bowed, so that the wavelength has a dependence on J^2.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">Thanks,<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">Bill Thompson<o:p class=""></o:p></span></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fitswcs mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:fitswcs@listmgr.nrao.edu" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">fitswcs@listmgr.nrao.edu</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://listmgr.nrao.edu/mailman/listinfo/fitswcs" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://listmgr.nrao.edu/mailman/listinfo/fitswcs</a></div></blockquote></div><br class=""></div></body></html>