Package gaia.cu1.mdb.cu3.localplanecoords.dm

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


      // Source ID
      System.out.printf( "SourceId:" + stellarSource.getSourceId() + "\n");
      outputFile.printf( "SourceId:" + stellarSource.getSourceId() + "\n");
     
      // Basic astrometry
      UMAstroRoot stellarAstrometry = stellarSource.getAstrometry();
      double alpha    = stellarAstrometry.getAlpha();
      double delta    = stellarAstrometry.getDelta();
      double distance = stellarAstrometry.getDistance();     
      System.out.printf("RA (deg): %15.5f; DEC (deg): %15.5f, distance (pc): %15.5e\n", alpha, delta, distance);
      outputFile.printf("RA (deg): %15.5f; DEC (deg): %15.5f, distance (pc): %15.5e\n", alpha, delta, distance);
     
      // Basic photometry
      UMPhotoRoot photometry = stellarSource.getPhotometry();
View Full Code Here


      double distance = stellarAstrometry.getDistance();     
      System.out.printf("RA (deg): %15.5f; DEC (deg): %15.5f, distance (pc): %15.5e\n", alpha, delta, distance);
      outputFile.printf("RA (deg): %15.5f; DEC (deg): %15.5f, distance (pc): %15.5e\n", alpha, delta, distance);
     
      // Basic photometry
      UMPhotoRoot photometry = stellarSource.getPhotometry();
      double magG    = photometry.getMagG();
      double magGBp  = photometry.getMagGBp();
      double magGRp  = photometry.getMagGRp();
      double magGRvs = photometry.getMagGRvs();
      System.out.printf("G: %6.2f; GBp: %6.2f; GRp: %6.2f; GRvs: %6.2f\n", magG, magGBp, magGRp, magGRvs);
      outputFile.printf("G: %6.2f; GBp: %6.2f; GRp: %6.2f; GRvs: %6.2f\n", magG, magGBp, magGRp, magGRvs);
     
    };
   
View Full Code Here

   
    // Stellar data: terminal output
    for (GaiaRoot element : stellarArrayList){
     
      // Parse object into UMStellarSource
      UMStellarSource stellarSource = (UMStellarSource)element;
     
      // Source ID
      System.out.printf( "SourceId:" + stellarSource.getSourceId() + "\n");
      outputFile.printf( "SourceId:" + stellarSource.getSourceId() + "\n");
     
      // Basic astrometry
      UMAstroRoot stellarAstrometry = stellarSource.getAstrometry();
      double alpha    = stellarAstrometry.getAlpha();
      double delta    = stellarAstrometry.getDelta();
      double distance = stellarAstrometry.getDistance();     
      System.out.printf("RA (deg): %15.5f; DEC (deg): %15.5f, distance (pc): %15.5e\n", alpha, delta, distance);
      outputFile.printf("RA (deg): %15.5f; DEC (deg): %15.5f, distance (pc): %15.5e\n", alpha, delta, distance);
     
      // Basic photometry
      UMPhotoRoot photometry = stellarSource.getPhotometry();
      double magG    = photometry.getMagG();
      double magGBp  = photometry.getMagGBp();
      double magGRp  = photometry.getMagGRp();
      double magGRvs = photometry.getMagGRvs();
      System.out.printf("G: %6.2f; GBp: %6.2f; GRp: %6.2f; GRvs: %6.2f\n", magG, magGBp, magGRp, magGRvs);
View Full Code Here

   
    // Combined astrometry data: terminal output
    for (GaiaRoot element : combinedAstrometryArrayList){
     
      // Parse object into Source
      Source combinedAstrometryData = (Source)element;
     
      // Parse source data
      long   sourceId   = combinedAstrometryData.getSourceId();
      int    nObs       = combinedAstrometryData.getNObs()[0];
      double alpha      = combinedAstrometryData.getAlpha();
      double alphaError = combinedAstrometryData.getAlphaError();
      double delta      = combinedAstrometryData.getDelta();
      double deltaError = combinedAstrometryData.getDeltaError();
      double varpi      = combinedAstrometryData.getVarpi();
      double varpiError = combinedAstrometryData.getVarpiError();
      System.out.printf( "SourceId:" + sourceId + "\n");
     
      // Terminal output
      System.out.printf("Source ID: %20d; N obs: %4d;" +
          " alpha: %15.5e +- %15.5e;" +
View Full Code Here

   
    // Combined astrometry data: terminal output
    for (GaiaRoot element : combinedAstrometryArrayList){
     
      // Parse object into Source
      Source combinedAstrometryData = (Source)element;
     
      // Parse source data
      long   sourceId   = combinedAstrometryData.getSourceId();
      int    nObs       = combinedAstrometryData.getNObs()[0];
      double alpha      = combinedAstrometryData.getAlpha();
      double alphaError = combinedAstrometryData.getAlphaError();
      double delta      = combinedAstrometryData.getDelta();
      double deltaError = combinedAstrometryData.getDeltaError();
      double varpi      = combinedAstrometryData.getVarpi();
      double varpiError = combinedAstrometryData.getVarpiError();
      System.out.printf( "SourceId:" + sourceId + "\n");
      outputFile.printf( "SourceId:" + sourceId + "\n");
     
      // Terminal output
      System.out.printf("Source ID: %20d; N obs: %4d;" +
View Full Code Here

    // 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

    // 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

   
    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

   
    // 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

    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

Related Classes of gaia.cu1.mdb.cu3.localplanecoords.dm.LpcCentroid

Copyright © 2018 www.massapicom. 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.