Jan. 26, 2022
6:21 p.m.
Hello! I'm not sure about exclude_inside, but when using cut_region, you have to specify a selection object. So either use cut_region hanging off of the selection as follows: import yt ds = yt.load("Enzo_64/DD0042/data0042") ad = ds.all_data() hot_ad = ad.cut_region(['obj["gas", "temperature"] > 1e6']) OR, if using cut_region off the dataset object (as you are doing), you need to also provide the selection object as the first argument, followed by the conditionals: ad = ds.all_data() hot_ad = ds.cut_region(ad, ['obj["gas", "temperature"] > 1e6']) Hope that helps! Best, Chris