adapt disk analysis

This commit is contained in:
Noe Brucy
2019-04-08 10:54:31 +02:00
parent dca8ab5d41
commit 260dcfc7a5
2 changed files with 46 additions and 70 deletions
+10 -2
View File
@@ -21,6 +21,10 @@ parser.add_argument(
"-l", "--last_output", help="id of last output", type=int, default=100
)
parser.add_argument("-s", "--step", help="step between two output", type=int, default=1)
parser.add_argument(
"-d", "--disk", help="do specific disk radial analysis", action="store_true"
)
args = parser.parse_args()
@@ -54,5 +58,9 @@ for run in runs:
mag_im=False,
AU_units=False,
)
dp.disk_prop(path_in, i, path_out=path_out, rad_ext=50000)
dp.plot_disk_prop(path_out, i, tag=run + "_")
# me.look(path_in, i)
if args.disk:
dp.disk_prop(
path_in, i, path_out=path_out, rad_ext=1, nb_bin=50, force=True
)
dp.plot_disk_prop(path_out, i, tag=run + "_")