Changeset 40382
- Timestamp:
- Apr 8, 2018, 11:09:06 AM (8 years ago)
- Location:
- trunk/Ohana/src/relastro
- Files:
-
- 1 added
- 5 edited
-
Makefile (modified) (1 diff)
-
include/relastro.h (modified) (2 diffs)
-
src/UpdateStacksWithFit.c (added)
-
src/args.c (modified) (1 diff)
-
src/relastro_images.c (modified) (1 diff)
-
src/relastro_parallel_images.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relastro/Makefile
r39693 r40382 52 52 $(SRC)/UpdateChips.$(ARCH).o \ 53 53 $(SRC)/UpdateStacks.$(ARCH).o \ 54 $(SRC)/UpdateStacksWithFit.$(ARCH).o \ 54 55 $(SRC)/UpdateMosaic.$(ARCH).o \ 55 56 $(SRC)/UpdateObjects.$(ARCH).o \ -
trunk/Ohana/src/relastro/include/relastro.h
r40291 r40382 367 367 int USE_ICRF_POLE; 368 368 369 int FIT_STACKS; 369 370 int REPAIR_STACKS; 370 371 int USE_IMAGE_COORDS_FOR_REPAIR; … … 623 624 int UpdateChips (Catalog *catalog, int Ncatalog, int Nloop); 624 625 int UpdateStacks (Catalog *catalog, int Ncatalog); 626 int UpdateStacksWithFit (Catalog *catalog, int Ncatalog); 625 627 int UpdateMosaic (Catalog *catalog, int Ncatalog); 626 628 int UpdateMeasures (Catalog *catalog, int Ncatalog); -
trunk/Ohana/src/relastro/src/args.c
r40291 r40382 861 861 remove_argument (N, &argc, argv); 862 862 RELASTRO_OP = OP_REPAIR_WARPS; 863 } 864 865 // the default is to only measure the scatter for the stacks, not to perform a new fit 866 FIT_STACKS = FALSE; 867 if ((N = get_argument (argc, argv, "-fit-stacks"))) { 868 remove_argument (N, &argc, argv); 869 FIT_STACKS = TRUE; 863 870 } 864 871 -
trunk/Ohana/src/relastro/src/relastro_images.c
r39926 r40382 87 87 } 88 88 89 // measure scatter for stacks 90 UpdateStacks (catalog, Ncatalog); 89 if (FIT_STACKS) { 90 // model astrometry for stacks 91 UpdateStacksWithFit (catalog, Ncatalog); 92 } else { 93 // measure scatter for stacks 94 UpdateStacks (catalog, Ncatalog); 95 } 91 96 MARKTIME("UpdateStacks: %f sec\n", dtime); 92 97 -
trunk/Ohana/src/relastro/src/relastro_parallel_images.c
r39926 r40382 150 150 } 151 151 152 // measure scatter for stacks 153 UpdateStacks (catalog, Ncatalog); 152 if (FIT_STACKS) { 153 // model astrometry for stacks 154 UpdateStacksWithFit (catalog, Ncatalog); 155 } else { 156 // measure scatter for stacks 157 UpdateStacks (catalog, Ncatalog); 158 } 154 159 LOGRTIME("UpdateStacks on %s, host %d: %f sec\n", myHostName, REGION_HOST_ID, dtime); 155 160
Note:
See TracChangeset
for help on using the changeset viewer.
