Changeset 37395
- Timestamp:
- Sep 18, 2014, 3:46:32 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src
- Files:
-
- 9 added
- 11 edited
-
addstar/include/addstar.h (modified) (1 diff)
-
addstar/include/loadstarpar.h (added)
-
addstar/src/args_loadstarpar.c (modified) (2 diffs)
-
addstar/src/find_matches_starpar.c (added)
-
addstar/src/loadstarpar.c (modified) (2 diffs)
-
addstar/src/loadstarpar_catalog.c (added)
-
addstar/src/loadstarpar_client.c (added)
-
addstar/src/loadstarpar_io.c (added)
-
addstar/src/loadstarpar_make_subset.c (added)
-
addstar/src/loadstarpar_rawdata.c (modified) (2 diffs)
-
addstar/src/loadstarpar_readstars.c (added)
-
addstar/src/loadstarpar_remote_hosts.c (added)
-
addstar/src/loadstarpar_save_remote.c (added)
-
libautocode/def/average-ps1-v5.d (modified) (2 diffs)
-
libautocode/def/average.d (modified) (2 diffs)
-
libautocode/def/starpar.d (modified) (1 diff)
-
libdvo/include/dvo.h (modified) (1 diff)
-
libdvo/src/coordops.c (modified) (2 diffs)
-
libdvo/src/dvo_catalog.c (modified) (3 diffs)
-
libdvo/src/dvo_convert_PS1_V5.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/addstar/include/addstar.h
r37378 r37395 20 20 # define IN_REGION(R,D) ( \ 21 21 ((D) >= region[0].Dmin) && ((D) < region[0].Dmax) && \ 22 ((R) >= region[0].Rmin) && ((R) < region[0].Rmax))22 ((R) >= region[0].Rmin) && ((R) < region[0].Rmax)) 23 23 24 24 /* grab named photcode */ -
branches/eam_branches/ipp-20140904/Ohana/src/addstar/src/args_loadstarpar.c
r37394 r37395 85 85 } 86 86 87 AddstarClientOptions args_loadstarpar_client (int argc, char **argv, AddstarClientOptions options) { 88 89 int N; 90 91 /* check for help request */ 92 if (get_argument (argc, argv, "-help") || 93 get_argument (argc, argv, "-h")) { 94 help (); 95 } 96 97 PARALLEL = FALSE; 98 PARALLEL_MANUAL = FALSE; 99 PARALLEL_SERIAL = FALSE; 100 101 HOST_ID = 0; 102 if ((N = get_argument (argc, argv, "-hostID"))) { 103 remove_argument (N, &argc, argv); 104 HOST_ID = atoi (argv[N]); 105 remove_argument (N, &argc, argv); 106 } 107 if (!HOST_ID) help_client(); 108 109 HOSTDIR = NULL; 110 if ((N = get_argument (argc, argv, "-hostdir"))) { 111 remove_argument (N, &argc, argv); 112 HOSTDIR = strcreate (argv[N]); 113 remove_argument (N, &argc, argv); 114 } 115 if (!HOSTDIR) help_client(); 116 117 CPT_FILE = NULL; 118 if ((N = get_argument (argc, argv, "-cpt"))) { 119 remove_argument (N, &argc, argv); 120 CPT_FILE = strcreate (argv[N]); 121 remove_argument (N, &argc, argv); 122 } 123 if (!CPT_FILE) help_client(); 124 125 INPUT = NULL; 126 if ((N = get_argument (argc, argv, "-input"))) { 127 remove_argument (N, &argc, argv); 128 INPUT = strcreate (argv[N]); 129 remove_argument (N, &argc, argv); 130 } 131 if (!INPUT) help_client(); 132 133 /* we do not allow a subset to be extracted -- all or nothing, babe */ 134 UserPatch.Rmin = 0; 135 UserPatch.Rmax= 360; 136 UserPatch.Dmin = -90; 137 UserPatch.Dmax = +90; 138 139 /* only add to existing objects */ 140 options.only_match = FALSE; 141 if ((N = get_argument (argc, argv, "-only-match"))) { 142 options.only_match = TRUE; 143 remove_argument (N, &argc, argv); 144 } 145 /* replace measurement, don't duplicate (ref/cat only) */ 146 options.replace = FALSE; 147 if ((N = get_argument (argc, argv, "-replace"))) { 148 options.replace = TRUE; 149 remove_argument (N, &argc, argv); 150 } 151 152 /* extra error messages */ 153 VERBOSE = FALSE; 154 if ((N = get_argument (argc, argv, "-v"))) { 155 VERBOSE = TRUE; 156 remove_argument (N, &argc, argv); 157 } 158 159 /* other addstar options which cannot be used in loadstarpar */ 160 options.photcode = 0; 161 options.timeref = 0; 162 options.mosaic = FALSE; 163 options.skip_missed = FALSE; 164 options.closest = FALSE; 165 options.nosort = FALSE; 166 options.update = FALSE; 167 options.only_images = FALSE; 168 options.calibrate = FALSE; 169 options.quality_airmass = FALSE; 170 ACCEPT_ASTROM = FALSE; 171 FORCE_READ = FALSE; 172 TEXTMODE = FALSE; 173 SUBPIX = FALSE; 174 DUMP = NULL; 175 176 if (argc != 1) { 177 fprintf (stderr, "USAGE: loadstarpar_client -cpt (file) -input (file)\n"); 178 exit (2); 179 } 180 return (options); 181 } 182 87 183 static void help () { 88 184 … … 98 194 exit (2); 99 195 } 196 197 static void help_client () { 198 199 fprintf (stderr, "USAGE: loadstarpar_client -D CATDIR catdir -hostID ID -hostdir (dir) -cpt (filename) -input (input) [options]\n"); 200 fprintf (stderr, " add data from stellar parameter file to DVO\n\n"); 201 202 fprintf (stderr, " optional flags:\n"); 203 fprintf (stderr, " -only-match : only add measurements to existing objects\n"); 204 fprintf (stderr, " -replace : replace time/photcode measurements (no duplication)\n"); 205 fprintf (stderr, " -v : verbose mode\n"); 206 fprintf (stderr, " -help : this list\n"); 207 fprintf (stderr, " -h : this list\n\n"); 208 exit (2); 209 } -
branches/eam_branches/ipp-20140904/Ohana/src/addstar/src/loadstarpar.c
r37394 r37395 14 14 15 15 int i; 16 SkyTable *sky;17 SkyList *skylist = NULL;18 16 AddstarClientOptions options; 19 17 … … 23 21 24 22 // load the full sky description table (dvodb must exist) 25 sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, FALSE, SKY_DEPTH, VERBOSE);23 SkyTable *sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, FALSE, SKY_DEPTH, VERBOSE); 26 24 SkyTableSetFilenames (sky, CATDIR, "cpt"); 27 25 26 // load the list of hosts 27 HostTable *hosts = HostTableLoad (CATDIR, sky->hosts); 28 if (!hosts) { 29 fprintf (stderr, "ERROR: failure reading Host Table %s for database %s\n", sky->hosts, CATDIR); 30 exit (1); 31 } 32 28 33 // generate the subset matching the user-selected region 29 skylist = SkyListByPatch (sky, -1, &UserPatch); 30 31 // if we only match to existing (already populated) regions, limit the select to those regions: 32 if (options.existing_regions) { 33 SkyList *tmp; 34 tmp = SkyListExistingSubset (skylist, CATDIR); 35 SkyListFree (skylist); 36 skylist = tmp; 37 } 34 SkyList *skylist = SkyListByPatch (sky, -1, &UserPatch); 38 35 39 36 for (i = 1; i < argc; i++) { 40 37 fprintf (stderr, "loading %s\n", argv[i]); 41 loadstarpar_rawdata (skylist, argv[i], options, ALLSKY);38 loadstarpar_rawdata (skylist, hosts, argv[i], options); 42 39 } 43 40 exit (0); -
branches/eam_branches/ipp-20140904/Ohana/src/addstar/src/loadstarpar_rawdata.c
r37394 r37395 1 1 # include "addstar.h" 2 # include "WISE.h" 3 4 /* WISE raw data tables are not fixed bytes per row. split lines at the RETURN char. 5 * handle fractional lines at the end of each read block 6 */ 2 # include "loadstarpar.h" 7 3 8 4 # define GET_COLUMN(OUT,NAME,TYPE) \ … … 10 6 myAssert (!strcmp(type, #TYPE), "wrong column type"); 11 7 12 int loadstarpar_ rawdata (SkyList *skytable, char *filename, AddstarClientOptions options, int ALLSKY) {8 int loadstarpar_foobar (SkyList *skylistInput, HostTable *hosts, char *filename, AddstarClientOptions options) { 13 9 14 int i, j, verbose; 15 int Nstars, NSTARS, Ntstars, NTSTARS; 16 int Nbyte, Nextra, offset; 10 SkyRegion *region; 17 11 18 double Rmin, Rmax, Dmin, Dmax;12 StarPar_Stars *stars = loadstarpar_readstars (filename, &Nstars); 19 13 20 FILE *f;21 char *buffer, *p, *q;14 // sort the stars by RA 15 loadstarpar_sortStars (stars, Nstars); 22 16 23 Stars **stars; // this is an array of pointers to be consistent with input to find_match_refstars 24 WISE_Stars *tstars; 25 SkyList *skylist; 26 SkyRegion *region; 27 Catalog catalog; 17 // scan through the stars, loading the containing catalogs 18 // skip through table for unsaved stars 19 for (i = 0; i < Nstars; i++) { 20 if (stars[i].flag) continue; 28 21 29 // read in the full FITS files ('cause I don't have a partial read option) 30 f = fopen (filename, "r"); 31 if (f == NULL) Shutdown ("can't read stellar parameter file: %s", filename); 22 // scan forward until we read the UserPatch 23 if (stars[i].R < UserPatch.Rmin) continue; 24 if (stars[i].R > UserPatch.Rmax) break; 25 if (stars[i].D < UserPatch.Dmin) continue; 26 if (stars[i].D > UserPatch.Dmax) continue; 32 27 33 Header header; 34 Matrix matrix; 35 Header theader; 36 FTable ftable; 37 38 // load in PHU segment (ignore) 39 if (!gfits_fread_header (f, &header)) { 40 if (VERBOSE) fprintf (stderr, "can't read image subset header\n"); 41 fclose (f); 42 return NULL; 43 } 44 if (!gfits_fread_matrix (f, &matrix, &header)) { 45 if (VERBOSE) fprintf (stderr, "can't read image subset matrix\n"); 46 gfits_free_header (&header); 47 fclose (f); 48 return NULL; 28 // identify the relevant catalog 29 skylist = SkyRegionByPoint_List (skylistInput, -1, stars[i].R, stars[i].D); 30 if (skylist[0].Nregions == 0) { 31 SkyListFree (skylist); 32 continue; 33 } 34 region = skylist[0].regions[0]; 35 36 // select stars matching this region 37 StarPar_Stars *subset = loadstarpar_make_subset (stars, Nstars, i, region, &Nsubset); 38 39 // In parallel mode, write out the subset to a disk file. Block until a remote host 40 // is available. In serial mode, just match against the appropriate region and save 41 loadstarpar_save_remote (subset, Nsubset, hosts, region); 49 42 } 50 43 51 ftable.header = &theader; 44 // wait for last remote clients to finish 45 harvest_all (); 52 46 53 // load data for this header 54 if (!gfits_load_header (f, &theader)) { 55 fclose (f); 56 return NULL; 57 } 58 if (!gfits_fread_ftable_data (f, &ftable, FALSE)) { 59 fclose (f); 60 return (NULL); 61 } 62 fclose (f); 63 64 // we read the entire block of data, then extract the columns, then set the image structure values. 65 // I free the FITS table data after extracting the colums to avoid having 3 copies in memory. 66 67 char type[16]; 68 69 GET_COLUMN (glat, "l", float); 70 GET_COLUMN (glon, "b", float); 71 72 // free the memory associated with the FITS files 73 gfits_free_header (&header); 74 gfits_free_matrix (&matrix); 75 gfits_free_header (&theader); 76 gfits_free_table (&ftable); 77 78 Rmin = 360.0; 79 Rmax = 360.0; 80 Dmin = 360.0; 81 Dmax = 360.0; 82 83 for (i = 0; i < Nrow; i++) { 84 galactic_to_celestial (&R, &D, glat[i], glon[i]); 85 86 Rmin = MIN (Rmin, R); 87 Rmax = MAX (Rmax, R); 88 Dmin = MIN (Dmin, D); 89 Dmax = MAX (Dmax, D); 90 91 Ntstars ++; 92 CHECK_REALLOCATE (tstars, WISE_Stars, NTSTARS, Ntstars, 10000); 93 } 94 95 // sort the tstars by RA 96 getWISE_sortStars (tstars, Ntstars); 97 98 // scan through the stars, loading the containing catalogs 99 // skip through table for unsaved stars 100 for (i = 0; i < Ntstars; i++) { 101 if (tstars[i].flag) continue; 102 103 // scan forward until we read the UserPatch 104 if (tstars[i].R < UserPatch.Rmin) continue; 105 if (tstars[i].R > UserPatch.Rmax) break; 106 if (tstars[i].D < UserPatch.Dmin) continue; 107 if (tstars[i].D > UserPatch.Dmax) continue; 108 109 // identify the relevant catalog 110 skylist = SkyRegionByPoint_List (skytable, -1, tstars[i].R, tstars[i].D); 111 if (skylist[0].Nregions == 0) { 112 SkyListFree (skylist); 113 continue; 114 } 115 region = skylist[0].regions[0]; 116 if (DEBUG) fprintf (stderr, "writing to %s\n", skylist[0].filename[0]); 117 118 // collect array of (Stars *) stars in a new output catalog 119 Nstars = 0; 120 NSTARS = 3000; 121 ALLOCATE (stars, Stars *, NSTARS); 122 123 // loop over stars in this WISE region that are also in this output region 124 for (j = i; j < Ntstars; j++) { 125 if (tstars[j].flag) continue; 126 127 // check if in skyregion 128 if (tstars[j].R < region[0].Rmin) continue; 129 if (tstars[j].R > region[0].Rmax) break; 130 if (tstars[j].D < region[0].Dmin) continue; 131 if (tstars[j].D > region[0].Dmax) continue; 132 133 // check if in UserPatch 134 if (tstars[j].R < UserPatch.Rmin) continue; 135 if (tstars[j].R > UserPatch.Rmax) break; 136 if (tstars[j].D < UserPatch.Dmin) continue; 137 if (tstars[j].D > UserPatch.Dmax) continue; 138 139 offset = tstars[j].offset; 140 141 ALLOCATE (stars[Nstars+0], Stars, 1); 142 ALLOCATE (stars[Nstars+1], Stars, 1); 143 ALLOCATE (stars[Nstars+2], Stars, 1); 144 ALLOCATE (stars[Nstars+3], Stars, 1); 145 146 InitStar (stars[Nstars+0]); 147 InitStar (stars[Nstars+1]); 148 InitStar (stars[Nstars+2]); 149 InitStar (stars[Nstars+3]); 150 151 stars[Nstars+0][0].average.R = tstars[j].R; 152 stars[Nstars+0][0].average.D = tstars[j].D; 153 stars[Nstars+1][0].average.R = tstars[j].R; 154 stars[Nstars+1][0].average.D = tstars[j].D; 155 stars[Nstars+2][0].average.R = tstars[j].R; 156 stars[Nstars+2][0].average.D = tstars[j].D; 157 stars[Nstars+3][0].average.R = tstars[j].R; 158 stars[Nstars+3][0].average.D = tstars[j].D; 159 160 if (ALLSKY) { 161 loadwise_star_allsky (&stars[Nstars], &buffer[offset], Nbyte - offset); 162 } else { 163 loadwise_star_prelim (&stars[Nstars], &buffer[offset], Nbyte - offset); 164 } 165 166 tstars[j].flag = TRUE; 167 168 Nstars += 4; 169 if (Nstars >= NSTARS - 4) { 170 NSTARS += 4000; 171 REALLOCATE (stars, Stars *, NSTARS); 172 } 173 } 174 175 if (!Nstars) { 176 free (stars); 177 continue; 178 } 179 180 if (DEBUG) fprintf (stderr, "selected %d stars (%10.6f - %10.6f, %10.6f - %10.6f)\n", Nstars, 181 region[0].Rmin, region[0].Rmax, region[0].Dmin, region[0].Dmax); 182 183 if (1) { 184 verbose = VERBOSE; 185 VERBOSE = FALSE; 186 187 // now we have all of the loaded stars in this catalog 188 catalog.filename = skylist[0].filename[0]; 189 catalog.catformat = dvo_catalog_catformat (CATFORMAT); // set the default catformat from config data 190 catalog.catmode = dvo_catalog_catmode (CATMODE); // set the default catmode from config data 191 catalog.catflags = LOAD_AVES | LOAD_MEAS | LOAD_MISS | LOAD_SECF; 192 catalog.Nsecfilt = GetPhotcodeNsecfilt (); 193 194 // an error exit status here is a significant error 195 if (!dvo_catalog_open (&catalog, skylist[0].regions[0], VERBOSE, "w")) { 196 fprintf (stderr, "ERROR: failure to open/create catalog file %s\n", catalog.filename); 197 exit (2); 198 } 199 200 // assume no input star matches an existing star 201 // simply add to the existing table 202 // loadWISE_catalog (&catalog, stars, Nstars); 203 find_matches_refstars (skylist[0].regions[0], stars, Nstars, &catalog, options); 204 // loadWISE_catalog (&catalog, stars, Nstars); 205 206 dvo_catalog_save (&catalog, VERBOSE); 207 dvo_catalog_unlock (&catalog); 208 dvo_catalog_free (&catalog); 209 // free (catalog.filename); 210 // XXX don't free this! it points to an element of the skytable 211 } 212 213 SkyListFree (skylist); 214 for (j = 0; j < Nstars; j++) free (stars[j]); 215 free (stars); 216 VERBOSE = verbose; 217 } 218 free (tstars); 219 if (VERBOSE) fprintf (stderr, "done\n"); 220 221 // at end, p points at the start of last, partial line 222 if (Nextra) memmove (buffer, p, Nextra); 223 } 224 225 if (VERBOSE) fprintf (stderr, "\n"); 226 227 fclose (f); 228 free (buffer); 229 return (TRUE); 47 return TRUE; 230 48 } 231 49 232 /*233 for each WISE file:234 for each data block235 generate a table of: R, D, byte, flag236 for each unsaved star237 find containing catalog238 load catalog239 find all contained stars240 add to catalog241 save catalog242 mark all contained stars243 */244 -
branches/eam_branches/ipp-20140904/Ohana/src/libautocode/def/average-ps1-v5.d
r37246 r37395 47 47 FIELD lensingOffset, OFF_LENSING, int, offset to first lensing obs 48 48 FIELD lensobjOffset, OFF_LENSOBJ, int, offset to mean lensing data 49 FIELD starparOffset, OFF_STARPAR, int, offset to stellar parameter data 49 50 FIELD extendOffset, OFF_EXTEND, int, offset to extended object entry 50 FIELD paramsOffset, OFF_PARAMS, int, offset to stellar parameter data51 51 52 52 FIELD refColorBlue, REF_COLOR_BLUE, float, color of astrometry ref stars … … 57 57 FIELD projectionID, PROJECTION_ID, short, ID of projection for primary skycell 58 58 59 FIELD dummy, DUMMY, int, unassigned bytes 59 FIELD Nstarpar, DUMMY, short, number of stellar parameter entries 60 FIELD dummy, DUMMY, short, unassigned bytes 60 61 61 62 # 'flags' was called 'code' prior to 2009.02.07 -
branches/eam_branches/ipp-20140904/Ohana/src/libautocode/def/average.d
r37246 r37395 47 47 FIELD lensingOffset, OFF_LENSING, int, offset to first lensing obs 48 48 FIELD lensobjOffset, OFF_LENSOBJ, int, offset to mean lensing data 49 FIELD starparOffset, OFF_STARPAR, int, offset to stellar parameter data 49 50 FIELD extendOffset, OFF_EXTEND, int, offset to extended object entry 50 FIELD paramsOffset, OFF_PARAMS, int, offset to stellar parameter data51 51 52 52 FIELD refColorBlue, REF_COLOR_BLUE, float, color of astrometry ref stars … … 57 57 FIELD projectionID, PROJECTION_ID, short, ID of projection for primary skycell 58 58 59 FIELD dummy, DUMMY, int, unassigned bytes 59 FIELD Nstarpar, DUMMY, short, number of stellar parameter entries 60 FIELD dummy, DUMMY, short, unassigned bytes 60 61 61 62 # 'flags' was called 'code' prior to 2009.02.07 -
branches/eam_branches/ipp-20140904/Ohana/src/libautocode/def/starpar.d
r37390 r37395 7 7 FIELD galLat, GAL_LAT, double, galactic latitude 8 8 FIELD galLon, GAL_LON, double, galactic longitude 9 FIELD MKtype, MK_TYPE, float, O0 = 0.0? 10 FIELD Par, PARALLAX, float, 1/pc 11 FIELD dPar, PARALLAX_ERR, float, 1/pc 9 FIELD Ebv, E_BV, float, extinction 10 FIELD dEbv, E_BV_ERR, float, extinction error 11 FIELD DistMag, DISTANCE_MOD, float, mag 12 FIELD dDistMag, DISTANCE_MOD_ERR, float, mag 13 FIELD M_r, M_R_ABS, float, r-band abs magnitude 14 FIELD dM_r, M_R_ABS_ERR, float, r-band abs magnitude error 15 FIELD FeH, F_E_H, float, metallicity 16 FIELD dFeH, F_E_H_ERR, float, metallicity error 12 17 FIELD uRA, U_RA, float, model guess for proper motion 13 18 FIELD uDEC, U_DEC, float, model guess for proper motion -
branches/eam_branches/ipp-20140904/Ohana/src/libdvo/include/dvo.h
r37390 r37395 620 620 int lensobjOffset; // offset to mean lensing data 621 621 int extendOffset; // offset to extended object entry 622 int paramsOffset;// offset to stellar parameter data622 int starparOffset; // offset to stellar parameter data 623 623 float refColorBlue; // color of astrometry ref stars 624 624 float refColorRed; // color of astrometry ref stars -
branches/eam_branches/ipp-20140904/Ohana/src/libdvo/src/coordops.c
r37386 r37395 655 655 656 656 if (status) { 657 if (!gfits_scan (header, "EQUINOX", "%lf", 1, &equinox)) { 658 if (!gfits_scan (header, "EPOCH", "%lf", 1, &equinox)) { 659 equinox = 2000.0; 657 char equinoxString[80]; 658 int haveEquinox = gfits_scan (header, "EQUINOX", "%s", 1, &equinoxString); 659 if (haveEquinox) { 660 // is the string a valid number (it is bad to interpret an error message as year 0.0) 661 char *endptr; 662 equinox = strtod (equinoxString, &endptr); 663 if (endptr == equinoxString) haveEquinox = FALSE; 664 } 665 if (!haveEquinox) { 666 haveEquinox = gfits_scan (header, "EPOCH", "%s", 1, &equinoxString); 667 if (haveEquinox) { 668 // is the string a valid number (it is bad to interpret an error message as year 0.0) 669 char *endptr; 670 equinox = strtod (equinoxString, &endptr); 671 if (endptr == equinoxString) haveEquinox = FALSE; 672 if (!haveEquinox) { 673 equinox = 2000.0; 674 } 660 675 } 661 676 } … … 664 679 } 665 680 } 666 681 667 682 if (!status) { 668 683 // fprintf (stderr, "error getting all elements for coordinate mode %s\n", coords[0].ctype); -
branches/eam_branches/ipp-20140904/Ohana/src/libdvo/src/dvo_catalog.c
r37390 r37395 129 129 average->Nlensing = 0; 130 130 average->Nlensobj = 0; 131 average->Nstarpar = 0; 131 132 average->Nextend = 0; 132 133 … … 135 136 average->lensingOffset = -1; 136 137 average->lensobjOffset = -1; 138 average->starparOffset = -1; 137 139 average->extendOffset = -1; 138 average->paramsOffset = -1;139 140 140 141 average->refColorBlue = NAN; … … 144 145 average->skycellID = 0; 145 146 average->projectionID = 0; 147 146 148 average->dummy = 0; 147 149 -
branches/eam_branches/ipp-20140904/Ohana/src/libdvo/src/dvo_convert_PS1_V5.c
r37390 r37395 191 191 out[i].Nlensing = in[i].Nlensing; 192 192 out[i].Nlensobj = in[i].Nlensobj; 193 out[i].Nstarpar = in[i].Nstarpar; 193 194 out[i].Nextend = in[i].Nextend; 194 195 … … 197 198 out[i].lensingOffset = in[i].lensingOffset; 198 199 out[i].lensobjOffset = in[i].lensobjOffset; 200 out[i].starparOffset = in[i].starparOffset; 199 201 out[i].extendOffset = in[i].extendOffset; 200 out[i].paramsOffset = in[i].paramsOffset;201 202 202 203 out[i].refColorBlue = in[i].refColorBlue; … … 258 259 out[i].Nlensing = in[i].Nlensing; 259 260 out[i].Nlensobj = in[i].Nlensobj; 261 out[i].Nstarpar = in[i].Nstarpar; 260 262 out[i].Nextend = in[i].Nextend; 261 263 … … 264 266 out[i].lensingOffset = in[i].lensingOffset; 265 267 out[i].lensobjOffset = in[i].lensobjOffset; 268 out[i].starparOffset = in[i].starparOffset; 266 269 out[i].extendOffset = in[i].extendOffset; 267 out[i].paramsOffset = in[i].paramsOffset;268 270 269 271 out[i].refColorBlue = in[i].refColorBlue; … … 975 977 out[i].lensingOffset = in[i].lensingOffset; 976 978 out[i].lensobjOffset = in[i].lensobjOffset; 979 out[i].starparOffset = in[i].starparOffset; 977 980 out[i].extendOffset = in[i].extendOffset; 978 out[i].paramsOffset = in[i].paramsOffset;979 981 980 982 out[i].refColorBlue = in[i].refColorBlue;
Note:
See TracChangeset
for help on using the changeset viewer.
