/dports/astro/py-astlib/astLib-0.11.7/PyWCSTools/wcssubs-3.9.5/ |
H A D | wcs.c | 112 if (wcs->wcs) { 113 wcsfree (wcs->wcs); 114 wcs->wcs = NULL; 197 if (wcstype (wcs, wcs->ctype[0], wcs->ctype[1])) { 207 wcs->lin.pc = wcs->pc; 306 wcs->lin.pc = wcs->pc; 706 wcs->xref = wcs->crval[0]; 707 wcs->yref = wcs->crval[1]; 1062 wcs->imrot = wcs->rot; 1108 wcs->rot = wcs->imrot; [all …]
|
H A D | wcsinit.c | 380 depwcs = wcs->wcs; 384 wcs->wcs = NULL; 464 wcs->xref = wcs->crval[0]; 465 wcs->yref = wcs->crval[1]; 482 wcs->lin.pc = wcs->pc; 869 wcs->epoch = wcs->equinox; 913 wcs->xref = wcs->crval[0]; 919 wcs->xinc = -wcs->yinc; 936 wcsdeltset (wcs, wcs->cdelt[0], wcs->cdelt[1], wcs->rot); 1098 wcs->lin.pc = wcs->pc; [all …]
|
H A D | dsspos.c | 87 xi = wcs->x_coeff[ 0]*xmm + wcs->x_coeff[ 1]*ymm + 88 wcs->x_coeff[ 2] + wcs->x_coeff[ 3]*xmm2 + 89 wcs->x_coeff[ 4]*xmm*ymm + wcs->x_coeff[ 5]*ymm2 + 90 wcs->x_coeff[ 6]*(x2y2) + wcs->x_coeff[ 7]*xmm3 + 92 wcs->x_coeff[10]*ymm3 + wcs->x_coeff[11]*xmm*(x2y2) + 101 eta = wcs->y_coeff[ 0]*ymm + wcs->y_coeff[ 1]*xmm + 102 wcs->y_coeff[ 2] + wcs->y_coeff[ 3]*ymm2 + 103 wcs->y_coeff[ 4]*xmm*ymm + wcs->y_coeff[ 5]*xmm2 + 104 wcs->y_coeff[ 6]*(x2y2) + wcs->y_coeff[ 7]*ymm3 + 170 wcs->plate_dec = degrad (wcs->yref); [all …]
|
H A D | platepos.c | 83 wcs->x_coeff[ 2]*y + wcs->x_coeff[ 3]*x2 + 84 wcs->x_coeff[ 4]*y2 + wcs->x_coeff[ 5]*x*y; 96 wcs->y_coeff[ 2]*y + wcs->y_coeff[ 3]*x2 + 97 wcs->y_coeff[ 4]*y2 + wcs->y_coeff[ 5]*x*y; 171 x = xi * wcs->dc[0] + eta * wcs->dc[1]; 172 y = xi * wcs->dc[2] + eta * wcs->dc[3]; 196 f = wcs->x_coeff[0] + wcs->x_coeff[1]*x + 197 wcs->x_coeff[2]*y + wcs->x_coeff[3]*x2 + 198 wcs->x_coeff[4]*y2 + wcs->x_coeff[5]*xy; 216 wcs->x_coeff[8]*x2y + wcs->x_coeff[9]*y2x + [all …]
|
H A D | wcslib.c | 428 struct wcsprm *wcs; 440 wcs->lng = -1; 441 wcs->lat = -1; 495 sprintf(requir, "%s-%s", wcs->lattyp, wcs->pcode); 501 sprintf(requir, "%s-%s", wcs->lngtyp, wcs->pcode); 507 sprintf(requir, "%s-%s", wcs->lattyp, wcs->pcode); 513 sprintf(requir, "%s-%s", wcs->lngtyp, wcs->pcode); 557 struct wcsprm* wcs; 597 if ((err = celfwd(wcs->pcode, world[wcs->lng], world[wcs->lat], cel, 647 struct wcsprm *wcs; [all …]
|
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/wcsapi/wrappers/tests/ |
H A D | test_sliced_wcs.py | 7 from astropy.wcs.wcs import WCS, FITSFixedWarning 9 from astropy.wcs import WCS 113 assert wcs.pixel_n_dim == 3 114 assert wcs.world_n_dim == 3 190 assert wcs.pixel_n_dim == 2 191 assert wcs.world_n_dim == 2 707 wcs = WCS_SPECTRAL_CUBE 713 sub2 = wcs[3, 3:10, 2:8] 720 wcs = WCS_SPECTRAL_CUBE 724 wcs[0, 1, 2] [all …]
|
/dports/astro/wcslib/wcslib-7.7/C/ |
H A D | wcs.c | 271 wcs->pc = wcs->m_pc; in wcsinit() 356 wcs->pv = wcs->m_pv; in wcsinit() 379 wcs->ps = wcs->m_ps; in wcsinit() 402 wcs->cd = wcs->m_cd; in wcsinit() 543 wcs->lin.pc = wcs->pc; in wcsinit() 705 wcs->aux = wcs->m_aux; in wcsauxi() 712 wcs->m_aux = wcs->aux; in wcsauxi() 1616 if (wcs->crpix == wcs->m_crpix) wcs->crpix = 0x0; in wcsfree() 1617 if (wcs->pc == wcs->m_pc) wcs->pc = 0x0; in wcsfree() 1618 if (wcs->cdelt == wcs->m_cdelt) wcs->cdelt = 0x0; in wcsfree() [all …]
|
H A D | wcsfix.c | 961 wcs->pv[wcs->npv].i = wcs->lat + 1; in celfix() 966 wcs->pv[wcs->npv].i = wcs->lat + 1; in celfix() 977 if (wcs->crval[wcs->lng] != 0.0 || wcs->crval[wcs->lat] != 0.0) { in celfix() 1009 wcs->pv[wcs->npv].i = wcs->lng + 1; in celfix() 1015 wcs->pv[wcs->npv].i = wcs->lng + 1; in celfix() 1020 wcs->pv[wcs->npv].i = wcs->lng + 1; in celfix() 1022 wcs->pv[wcs->npv].value = wcs->crval[wcs->lat]; in celfix() 1134 wcs->crpix[wcs->lng] = pix[0][wcs->lng]; in cylfix() 1135 wcs->crpix[wcs->lat] = pix[0][wcs->lat]; in cylfix() 1136 wcs->crval[wcs->lng] = world[0][wcs->lng]; in cylfix() [all …]
|
/dports/astro/py-astropy/astropy-5.0/cextern/wcslib/C/ |
H A D | wcs.c | 271 wcs->pc = wcs->m_pc; in wcsinit() 356 wcs->pv = wcs->m_pv; in wcsinit() 379 wcs->ps = wcs->m_ps; in wcsinit() 402 wcs->cd = wcs->m_cd; in wcsinit() 543 wcs->lin.pc = wcs->pc; in wcsinit() 705 wcs->aux = wcs->m_aux; in wcsauxi() 712 wcs->m_aux = wcs->aux; in wcsauxi() 1616 if (wcs->crpix == wcs->m_crpix) wcs->crpix = 0x0; in wcsfree() 1617 if (wcs->pc == wcs->m_pc) wcs->pc = 0x0; in wcsfree() 1618 if (wcs->cdelt == wcs->m_cdelt) wcs->cdelt = 0x0; in wcsfree() [all …]
|
H A D | wcsfix.c | 961 wcs->pv[wcs->npv].i = wcs->lat + 1; in celfix() 966 wcs->pv[wcs->npv].i = wcs->lat + 1; in celfix() 977 if (wcs->crval[wcs->lng] != 0.0 || wcs->crval[wcs->lat] != 0.0) { in celfix() 1009 wcs->pv[wcs->npv].i = wcs->lng + 1; in celfix() 1015 wcs->pv[wcs->npv].i = wcs->lng + 1; in celfix() 1020 wcs->pv[wcs->npv].i = wcs->lng + 1; in celfix() 1022 wcs->pv[wcs->npv].value = wcs->crval[wcs->lat]; in celfix() 1134 wcs->crpix[wcs->lng] = pix[0][wcs->lng]; in cylfix() 1135 wcs->crpix[wcs->lat] = pix[0][wcs->lat]; in cylfix() 1136 wcs->crval[wcs->lng] = world[0][wcs->lng]; in cylfix() [all …]
|
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/wcsapi/ |
H A D | conftest.py | 16 wcs.wcs.ctype = 'FREQ', 17 wcs.wcs.cunit = 'Hz', 18 wcs.wcs.cdelt = 3.e9, 19 wcs.wcs.crval = 4.e9, 20 wcs.wcs.crpix = 11., 28 wcs.wcs.ctype = 'TIME', 30 wcs.wcs.crval = 3., 31 wcs.wcs.crpix = 11., 32 wcs.wcs.cname = 'Time', 33 wcs.wcs.cunit = 's' [all …]
|
/dports/astro/siril/siril/subprojects/wcslib/ |
H A D | wcs.c | 272 wcs->pc = wcs->m_pc; in wcsinit() 357 wcs->pv = wcs->m_pv; in wcsinit() 380 wcs->ps = wcs->m_ps; in wcsinit() 403 wcs->cd = wcs->m_cd; in wcsinit() 544 wcs->lin.pc = wcs->pc; in wcsinit() 706 wcs->aux = wcs->m_aux; in wcsauxi() 713 wcs->m_aux = wcs->aux; in wcsauxi() 1615 if (wcs->crpix == wcs->m_crpix) wcs->crpix = 0x0; in wcsfree() 1616 if (wcs->pc == wcs->m_pc) wcs->pc = 0x0; in wcsfree() 1617 if (wcs->cdelt == wcs->m_cdelt) wcs->cdelt = 0x0; in wcsfree() [all …]
|
H A D | wcsfix.c | 960 wcs->pv[wcs->npv].i = wcs->lat + 1; in celfix() 965 wcs->pv[wcs->npv].i = wcs->lat + 1; in celfix() 976 if (wcs->crval[wcs->lng] != 0.0 || wcs->crval[wcs->lat] != 0.0) { in celfix() 1008 wcs->pv[wcs->npv].i = wcs->lng + 1; in celfix() 1014 wcs->pv[wcs->npv].i = wcs->lng + 1; in celfix() 1019 wcs->pv[wcs->npv].i = wcs->lng + 1; in celfix() 1021 wcs->pv[wcs->npv].value = wcs->crval[wcs->lat]; in celfix() 1133 wcs->crpix[wcs->lng] = pix[0][wcs->lng]; in cylfix() 1134 wcs->crpix[wcs->lat] = pix[0][wcs->lat]; in cylfix() 1135 wcs->crval[wcs->lng] = world[0][wcs->lng]; in cylfix() [all …]
|
/dports/astro/py-astropy/astropy-5.0/astropy/visualization/wcsaxes/tests/ |
H A D | test_wcsapi.py | 158 wcs.wcs.set() 174 wcs.wcs.set() 199 wcs.wcs.set() 212 wcs.wcs.set() 225 wcs.wcs.set() 238 wcs.wcs.set() 250 wcs.wcs.crpix = [256.0] 252 wcs.wcs.crval = [50.0] 253 wcs.wcs.set() 268 wcs.wcs.set() [all …]
|
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/wcsapi/tests/ |
H A D | test_fitswcs.py | 22 from astropy.wcs.wcs import WCS, FITSFixedWarning 34 WCS_EMPTY.wcs.crpix = [1] 39 wcs = WCS_EMPTY 429 wcs = WCS_TIME_CUBE 768 wcs = WCS(naxis=1) 770 wcs.wcs.cunit = ['bananas // sekonds'] 806 wcs = WCS(naxis=1) 807 wcs.wcs.ctype = ['SPAM'] 856 wcs.wcs.radesys = 'FK5' 862 wcs.wcs.equinox = 2010 [all …]
|
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/tests/ |
H A D | test_utils.py | 45 wcs.wcs.pc = np.zeros([4, 4]) 59 wcs.wcs.cd = pc 73 wcs.wcs.pc = np.zeros([4, 4]) 85 wcs.wcs.cd = pc 366 if wcs.wcs.ctype[0].endswith('OFFSET') and wcs.wcs.ctype[1].endswith('OFFSET'): 711 wcs.wcs.crval = [0] * 2 712 wcs.wcs.set() 738 wcs.wcs.set() 750 wcs.wcs.set() 763 wcs.wcs.set() [all …]
|
H A D | test_auxprm.py | 10 from astropy.wcs import WCS 96 w.wcs.aux.crln_obs = 10. 99 w.wcs.aux.hgln_obs = 30. 102 w.wcs.aux.hglt_obs = 40. 125 w.wcs.aux.crln_obs = 10. 128 w.wcs.aux.hgln_obs = 30. 131 w.wcs.aux.hglt_obs = 40. 148 w.wcs.aux.rsun_ref = None 152 w.wcs.aux.dsun_obs = None 156 w.wcs.aux.crln_obs = None [all …]
|
H A D | test_wcs.py | 581 except wcs.wcs.NoConvergence as e: 1111 w.wcs.compare(w2.wcs) 1366 assert w1.wcs.cunit == w1.wcs.cunit 1367 assert not w1.wcs.cunit != w1.wcs.cunit 1369 assert w1.wcs.cunit == w3.wcs.cunit 1370 assert not w1.wcs.cunit != w3.wcs.cunit 1373 assert not w1.wcs.cunit == w4.wcs.cunit 1374 assert w1.wcs.cunit != w4.wcs.cunit 1376 assert not w1.wcs.cunit == w2.wcs.cunit 1377 assert w1.wcs.cunit != w2.wcs.cunit [all …]
|
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/ |
H A D | utils.py | 60 if wcs.wcs.lng == -1 or wcs.wcs.lat == -1: 63 radesys = wcs.wcs.radesys 65 if np.isnan(wcs.wcs.equinox): 70 xcoord = wcs.wcs.ctype[wcs.wcs.lng][:4] 71 ycoord = wcs.wcs.ctype[wcs.wcs.lat][:4] 1059 if wcs.wcs.has_pc(): 1060 wcs.wcs.cd = wcs.wcs.pc 1086 wcs.wcs.crpix = (close(lon - wcs.wcs.crval[0], xp + 1), 1098 p0 = np.concatenate([wcs.wcs.cd.flatten(), wcs.wcs.crpix.flatten()]) 1112 wcs.wcs.ctype = [x + '-SIP' for x in wcs.wcs.ctype] [all …]
|
/dports/astro/wcslib/wcslib-7.7/pgsbox/ |
H A D | cpgtest.c | 115 struct wcsprm wcs; in main() local 116 wcs.flag = -1; in main() 334 wcs.flag = -1; in main() 356 wcs.pv[0].i = 2; in main() 357 wcs.pv[0].m = 1; in main() 435 wcs.npv = 2; in main() 495 wcsset(&wcs); in main() 712 wcsset(&wcs); in main() 836 wcsset(&wcs); in main() 1006 wcs.npv = 2; in main() [all …]
|
/dports/astro/gnuastro/gnuastro-0.16/lib/ |
H A D | wcs.c | 450 wcs=malloc(sizeof *wcs); in gal_wcs_create() 1417 if(wcs->crpix) wcs->crpix[i-1] = wcs->crpix[i]; in gal_wcs_remove_dimension() 1418 if(wcs->cdelt) wcs->cdelt[i-1] = wcs->cdelt[i]; in gal_wcs_remove_dimension() 1419 if(wcs->crval) wcs->crval[i-1] = wcs->crval[i]; in gal_wcs_remove_dimension() 1420 if(wcs->crota) wcs->crota[i-1] = wcs->crota[i]; in gal_wcs_remove_dimension() 1421 if(wcs->crder) wcs->crder[i-1] = wcs->crder[i]; in gal_wcs_remove_dimension() 1422 if(wcs->csyer) wcs->csyer[i-1] = wcs->csyer[i]; in gal_wcs_remove_dimension() 1460 if(wcs->pc) wcs->pc[ c ] = wcs->pc[ i*naxis+j ]; in gal_wcs_remove_dimension() 1461 if(wcs->cd) wcs->cd[ c ] = wcs->cd[ i*naxis+j ]; in gal_wcs_remove_dimension() 1590 out[i*wcs->naxis+j] = wcs->cdelt[i] * wcs->pc[i*wcs->naxis+j]; in gal_wcs_warp_matrix() [all …]
|
/dports/astro/astrometry/astrometry.net-0.85/util/ |
H A D | test_fit_wcs.c | 18 sip_t wcs; in test_wcs_shift() local 28 wcs.a[0][2] = 3.7161e-06; in test_wcs_shift() 29 wcs.a[1][1] = 2.4926e-06; in test_wcs_shift() 30 wcs.a[2][0] = -1.9189e-05; in test_wcs_shift() 31 wcs.b[0][2] = -3.0798e-05; in test_wcs_shift() 32 wcs.b[1][1] = 1.8929e-07; in test_wcs_shift() 33 wcs.b[2][0] = 8.5835e-06; in test_wcs_shift() 37 wcs.ap[1][0] = 3.582e-05; in test_wcs_shift() 45 wcs.wcstan.imagew = 1024; in test_wcs_shift() 47 wcs.a_order = wcs.b_order = 2; in test_wcs_shift() [all …]
|
/dports/astro/sextractor/sextractor-2.5.0/src/wcs/ |
H A D | wcs.c | 431 struct wcsprm *wcs; 439 wcs->lng = -1; 441 wcs->lat = -1; 442 wcs->cubeface = -1; 488 sprintf(requir, "%s-%s", wcs->lattyp, wcs->pcode); 494 sprintf(requir, "%s-%s", wcs->lngtyp, wcs->pcode); 531 struct wcsprm* wcs; 570 if ((err = celfwd(wcs->pcode, world[wcs->lng], world[wcs->lat], cel, 620 struct wcsprm *wcs; 704 if ((err = celrev(wcs->pcode, imgcrd[wcs->lng], imgcrd[wcs->lat], prj, [all …]
|
/dports/astro/py-astropy/astropy-5.0/astropy/visualization/wcsaxes/ |
H A D | wcsapi.py | 7 from astropy.wcs import WCS 29 if wcs.pixel_n_dim > 2: 38 …is_fits_wcs = isinstance(wcs, WCS) or (isinstance(wcs, SlicedLowLevelWCS) and isinstance(wcs._wcs,… 109 name.append(wcs.wcs.ctype[idx].lower()) 110 name.append(wcs.wcs.ctype[idx][:4].replace('-', '').lower()) 112 name.append(wcs._wcs.wcs.ctype[wcs._world_keep[idx]].lower()) 113 name.append(wcs._wcs.wcs.ctype[wcs._world_keep[idx]][:4].replace('-', '').lower()) 119 if wcs.world_axis_names and wcs.world_axis_names[idx]: 274 self.wcs = wcs 280 return (isinstance(other, type(self)) and self.wcs is other.wcs and [all …]
|
/dports/www/py-protego/Protego-0.1.16/tests/test_data/ |
H A D | www.argos.co.uk | 6 Disallow: /webapp/wcs/stores/servlet/QASStoreLocator 7 Disallow: /webapp/wcs/stores/servlet/ArgosAddItemToTrolley 8 Disallow: /webapp/wcs/stores/servlet/ArgosTrolleyList 9 Disallow: /webapp/wcs/stores/servlet/CheckPriceAndStockCmd 10 Disallow: /webapp/wcs/stores/servlet/ArgosTrolley 11 Disallow: /webapp/wcs/stores/servlet/DoLocateStoresMobile 12 Disallow: /webapp/wcs/stores/servlet/AddToTrolleyAjax 19 Disallow: /webapp/wcs/stores/servlet/OrderItemDisplay 31 Disallow: /webapp/wcs/stores/servlet/AccessMyAccount 33 Disallow: /webapp/wcs/stores/servlet/OneClickReserve [all …]
|