Calendar time = new GregorianCalendar(
TimeZone.getTimeZone("America/Los_Angeles"));
time.set(1951, Calendar.MAY, 2, 17, 31, 0);
DMS longi = new DMS(-1, 118, 21, 8);
DMS lati = new DMS(0, 33, 57, 42);
Event event = new Event(time, longi, lati);
//Map<Planet, ChartPlanet> chartPlanets = dump(time, longi, lati);
Set<PlanetId> p = AstroUtil.getStandardPlanets();
p.add(PlanetId.Chiron);
EphResults data = AstroUtil.getInitialEphData(event, null, p, null);
Map<EphObject, AstroItem> chartPlanets = AstroUtil.dump(
out, event, data);
Calendar t2 = new GregorianCalendar(
TimeZone.getTimeZone("America/Los_Angeles"));
t2.set(1951, Calendar.MAY, 2, 17, 32, 0);
Event event2 = new Event(t2, longi, lati);
data = AstroUtil.getInitialEphData(event, null, p, null);
AstroUtil.dump(out,event2, data);
//AspectUtil aspectProfile = new AspectUtil();
DefaultAspectFinder saf = new DefaultAspectFinder();
out.println("");
AspectUtil.outputAspectId(out, saf);
out.println("");
List<AstroItem> l = AstroUtil.getAstroItemList(chartPlanets);
AstroUtil.orderMoonSun(l);
AstroUtil.dumpAspectTable2D(out, l, saf);
if(false) {
Map<PlanetId, AstroItem> chartPlanetsTemp
= new HashMap<PlanetId, AstroItem>();
for (Map.Entry<EphObject, AstroItem> entry : chartPlanets.entrySet()) {
if(entry.getKey() instanceof PlanetId)
chartPlanetsTemp.put((PlanetId)entry.getKey(),entry.getValue());
}
//chartPlanetsTemp.remove(HouseId.H1);
AstroUtil.dumpHarmonic(out,8, chartPlanetsTemp, saf);
}
AstroUtil.dumpHarmonic(out,8, chartPlanets, saf);
AstroUtil.dumpHarmonic(out,9, chartPlanets, saf);
SortedSet<Integer> iSet = new TreeSet<Integer>();
for(int i = 1; i <= 12; i++) {
iSet.add(i);
}
iSet.addAll(AstroUtil.getPrimes(125));
iSet.add(16);
iSet.add(22);
iSet.add(25);
iSet.add(27);
iSet.add(32);
iSet.add(33);
iSet.add(66);
iSet.add(80);
iSet.add(90);
iSet.add(112);
iSet.add(125);
//Map<Integer, Integer> m =
for (Integer i : iSet) {
out.println("");
Collection<AspectId> aspects = AspectId.get(i);
saf.setAspectId(aspects);
Set<Aspect> chartAspects = AspectUtil.genAspects(l, saf);
if(chartAspects.size() != 0) {
for (AspectId a : aspects) {
DMS orb = new DMS(saf.getOrb(a));
out.printf(
"===== H%d harmonics, orb: %2d:%02d'\n",
i, orb.getDegrees(), orb.getMinRound());
break;
}
AspectUtil.dump(out,
chartAspects,
saf.getStrengthComparator());