Home
last modified time | relevance | path

Searched refs:outwcs (Results 1 – 15 of 15) sorted by relevance

/dports/astro/astrometry/astrometry.net-0.85/util/
H A Dwcs-resample.c33 anwcs_t* outwcs; in resample_wcs_files() local
56 outwcs = anwcs_open(outwcsfn, outwcsext); in resample_wcs_files()
57 if (!outwcs) { in resample_wcs_files()
63 anwcs_print(outwcs, stdout); in resample_wcs_files()
65 outW = anwcs_imagew(outwcs); in resample_wcs_files()
66 outH = anwcs_imageh(outwcs); in resample_wcs_files()
135 anwcs_add_to_header(outwcs, hdr); in resample_wcs_files()
147 anwcs_free(outwcs); in resample_wcs_files()
260 W = anwcs_imagew(outwcs); in resample_wcs()
261 H = anwcs_imageh(outwcs); in resample_wcs()
[all …]
H A Dresample-main.c45 double* outimg, int outW, int outH, anwcs_t* outwcs, in resample_image() argument
64 if (anwcs_pixelxy2radec(outwcs, j+1, i+1, &ra, &dec)) { in resample_image()
144 anwcs_t* outwcs; in main() local
219 outwcs = anwcs_open(outwcsfn, fitsext); in main()
220 if (!outwcs) { in main()
224 outpixscale = anwcs_pixel_scale(outwcs); in main()
232 outW = anwcs_imagew(outwcs); in main()
233 outH = anwcs_imageh(outwcs); in main()
242 outimg, outW, outH, outwcs, in main()
H A Dcoadd-main.c50 anwcs_t* outwcs; in main() local
127 outwcs = anwcs_open(outwcsfn, outwcsext); in main()
128 if (!outwcs) { in main()
133 logmsg("Output image will be %i x %i\n", (int)anwcs_imagew(outwcs), (int)anwcs_imageh(outwcs)); in main()
135 coadd = coadd_new(anwcs_imagew(outwcs), anwcs_imageh(outwcs)); in main()
137 coadd->wcs = outwcs; in main()
304 anwcs_free(outwcs); in main()
H A Dwcs-resample.h18 const anwcs_t* outwcs, float* outimg, int outW, int outH,
23 const anwcs_t* outwcs, unsigned char* outimg,
H A Dwcs-to-tan.c55 tan_t outwcs; in main() local
177 if (fit_tan_wcs(xyz, xy, N*N, &outwcs, NULL)) { in main()
182 if (tan_write_to_file(&outwcs, outfn)) { in main()
H A Dutil.i2422 static int tan_wcs_resample(tan_t* inwcs, tan_t* outwcs,
2453 anwcs_t* outanwcs = anwcs_new_tan(outwcs);
H A Dc.py1991 def tan_wcs_resample(inwcs, outwcs, py_inimg, py_outimg, weighted, lorder): argument
1992 return _util.tan_wcs_resample(inwcs, outwcs, py_inimg, py_outimg, weighted, lorder)
H A Dutil.py1991 def tan_wcs_resample(inwcs, outwcs, py_inimg, py_outimg, weighted, lorder): argument
1992 return _util.tan_wcs_resample(inwcs, outwcs, py_inimg, py_outimg, weighted, lorder)
H A Dutil_wrap.c5051 static int tan_wcs_resample(tan_t* inwcs, tan_t* outwcs, in tan_wcs_resample() argument
5082 anwcs_t* outanwcs = anwcs_new_tan(outwcs); in tan_wcs_resample()
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/util/
H A Dwcs-resample.c155 const anwcs_t* outwcs, const anwcs_t* inwcs, in find_overlap_grid() argument
171 if (anwcs_pixelxy2radec(outwcs, x+1, y+1, &ra, &dec)) in find_overlap_grid()
217 const anwcs_t* outwcs, float* outimg, int outW, int outH, in resample_wcs() argument
247 anwcs_xyz2pixelxy(outwcs, xyz, &xx, &yy)) { in resample_wcs()
260 W = anwcs_imagew(outwcs); in resample_wcs()
261 H = anwcs_imageh(outwcs); in resample_wcs()
281 if (anwcs_pixelxy2xyz(outwcs, i+1, j+1, xyz) || in resample_wcs()
311 const anwcs_t* outwcs, unsigned char* outimg, in resample_wcs_rgba() argument
319 bib = find_overlap_grid(B, outW, outH, outwcs, inwcs, &BW, &BH); in resample_wcs_rgba()
338 if (anwcs_pixelxy2xyz(outwcs, i+1, j+1, xyz) || in resample_wcs_rgba()
H A Dwcs-resample.h18 const anwcs_t* outwcs, float* outimg, int outW, int outH,
23 const anwcs_t* outwcs, unsigned char* outimg,
/dports/astro/gnuastro/gnuastro-0.16/bin/fits/
H A Dkeywords.c474 struct wcsprm *inwcs, *outwcs=NULL; in keywords_wcs_convert() local
523 outwcs=gal_wcs_coordsys_convert(inwcs, p->coordsysid); in keywords_wcs_convert()
525 outwcs=gal_wcs_distortion_convert(inwcs, p->distortionid, dsize); in keywords_wcs_convert()
547 data->wcs=outwcs; in keywords_wcs_convert()
556 gal_wcs_write(outwcs, output, p->wcsdistortion, NULL, PROGRAM_NAME); in keywords_wcs_convert()
560 wcsfree(outwcs); in keywords_wcs_convert()
/dports/astro/gnuastro/gnuastro-0.16/lib/
H A Dwcs.c1210 struct wcsprm *outwcs=NULL; in gal_wcs_distortion_convert() local
1218 if(indisptype==outdisptype) outwcs=gal_wcs_copy(inwcs); in gal_wcs_distortion_convert()
1224 case GAL_WCS_DISTORTION_INVALID: outwcs=gal_wcs_copy(inwcs); break; in gal_wcs_distortion_convert()
1231 outwcs=gal_wcsdistortion_sip_to_tpv(inwcs); in gal_wcs_distortion_convert()
1250 outwcs=gal_wcsdistortion_tpv_to_sip(inwcs, fitsize); in gal_wcs_distortion_convert()
1278 return outwcs; in gal_wcs_distortion_convert()
H A Dwcsdistortion.c1905 struct wcsprm *outwcs=NULL; in gal_wcsdistortion_tpv_to_sip() local
1920 status=wcspih(fullheader, nkeys, relax, ctrl, &nreject, &nwcs, &outwcs); in gal_wcsdistortion_tpv_to_sip()
1923 wcsdistortion_set_internalstruct(outwcs, fullheader, fulllen, status, in gal_wcsdistortion_tpv_to_sip()
1927 return outwcs; in gal_wcsdistortion_tpv_to_sip()
1957 struct wcsprm *outwcs=NULL; in gal_wcsdistortion_sip_to_tpv() local
1971 status=wcspih(fullheader, nkeys, relax, ctrl, &nreject, &nwcs, &outwcs); in gal_wcsdistortion_sip_to_tpv()
1974 wcsdistortion_set_internalstruct(outwcs, fullheader, fulllen, status, in gal_wcsdistortion_sip_to_tpv()
1977 return outwcs; in gal_wcsdistortion_sip_to_tpv()
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/tests/
H A Dtest_utils.py100 outwcs = add_stokes_axis_to_wcs(wcs, ii)
101 assert outwcs.wcs.naxis == ndim + 1
102 assert outwcs.wcs.ctype[ii] == 'STOKES'
103 assert outwcs.wcs.cname[ii] == 'STOKES'