parser.add_option("-t","--threshold",type="float",default=0.01,help="Only keep horizon distance values that differ by this much, fractionally, from their neighbours (default = 0.01).")
parser.add_option("-t","--threshold",type="float",default=0.03,help="Only keep horizon distance values that differ by this much, fractionally, from their neighbours (default = 0.03).")