IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38663


Ignore:
Timestamp:
Aug 5, 2015, 9:17:54 AM (11 years ago)
Author:
eugene
Message:

reset uRgal,uDgal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150625/Ohana/src/uniphot/src/update_catalog_setgalmodel.c

    r38661 r38663  
    33int update_catalog_setgalmodel (Catalog *catalog) {
    44
    5   off_t i, j, m;
    6 
    7   // choose this number more judiciously...
    8   time_t timeRef = ohana_date_to_sec("2000/01/01,00:00:00");
     5  off_t i, m;
    96
    107  Average *average = catalog[0].average;
     
    1916  // first set the proper motion based on Galactic rotation and solar motion
    2017  for (i = 0; i < catalog[0].Naverage; i++) {
     18
     19    average[i].uRgal = 0.0;
     20    average[i].uDgal = 0.0;
    2121
    2222    if (average[i].Nstarpar == 0) continue;
Note: See TracChangeset for help on using the changeset viewer.