Changeset 2938 for trunk/Ohana/src/opihi/mana/rawstars.c
- Timestamp:
- Jan 8, 2005, 2:45:18 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/mana/rawstars.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/mana/rawstars.c
r2843 r2938 7 7 double Raper, Rinner, Router; 8 8 Vector *xp, *yp; 9 Vector *xc, *yc, *sx, *sy, *sxy, *zs, *z p, *sk;9 Vector *xc, *yc, *sx, *sy, *sxy, *zs, *zc, *sk; 10 10 Buffer *buff; 11 11 … … 44 44 if ((xc = SelectVector ("xc", ANYVECTOR, TRUE)) == NULL) return (FALSE); 45 45 if ((yc = SelectVector ("yc", ANYVECTOR, TRUE)) == NULL) return (FALSE); 46 if ((zc = SelectVector ("zc", ANYVECTOR, TRUE)) == NULL) return (FALSE); 47 if ((zs = SelectVector ("zs", ANYVECTOR, TRUE)) == NULL) return (FALSE); 48 if ((sk = SelectVector ("sk", ANYVECTOR, TRUE)) == NULL) return (FALSE); 46 49 if ((sx = SelectVector ("sx", ANYVECTOR, TRUE)) == NULL) return (FALSE); 47 50 if ((sy = SelectVector ("sy", ANYVECTOR, TRUE)) == NULL) return (FALSE); 48 51 if ((sxy = SelectVector ("sxy", ANYVECTOR, TRUE)) == NULL) return (FALSE); 49 if ((zs = SelectVector ("zs", ANYVECTOR, TRUE)) == NULL) return (FALSE);50 if ((zp = SelectVector ("zp", ANYVECTOR, TRUE)) == NULL) return (FALSE);51 if ((sk = SelectVector ("sk", ANYVECTOR, TRUE)) == NULL) return (FALSE);52 52 53 53 Nx = buff[0].matrix.Naxis[0]; … … 61 61 REALLOCATE (sxy[0].elements, float, Np); 62 62 REALLOCATE (zs[0].elements, float, Np); 63 REALLOCATE (z p[0].elements, float, Np);63 REALLOCATE (zc[0].elements, float, Np); 64 64 REALLOCATE (sk[0].elements, float, Np); 65 65 xc[0].Nelements = yc[0].Nelements = sx[0].Nelements = Np; 66 sy[0].Nelements = zs[0].Nelements = z p[0].Nelements = Np;66 sy[0].Nelements = zs[0].Nelements = zc[0].Nelements = Np; 67 67 sxy[0].Nelements = sk[0].Nelements = Np; 68 68 … … 83 83 &sxy[0].elements[i], 84 84 &zs[0].elements[i], 85 &z p[0].elements[i],85 &zc[0].elements[i], 86 86 &sk[0].elements[i]); 87 87 }
Note:
See TracChangeset
for help on using the changeset viewer.
