Examples of LpcCentroid


Examples of gaia.cu1.mdb.cu3.localplanecoords.dm.LpcCentroid

    // Read first element from epoch astrometry GOG file
    ArrayList<GaiaRoot> epochAstrometryArrayList = new ArrayList<GaiaRoot>();   
    GbinReaderV2 epochAstrometryReader = new GbinReaderV2 ( GOG_EPOCH_ASTROMETRY_FILE );   
    epochAstrometryReader.readAllToList( epochAstrometryArrayList );
    epochAstrometryReader.close();
    LpcCentroid epochAstrometry = (LpcCentroid) epochAstrometryArrayList.get( component );
   
    // Create epoch astrometry vector in pairs (AL, AC)   
    FovTransitInfo[] transitInfo = epochAstrometry.getTransits();
    double[] vector;
    if (useAc){
     
      //double[] vector = new double[ 2 * transitInfo.length ];
      //for (int i = 0; i < transitInfo.length; i++){
View Full Code Here

Examples of gaia.cu1.mdb.cu3.localplanecoords.dm.LpcCentroid

    // Read first element from epoch astrometry GOG file
    ArrayList<GaiaRoot> epochAstrometryArrayList = new ArrayList<GaiaRoot>();   
    GbinReaderV2 epochAstrometryReader = new GbinReaderV2 ( GOG_EPOCH_ASTROMETRY_FILE );   
    epochAstrometryReader.readAllToList( epochAstrometryArrayList );
    epochAstrometryReader.close();
    LpcCentroid epochAstrometry = (LpcCentroid) epochAstrometryArrayList.get( component );
   
    // Create epoch astrometry vector in pairs (AL, AC)   
    return epochAstrometry.getTransits();
   
  }
View Full Code Here

Examples of gaia.cu1.mdb.cu3.localplanecoords.dm.LpcCentroid

   
    for (int i = 0; i < nInclination; i++){
     
      double inclination = inclinationMax * i / nInclination;
     
      LpcCentroid epochAstrometry = (LpcCentroid) epochAstrometryArrayList.get( i * 3 );
      FovTransitInfo[] transitInfo = epochAstrometry.getTransits();
     
      System.out.printf("Inclination %10.5f:", inclination);
      outputFile.printf("Inclination %10.5f:", inclination);
     
      for (int j = 0; j < transitInfo.length; j++){
View Full Code Here

Examples of gaia.cu1.mdb.cu3.localplanecoords.dm.LpcCentroid

   
    // Combined astrometry data: terminal output
    for (GaiaRoot element : epochAstrometryArrayList){
     
      // Parse object into Source
      LpcCentroid epochAstrometryData = (LpcCentroid)element;
     
      // Parse source data
      long   sourceId   = epochAstrometryData.getSourceId();
      int    nTransits  = epochAstrometryData.getNTransits();
      double alpha0     = epochAstrometryData.getAlpha0();
      double delta0     = epochAstrometryData.getDelta0();
      FovTransitInfo[] transitInfo =  epochAstrometryData.getTransits();
     
      // Terminal output: basic data
      System.out.printf("Source ID: %20d; N transits: %4d; alpha ref: %15.5e; delta ref: %15.5e\n",
          sourceId, nTransits, alpha0, delta0);
     
View Full Code Here

Examples of gaia.cu1.mdb.cu3.localplanecoords.dm.LpcCentroid

    outputFile.printf("\n" + "Epoch astrometry\n");
    // Combined astrometry data: terminal output
    for (GaiaRoot element : epochAstrometryArrayList){
     
      // Parse object into Source
      LpcCentroid epochAstrometryData = (LpcCentroid)element;
     
      // Parse source data
      long   sourceId   = epochAstrometryData.getSourceId();
      int    nTransits  = epochAstrometryData.getNTransits();
      double alpha0     = epochAstrometryData.getAlpha0();
      double delta0     = epochAstrometryData.getDelta0();
      FovTransitInfo[] transitInfo =  epochAstrometryData.getTransits();
     
      // Terminal output: basic data
      System.out.printf("Source ID: %20d; N transits: %4d; alpha ref: %15.5e; delta ref: %15.5e\n",
          sourceId, nTransits, alpha0, delta0);
      outputFile.printf("Source ID: %20d; N transits: %4d; alpha ref: %15.5e; delta ref: %15.5e\n",
View Full Code Here

Examples of gaia.cu1.mdb.cu3.localplanecoords.dm.LpcCentroid

    outputFile.printf("\n" + "Epoch astrometry\n");
    // Combined astrometry data: terminal output
    for (GaiaRoot element : epochAstrometryArrayList){
     
      // Parse object into Source
      LpcCentroid epochAstrometryData = (LpcCentroid)element;
     
      // Parse source data
      long   sourceId   = epochAstrometryData.getSourceId();
      int    nTransits  = epochAstrometryData.getNTransits();
      double alpha0     = epochAstrometryData.getAlpha0();
      double delta0     = epochAstrometryData.getDelta0();
      FovTransitInfo[] transitInfo =  epochAstrometryData.getTransits();
     
      // Terminal output: basic data
      System.out.printf("Source ID: %20d; N transits: %4d; alpha ref: %15.5e; delta ref: %15.5e\n",
          sourceId, nTransits, alpha0, delta0);
      outputFile.printf("Source ID: %20d; N transits: %4d; alpha ref: %15.5e; delta ref: %15.5e\n",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.