Home
last modified time | relevance | path

Searched refs:inwcs (Results 1 – 19 of 19) sorted by relevance

/dports/astro/astrometry/astrometry.net-0.85/util/
H A Dwcs-to-tan.c56 anwcs_t* inwcs = NULL; in main() local
116 inwcs = anwcs_open_wcslib(wcsfn, ext); in main()
118 inwcs = anwcs_open_tan(wcsfn, ext); in main()
120 inwcs = anwcs_open(wcsfn, ext); in main()
122 if (!inwcs) { in main()
128 anwcs_print(inwcs, log_get_fid()); in main()
132 xhi = anwcs_imagew(inwcs); in main()
136 yhi = anwcs_imageh(inwcs); in main()
167 if (anwcs_pixelxy2xyz(inwcs, x, y, xyz + (j*N + i)*3)) { in main()
189 anwcs_free(inwcs); in main()
H A Dwcs-resample.c32 anwcs_t* inwcs; in resample_wcs_files() local
46 inwcs = anwcs_open(inwcsfn, inwcsext); in resample_wcs_files()
47 if (!inwcs) { in resample_wcs_files()
53 anwcs_print(inwcs, stdout); in resample_wcs_files()
97 if (resample_wcs(inwcs, inimg, inW, inH, in resample_wcs_files()
146 anwcs_free(inwcs); in resample_wcs_files()
242 W = anwcs_imagew(inwcs); in resample_wcs()
243 H = anwcs_imageh(inwcs); in resample_wcs()
282 anwcs_xyz2pixelxy(inwcs, xyz, &inx, &iny)) in resample_wcs()
319 bib = find_overlap_grid(B, outW, outH, outwcs, inwcs, &BW, &BH); in resample_wcs_rgba()
[all …]
H A Dresample-main.c44 static void resample_image(const double* img, int W, int H, anwcs_t* inwcs, in resample_image() argument
68 if (anwcs_radec2pixelxy(inwcs, ra, dec, &px, &py)) { in resample_image()
143 anwcs_t* inwcs; in main() local
207 inwcs = anwcs_open(inwcsfn, fitsext); in main()
208 if (!inwcs) { in main()
212 inpixscale = anwcs_pixel_scale(inwcs); in main()
241 resample_image(img, W, H, inwcs, in main()
H A Dcoadd-main.c153 anwcs_t* inwcs; in main() local
191 inwcs = anwcs_open(fn, ext); in main()
192 if (!inwcs) { in main()
196 if (anwcs_pixel_scale(inwcs) == 0) { in main()
200 if (anwcs_imagew(inwcs) != W || anwcs_imageh(inwcs) != H) { in main()
247 coadd_add_image(coadd, img, wt, overallwt, inwcs); in main()
249 anwcs_free(inwcs); in main()
H A Dwcs-resample.h17 int resample_wcs(const anwcs_t* inwcs, const float* inimg, int inW, int inH,
21 int resample_wcs_rgba(const anwcs_t* inwcs, const unsigned char* inimg,
H A Dutil.i2422 static int tan_wcs_resample(tan_t* inwcs, tan_t* outwcs,
2452 anwcs_t* inanwcs = anwcs_new_tan(inwcs);
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
5081 anwcs_t* inanwcs = anwcs_new_tan(inwcs); 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
173 bib[i*BW+j] = anwcs_radec_is_inside_image(inwcs, ra, dec); in find_overlap_grid()
216 int resample_wcs(const anwcs_t* inwcs, const float* inimg, int inW, int inH, in resample_wcs() argument
242 W = anwcs_imagew(inwcs); in resample_wcs()
243 H = anwcs_imageh(inwcs); in resample_wcs()
246 if (anwcs_pixelxy2xyz(inwcs, 1+x * (W-1), 1+y * (H-1), xyz) || in resample_wcs()
282 anwcs_xyz2pixelxy(inwcs, xyz, &inx, &iny)) in resample_wcs()
309 int resample_wcs_rgba(const anwcs_t* inwcs, const unsigned char* inimg, in resample_wcs_rgba() argument
319 bib = find_overlap_grid(B, outW, outH, outwcs, inwcs, &BW, &BH); in resample_wcs_rgba()
339 anwcs_xyz2pixelxy(inwcs, xyz, &inx, &iny)) in resample_wcs_rgba()
H A Dwcs-resample.h17 int resample_wcs(const anwcs_t* inwcs, const float* inimg, int inW, int inH,
21 int resample_wcs_rgba(const anwcs_t* inwcs, const unsigned char* inimg,
/dports/astro/gnuastro/gnuastro-0.16/lib/gnuastro-internal/
H A Dwcsdistortion.h53 gal_wcsdistortion_tpv_to_sip(struct wcsprm *inwcs,
57 gal_wcsdistortion_sip_to_tpv(struct wcsprm *inwcs);
/dports/astro/gnuastro/gnuastro-0.16/lib/gnuastro/
H A Dwcs.h143 gal_wcs_coordsys_identify(struct wcsprm *inwcs);
146 gal_wcs_coordsys_convert(struct wcsprm *inwcs, int coordsysid);
163 gal_wcs_distortion_convert(struct wcsprm *inwcs,
/dports/astro/gnuastro/gnuastro-0.16/bin/fits/
H A Dkeywords.c474 struct wcsprm *inwcs, *outwcs=NULL; in keywords_wcs_convert() local
493 inwcs=gal_wcs_read(p->input->v, p->cp.hdu, p->cp.wcslinearmatrix, in keywords_wcs_convert()
495 if(inwcs==NULL) in keywords_wcs_convert()
506 && gal_wcs_distortion_identify(inwcs)==GAL_WCS_DISTORTION_TPV in keywords_wcs_convert()
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()
559 wcsfree(inwcs); in keywords_wcs_convert()
/dports/astro/gnuastro/gnuastro-0.16/lib/
H A Dwcs.c1206 gal_wcs_distortion_convert(struct wcsprm *inwcs, int outdisptype, in gal_wcs_distortion_convert() argument
1211 int indisptype=gal_wcs_distortion_identify(inwcs); in gal_wcs_distortion_convert()
1214 gal_wcs_decompose_pc_cdelt(inwcs); in gal_wcs_distortion_convert()
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()
H A Dwcsdistortion.c1893 gal_wcsdistortion_tpv_to_sip(struct wcsprm *inwcs, in gal_wcsdistortion_tpv_to_sip() argument
1913 wcsdistortion_calc_tpveq(inwcs, cd, tpvu, tpvv); in gal_wcsdistortion_tpv_to_sip()
1916 fullheader=wcsdistortion_add_sipkeywords(inwcs, fitsize, tpvu, tpvv, in gal_wcsdistortion_tpv_to_sip()
1946 gal_wcsdistortion_sip_to_tpv(struct wcsprm *inwcs) in gal_wcsdistortion_sip_to_tpv() argument
1964 wcsdistortion_calc_sipeq(inwcs, cd, pv1, pv2); in gal_wcsdistortion_sip_to_tpv()
1967 fullheader=wcsdistortion_add_pvkeywords(inwcs, pv1, pv2, &nkeys); in gal_wcsdistortion_sip_to_tpv()
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/
H A Dutils.py466 def non_celestial_pixel_scales(inwcs): argument
482 if inwcs.is_celestial:
485 pccd = inwcs.pixel_scale_matrix
/dports/astro/gnuastro/gnuastro-0.16/doc/
H A Dgnuastro.info-64993 gal_wcs_coordsys_convert (struct wcsprm *inwcs, int
5001 ‘wcsfree(inwcs)’.
5032 gal_wcs_distortion_convert(struct wcsprm *inwcs, int
5060 inwcs=gal_wcs_read("image.fits", "1", 0, &nwcs);
5061 data->wcs=gal_wcs_distortion_convert(inwcs, GAL_WCS_DISTORTION_TPV,
5063 wcsfree(inwcs);
H A Dgnuastro.texi27452 @deftypefun {struct wcsprm *} gal_wcs_coordsys_convert (struct wcsprm @code{*inwcs}, int @code{coor…
27455 …se the WCSLIB library function @code{wcsfree} to free the input, for example @code{wcsfree(inwcs)}.
27478 @deftypefun {struct wcsprm *} gal_wcs_distortion_convert(struct wcsprm @code{*inwcs}, int @code{out…
27497 inwcs=gal_wcs_read("image.fits", "1", 0, &nwcs);
27498 data->wcs=gal_wcs_distortion_convert(inwcs, GAL_WCS_DISTORTION_TPV,
27500 wcsfree(inwcs);