Changeset 419 in Sophya


Ignore:
Timestamp:
Sep 23, 1999, 1:09:36 PM (26 years ago)
Author:
ansari
Message:

nouvelles tois

Location:
trunk/Poubelle/archTOI.old
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/archeopsfile.cc

    r418 r419  
    10791079
    10801080
    1081 double ArcheopsFile::getAzimut(int imesure) {return imesure*360/nEchBlock();}
     1081double ArcheopsFile::getAzimut(int imesure) {return 0;}
    10821082double ArcheopsFile::getPendDirect(int /*imesure*/) {return 0;}
    10831083double ArcheopsFile::getPendOrth(int /*imesure*/) {return 0;}
    1084 double ArcheopsFile::getAlpha(int /*imesure*/) {return 0;}
    1085 double ArcheopsFile::getDelta(int /*imesure*/) {return 0;}
     1084double ArcheopsFile::getAlphaAxis(int /*imesure*/) {return 0;}
     1085double ArcheopsFile::getDeltaAxis(int /*imesure*/) {return 0;}
  • trunk/Poubelle/archTOI.old/archeopsfile.h

    r418 r419  
    168168  double getPendOrth(int imesure);
    169169 
    170   double getAlpha(int imesure);
    171   double getDelta(int imesure);
     170  double getAlphaAxis(int imesure);
     171  double getDeltaAxis(int imesure);
    172172 
    173173  static double decodeMJD(string const& dateString); // sans tenir compte de TU-TLeg
  • trunk/Poubelle/archTOI.old/toiiter.cc

    r416 r419  
    1616#include <dirent.h>
    1717#include <iostream.h>
     18#include "templocator.h"
    1819
    1920// Format bloc GPS
     
    238239        break;
    239240      case azimut:
    240         file->needSSTProcessMask(SSTHandler::findPeriod);
    241         trigMask |= block_sst_mask;
     241        trigMask |= block_bolo_mask;
     242        //file->needSSTProcessMask(SSTHandler::findPeriod);
     243        //trigMask |= block_sst_mask;
    242244        break;
    243245      case sstStarCnt:
     
    270272      case alphaBolo:
    271273      case deltaBolo:
    272         file->needSSTProcessMask(SSTHandler::findAxis);
    273         trigMask |= block_sst_mask;
     274        trigMask |= block_bolo_mask;
     275        //file->needSSTProcessMask(SSTHandler::findAxis);
     276        //trigMask |= block_sst_mask;
    274277        break;
    275278      }
     
    484487   case alphaAxis:
    485488   case deltaAxis:
    486      return false;
     489     return true;
    487490     //return (file->lastGPS() != NULL && file->lastSST() != NULL);
    488491   case alphaSst:
     
    587590     return tSid.getLST(getMJD());
    588591   case azimut:
    589      return file->getAzimut(imes);
    590592   case alphaAxis:
    591      return file->getAlpha(imes);
    592    case deltaAxis:
    593      return file->getDelta(imes);
     593   case deltaAxis: {
     594        double lat, lon;
     595        if (auxGPS) {
     596          double alti;
     597          auxGPS->getLocation(getMJD(), lat, lon, alti);
     598        } else {
     599          lon = file->getGPSLong();
     600          lat = file->getGPSLat();
     601        }
     602        tSid.setLongitude(lon);
     603        double ts = tSid.getLST(getMJD());
     604        tempLocator.setEarthPos(lon, lat);
     605        tempLocator.setTSid(ts);
     606        if ((kind) == alphaAxis) return tempLocator.getAlphaZenith();
     607        if ((kind) == deltaAxis) return tempLocator.getDeltaZenith();
     608        return 0;
     609     }
    594610   }
    595611   return -1;
  • trunk/Poubelle/archTOI.old/toiiter.h

    r416 r419  
    4343  gyroSpeed,     // vitesse gyro, deg/s, index = 0,1,2, calibree...
    4444  gpsTime,       // temps fourni par GPS
    45   longitude,     // position ballon, degrees
    46   latitude,      // position ballon, degrees
     45  longitude,     // position ballon, degrees  +=EST
     46  latitude,      // position ballon, degrees  +=NORD
    4747  altitude,      // position ballon, m
    4848  tsid,          // temps sideral en secondes
Note: See TracChangeset for help on using the changeset viewer.