IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16029


Ignore:
Timestamp:
Jan 7, 2008, 4:43:32 AM (18 years ago)
Author:
eugene
Message:

hack to avoid M31 bulge: definitely need a better solution...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroLoadRefstars.c

    r15963 r16029  
    155155        }
    156156
     157        // XXX VERY temporary hack to avoid M31 bulge
     158        if ((fabs(ref->sky->r - 0.186438) < 0.002) && (fabs(ref->sky->d - 0.720270) < 0.002)) {
     159          psFree (ref);
     160          psFree (row);
     161          continue;
     162        }
     163
    157164        psArrayAdd (refstars, 100, ref);
    158165        psFree (ref);
     
    181188        ref->Mag      = psMetadataLookupF32 (&status, row, "MAG");
    182189
     190        // XXX VERY temporary hack to avoid M31 bulge
     191        if ((fabs(ref->sky->r - 0.186438) < 0.002) && (fabs(ref->sky->d - 0.720270) < 0.002)) {
     192          psFree (ref);
     193          psFree (row);
     194          continue;
     195        }
     196
    183197        psArrayAdd (refstars, 100, ref);
    184198        psFree (ref);
Note: See TracChangeset for help on using the changeset viewer.