Package gaiasimu.universe.source.stellar

Examples of gaiasimu.universe.source.stellar.StarPhysicalParameters


    try {
      spectralType = new SpectralType( spType );
    } catch (SimuException e) {
      e.printStackTrace();
    }
    StarPhysicalParameters starPhysicalParameters = new StarPhysicalParameters(mass, spectralType, magBol, pop, feH, alphaE);
   
    // Generate empty astrometry
    ComponentAstrometry primaryAstrometry = new ComponentAstrometry();
    ComponentPhotometry primaryPhotometry = new ComponentPhotometry(primaryAstrometry, magMv, 1.0e3 / astrometry.getVarpi(), vMinusI, absV);
   
View Full Code Here


    StellarAstrometry stellarAstrometry = new StellarAstrometry(
        new AstrometricParam(ra, dec, parallax, muRa, muDec, vRad));
   
    // Generate physics.
    // Basic constructor for StarSystem
    StarPhysicalParameters starPhysicalParameters =
//      new StarPhysicalParameters( teff, feH, logg, mass, spectralType, magBol, radius, pop);
      new StarPhysicalParameters(mass, spectralType, magBol, pop, feH, alphaE);
   
    // Generate star
    gaiasimu.universe.source.stellar.Star star =
      new gaiasimu.universe.source.stellar.Star(
          idRoot, photometry, stellarAstrometry, starPhysicalParameters);
View Full Code Here

    StellarAstrometry stellarAstrometry = new StellarAstrometry(
        new AstrometricParam(ra, dec, parallax, muRa, muDec, vRad));
   
    // Generate physics.
    // Basic constructor for StarSystem
    StarPhysicalParameters starPhysicalParameters =
//      new StarPhysicalParameters( teff, feH, logg, mass, spectralType, magBol, radius, pop);
      new StarPhysicalParameters(mass, spectralType, magBol, pop, feH, alphaE);
   
    // Generate star
    gaiasimu.universe.source.stellar.Star star =
      new gaiasimu.universe.source.stellar.Star(
          idRoot, photometry, stellarAstrometry, starPhysicalParameters);
View Full Code Here

    StellarAstrometry stellarAstrometry = new StellarAstrometry(
        new AstrometricParam(ra, dec, parallax, muRa, muDec, vRad));
   
    // Generate physics.
    // Basic constructor for StarSystem
    StarPhysicalParameters starPhysicalParameters =
//      new StarPhysicalParameters( teff, feH, logg, mass, spectralType, magBol, radius, pop);
      new StarPhysicalParameters(mass, spectralType, magBol, pop, feH, alphaE);
   
    // Eventually generate new star
    star = new Star(idRoot, photometry, stellarAstrometry, starPhysicalParameters);
    return star;
  }
View Full Code Here

    StellarAstrometry stellarAstrometry = new StellarAstrometry(
        new AstrometricParam(ra, dec, parallax, muRa, muDec, vRad));
   
    // Generate physics.
    // Basic constructor for StarSystem
    StarPhysicalParameters starPhysicalParameters =
//      new StarPhysicalParameters( teff, feH, logg, mass, spectralType, magBol, radius, pop);
      new StarPhysicalParameters(mass, spectralType, magBol, pop, feH, alphaE);
   
    // Generate star
    gaiasimu.universe.source.stellar.Star star =
      new gaiasimu.universe.source.stellar.Star(
          idRoot, photometry, stellarAstrometry, starPhysicalParameters);
View Full Code Here

    // Generate astrometry
    StellarAstrometry stellarAstrometry = new StellarAstrometry( x, y, z, U, V, W );
   
    // Generate physics.
    // Use of this constructur is discouraged, but it should be enough to generate photometry
    StarPhysicalParameters starPhysicalParameters =
      new StarPhysicalParameters( teff, feH, logg, mass, spectralType, magBol, radius, pop);
   
    // Generate star
    gaiasimu.universe.source.stellar.Star star =
      new gaiasimu.universe.source.stellar.Star(
          idRoot, photometry, stellarAstrometry, starPhysicalParameters);
View Full Code Here

    long primaryID = star.getRootId();
    ComponentAstrometry primaryAstrometry = new ComponentAstrometry();

    ComponentPhotometry primaryPhotometry = new ComponentPhotometry(primaryAstrometry, magMv,
        distance, vMinusI, absV, star.getPhotometry().getExtinctionCurve());
    StarPhysicalParameters origPhys = star.getStarPhysicalParams();

    // TODO: some physical parameters of the primary may not be coherent anymore...
    StarPhysicalParameters primaryPhys = new StarPhysicalParameters(
        origPhys.getTeff(), origPhys.getFeH(), origPhys.getlogg(), origPhys.getAlphaElements(),
        origPhys.getMass(), origPhys.getSpectralType(), 10.0, origPhys.getMeanRadius(),
        origPhys.getStellarPop(), origPhys.getvsini());

    star = new Star(primaryID, primaryPhotometry, primaryAstrometry, primaryPhys);
View Full Code Here

TOP

Related Classes of gaiasimu.universe.source.stellar.StarPhysicalParameters

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.