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);