print("Pass in the number n of the n innermost detector radii to be used in the extrapolation (optional, default=all) and the simulation folders (e.g., ./power.py 6 ./simulations/J0040_N40 /path/to/my_simulation_folder).")
sys.exit()
elif(os.path.isdir(sys.argv[1])):
radiiUsedForExtrapolation=7#use the first n radii available
paths=sys.argv[1:]
elif(notos.path.isdir(sys.argv[1])):
radiiUsedForExtrapolation=int(sys.argv[1])#use the first n radii available
print("Pass in the number n of the n innermost detector radii to be used in the extrapolation (optional, default=all) and the simulation folders (e.g., ./power.py 6 ./simulations/J0040_N40 /path/to/my_simulation_folder).")
sys.exit()
elif(os.path.isdir(sys.argv[1])):
radiiUsedForExtrapolation=7#use the first n radii available
paths=sys.argv[1:]
elif(notos.path.isdir(sys.argv[1])):
radiiUsedForExtrapolation=int(sys.argv[1])#use the first n radii available