Home
last modified time | relevance | path

Searched refs:fieldxy (Results 1 – 25 of 32) sorted by relevance

12

/dports/astro/astrometry/astrometry.net-0.85/include/astrometry/
H A Dfit-wcs.h13 const double* fieldxy,
32 const double* fieldxy,
43 const double* fieldxy,
64 const double* fieldxy,
71 const double* fieldxy,
90 const double* fieldxy,
97 const double* fieldxy,
H A Dtweak2.h44 sip_t* tweak2(const double* fieldxy, int Nfield,
H A Dmatchobj.h100 double* fieldxy; member
H A Dverify.h40 verify_field_t* verify_field_preprocess(const starxy_t* fieldxy);
H A Dsolver.h48 starxy_t* fieldxy; member
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/include/astrometry/
H A Dfit-wcs.h13 const double* fieldxy,
32 const double* fieldxy,
43 const double* fieldxy,
64 const double* fieldxy,
71 const double* fieldxy,
90 const double* fieldxy,
97 const double* fieldxy,
H A Dtweak2.h44 sip_t* tweak2(const double* fieldxy, int Nfield,
H A Dmatchobj.h96 double* fieldxy; member
H A Dverify.h40 verify_field_t* verify_field_preprocess(const starxy_t* fieldxy);
/dports/astro/astrometry/astrometry.net-0.85/util/
H A Dfit-wcs-main.c62 double* fieldxy = NULL; in main() local
202 fieldxy = starxy_to_xy_array(&xy, NULL); in main()
203 if (!fieldxy) { in main()
210 if (fit_tan_wcs(xyz, fieldxy, N, &(wcs.wcstan), NULL)) { in main()
217 W = MAX(W, (int)ceil(fieldxy[2*i + 0])); in main()
222 H = MAX(H, (int)ceil(fieldxy[2*i + 1])); in main()
227 fit_sip_wcs_2(xyz, fieldxy, NULL, N, in main()
256 if (fieldxy) in main()
257 free(fieldxy); in main()
H A Dfit-wcs.c24 const double* fieldxy, in fit_sip_wcs_2() argument
77 const double* fieldxy, in fit_sip_wcs() argument
245 u = fieldxy[2*i + 0] - tanin->crpix[0]; in fit_sip_wcs()
246 v = fieldxy[2*i + 1] - tanin->crpix[1]; in fit_sip_wcs()
431 const double* fieldxy, in fit_sip_coefficients() argument
513 x = fieldxy[2*i ] - tanin->crpix[0]; in fit_sip_coefficients()
514 y = fieldxy[2*i+1] - tanin->crpix[1]; in fit_sip_coefficients()
673 const double* fieldxy, in fit_tan_wcs_solve() argument
722 field_cm[0] += w * fieldxy[i*2 + 0]; in fit_tan_wcs_solve()
723 field_cm[1] += w * fieldxy[i*2 + 1]; in fit_tan_wcs_solve()
[all …]
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/util/
H A Dfit-wcs.c24 const double* fieldxy, in fit_sip_wcs_2() argument
77 const double* fieldxy, in fit_sip_wcs() argument
245 u = fieldxy[2*i + 0] - tanin->crpix[0]; in fit_sip_wcs()
246 v = fieldxy[2*i + 1] - tanin->crpix[1]; in fit_sip_wcs()
431 const double* fieldxy, in fit_sip_coefficients() argument
513 x = fieldxy[2*i ] - tanin->crpix[0]; in fit_sip_coefficients()
514 y = fieldxy[2*i+1] - tanin->crpix[1]; in fit_sip_coefficients()
673 const double* fieldxy, in fit_tan_wcs_solve() argument
722 field_cm[0] += w * fieldxy[i*2 + 0]; in fit_tan_wcs_solve()
723 field_cm[1] += w * fieldxy[i*2 + 1]; in fit_tan_wcs_solve()
[all …]
/dports/astro/astrometry/astrometry.net-0.85/solver/
H A Dtweak2.c177 #define TWEAK_DEBUG_PLOT(name, W, H, Nfield, fieldxy, fieldsig2, \ argument
179 makeplot(tdebugfn(name), NULL, W, H, Nfield, fieldxy, fieldsig2, \
185 #define TWEAK_DEBUG_PLOT(name, W, H, Nfield, fieldxy, fieldsig2, \ argument
195 sip_t* tweak2(const double* fieldxy, int Nfield, in tweak2() argument
339 R2 = distsq(qc, fieldxy + 2*i, 2); in tweak2()
360 fieldxy, fieldsigma2s, Nfield, in tweak2()
390 TWEAK_DEBUG_PLOT(name, W, H, Nfield, fieldxy, fieldsigma2s, in tweak2()
409 memcpy(matchxy + Nmatch*2, fieldxy + i*2, 2*sizeof(double)); in tweak2()
518 R2 = distsq(qc, fieldxy + 2*i, 2); in tweak2()
524 fieldxy, fieldsigma2s, Nfield, in tweak2()
[all …]
H A Dsolver.c147 Nxy = starxy_n(sp->fieldxy); in solver_tweak2()
268 if (sp->fieldxy) { in solver_log_params()
272 starxy_getx(sp->fieldxy, i), starxy_gety(sp->fieldxy, i), in solver_log_params()
273 sp->fieldxy->flux ? starxy_get_flux(sp->fieldxy, i) : 0.0); in solver_log_params()
445 solver->fieldxy = NULL; in solver_cleanup_field()
665 solver->fieldxy->x[i], solver->fieldxy->y[i], in solver_preprocess_field()
689 if (solver->fieldxy) in solver_free_field()
690 starxy_free(solver->fieldxy); in solver_free_field()
691 solver->fieldxy = NULL; in solver_free_field()
701 return solver->fieldxy; in solver_get_field()
[all …]
H A Dwhynot.c304 double* fieldxy; in main() local
340 fieldxy = starxy_to_xy_array(xy, NULL); in main()
443 c.fieldx = fieldxy[2*res->inds[k]+0]; in main()
444 c.fieldy = fieldxy[2*res->inds[k]+1]; in main()
482 fxy = fieldxy + 2*j; in main()
712 plot_xy_vals(pxy, fieldxy[2*k+0], fieldxy[2*k+1]); in main()
882 mo.quadpix[k*2 + 0] = fieldxy[find*2 + 0]; in main()
934 fxy = fieldxy + 2*field; in main()
1047 fxy = fieldxy + 2*j; in main()
1162 plot_xy_vals(pxy, fieldxy[2*k+0], fieldxy[2*k+1]); in main()
[all …]
H A Dwhynot.py60 fieldxy = vstack((field.x, field.y)).T
61 print('field', fieldxy.shape)
63 (cinds, cdists) = match(pix, fieldxy, rad)
H A Dcontrol-program.c127 mymatch->fieldxy = malloc(mymatch->nfield * 2 * sizeof(double)); in record_match_callback()
129 memcpy(mymatch->fieldxy, solver->vf->xy, in record_match_callback()
463 fx = match->fieldxy[2*ti+0]; in main()
464 fy = match->fieldxy[2*ti+1]; in main()
H A Dverify-paths.c190 starxy_t* fieldxy; in main() local
265 fieldxy = xylist_read_field(xyls, NULL); in main()
266 if (!fieldxy) { in main()
296 vf = verify_field_preprocess(fieldxy); in main()
647 starxy_free(fieldxy); in main()
H A Donefield.c754 mymo->fieldxy = malloc(mymo->nfield * 2 * sizeof(double)); in record_match_callback()
756 memcpy(mymo->fieldxy, bp->solver.vf->xy, mymo->nfield * 2 * sizeof(double)); in record_match_callback()
1054 if (mo->fieldxy) { in onefield_matchobj_deep_copy()
1055 dest->fieldxy = malloc(mo->nfield * 2 * sizeof(double)); in onefield_matchobj_deep_copy()
1056 memcpy(dest->fieldxy, mo->fieldxy, mo->nfield * 2 * sizeof(double)); in onefield_matchobj_deep_copy()
1086 free(mo->fieldxy); in onefield_free_matchobj()
1094 mo->fieldxy = NULL; in onefield_free_matchobj()
1455 fx = mo->fieldxy[2*ti+0]; in write_corr_file()
1456 fy = mo->fieldxy[2*ti+1]; in write_corr_file()
H A Dtweak.c591 double* fieldxy = malloc(M * 2 * sizeof(double)); in do_sip_tweak() local
601 fieldxy[2*i + 0] = t->x[imi]; in do_sip_tweak()
602 fieldxy[2*i + 1] = t->y[imi]; in do_sip_tweak()
610 result = fit_sip_wcs(starxyz, fieldxy, weights, M, in do_sip_tweak()
614 free(fieldxy); in do_sip_tweak()
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/blind/
H A Dtweak2.c177 #define TWEAK_DEBUG_PLOT(name, W, H, Nfield, fieldxy, fieldsig2, \ argument
179 makeplot(tdebugfn(name), NULL, W, H, Nfield, fieldxy, fieldsig2, \
185 #define TWEAK_DEBUG_PLOT(name, W, H, Nfield, fieldxy, fieldsig2, \ argument
195 sip_t* tweak2(const double* fieldxy, int Nfield, in tweak2() argument
340 R2 = distsq(qc, fieldxy + 2*i, 2); in tweak2()
361 fieldxy, fieldsigma2s, Nfield, in tweak2()
391 TWEAK_DEBUG_PLOT(name, W, H, Nfield, fieldxy, fieldsigma2s, in tweak2()
410 memcpy(matchxy + Nmatch*2, fieldxy + i*2, 2*sizeof(double)); in tweak2()
528 R2 = distsq(qc, fieldxy + 2*i, 2); in tweak2()
534 fieldxy, fieldsigma2s, Nfield, in tweak2()
[all …]
H A Dsolver.c153 Nxy = starxy_n(sp->fieldxy); in solver_tweak2()
276 starxy_getx(sp->fieldxy, i), starxy_gety(sp->fieldxy, i), in solver_log_params()
277 sp->fieldxy->flux ? starxy_get_flux(sp->fieldxy, i) : 0.0); in solver_log_params()
330 *x = starxy_getx(sp->fieldxy, index); in field_getxy()
331 *y = starxy_gety(sp->fieldxy, index); in field_getxy()
424 if (s->fieldxy) in solver_set_field()
425 starxy_free(s->fieldxy); in solver_set_field()
426 s->fieldxy = field; in solver_set_field()
441 solver->fieldxy = NULL; in solver_cleanup_field()
661 return solver->fieldxy; in solver_get_field()
[all …]
H A Dblind.c822 mymo->fieldxy = malloc(mymo->nfield * 2 * sizeof(double)); in record_match_callback()
824 memcpy(mymo->fieldxy, bp->solver.vf->xy, mymo->nfield * 2 * sizeof(double)); in record_match_callback()
995 if (!sp->fieldxy) { in solve_fields()
1137 if (mo->fieldxy) { in blind_matchobj_deep_copy()
1138 dest->fieldxy = malloc(mo->nfield * 2 * sizeof(double)); in blind_matchobj_deep_copy()
1139 memcpy(dest->fieldxy, mo->fieldxy, mo->nfield * 2 * sizeof(double)); in blind_matchobj_deep_copy()
1169 free(mo->fieldxy); in blind_free_matchobj()
1177 mo->fieldxy = NULL; in blind_free_matchobj()
1542 fx = mo->fieldxy[2*ti+0]; in write_corr_file()
1543 fy = mo->fieldxy[2*ti+1]; in write_corr_file()
H A Dtweak.c591 double* fieldxy = malloc(M * 2 * sizeof(double)); in do_sip_tweak() local
601 fieldxy[2*i + 0] = t->x[imi]; in do_sip_tweak()
602 fieldxy[2*i + 1] = t->y[imi]; in do_sip_tweak()
610 result = fit_sip_wcs(starxyz, fieldxy, weights, M, in do_sip_tweak()
614 free(fieldxy); in do_sip_tweak()
/dports/games/openttd/openttd-12.1/src/
H A Dindustry_gui.cpp2994 fieldxy->y = row; in CalculatePositionInWidget()
2997 fieldxy->x = num_columns - column; in CalculatePositionInWidget()
3000 fieldxy->x = column; in CalculatePositionInWidget()
3010 Point fieldxy, xy; in OnClick() local
3013 const CargoesField *fld = this->fields[fieldxy.y].columns + fieldxy.x; in OnClick()
3020 … CargoesField *lft = (fieldxy.x > 0) ? this->fields[fieldxy.y].columns + fieldxy.x - 1 : nullptr; in OnClick()
3021 … CargoesField *rgt = (fieldxy.x < 4) ? this->fields[fieldxy.y].columns + fieldxy.x + 1 : nullptr; in OnClick()
3097 Point fieldxy, xy; in OnTooltip() local
3100 const CargoesField *fld = this->fields[fieldxy.y].columns + fieldxy.x; in OnTooltip()
3104 CargoesField *lft = (fieldxy.x > 0) ? this->fields[fieldxy.y].columns + fieldxy.x - 1 : nullptr; in OnTooltip()
[all …]

12