adapt disk analysis
This commit is contained in:
+10
-2
@@ -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 + "_")
|
||||
|
||||
Reference in New Issue
Block a user