aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2016-05-18 18:20:46 +0200
committerVolker Hoffmann <volker@cheleb.net>2016-05-18 18:20:59 +0200
commitea9b72c0f1ea8b8a16b727a72cef1858fac566d7 (patch)
treef0fcb6b6d8dd8e8536a783f119d6a7c6c43cb911
parent71f2212920552f1f3f004075cddb5ae8c8b76f25 (diff)
feat: AST-1 select 3200 Phaethon, 1566 Icarus
-rw-r--r--IC_Helpers/genic_astorb.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/IC_Helpers/genic_astorb.py b/IC_Helpers/genic_astorb.py
index a8b86d0..689c46f 100644
--- a/IC_Helpers/genic_astorb.py
+++ b/IC_Helpers/genic_astorb.py
@@ -7,6 +7,9 @@ $ python ./genic_astorb.py --fname_in astorb.hdf5 --crossers > initial.dat
Changes:
* 18 May 2016 / Volker Hoffmann <volker@cheleb.net>
+ Select 3200 Phaethon, 1566 Icarus (--aswin)
+
+* 18 May 2016 / Volker Hoffmann <volker@cheleb.net>
Shift Clones in Argument of Perihelion (--clones_omega)
Shift Clones in Semi-Major Axis (--clones_a)
@@ -42,6 +45,8 @@ group1.add_argument('--clones_omega', action='store_true', \
group2 = parser.add_mutually_exclusive_group(required=True)
group2.add_argument('--crossers', action='store_true', \
help="Use Earth Crossers (~1'000).")
+group2.add_argument('--aswin', action='store_true', \
+ help="Use Aswin's Objects of Interest.")
group2.add_argument('--all', action='store_true', \
help="Use All Asteroid (~600'000).")
args = parser.parse_args()
@@ -56,6 +61,12 @@ if args.crossers:
sys.stderr.write('// Select Earth Crossers\n')
df = df[df.Xflg==1]
+# Select Aswin's Objects
+if args.aswin:
+ sys.stderr.write("// Selecting Aswins's Objects of Interest\n")
+ sys.stderr.write(' 3200 Phaethon, 1566 Icarus\n')
+ df = df[df.Name.str.contains('Phaethon|Icarus')]
+
# Limit Number of Objects
if args.limit > 0:
sys.stderr.write("// Limiting to %i Objects\n" % args.limit)