Dear yt-users, Hi, I want to know about the function "extract_connected_sets". I want to extract SuperNova enriched bubbles (which I define as Z > -4 or something) and analyze its size or mass or some other values. I'm working with cosmological simulation by enzo, and there are many SN enriched bubbles. What I need is the set of "bubble regions" of (probably) YTRegions. For this purpose, it seemed to me that "extract_connected_sets" would be the perfect function, but I don't understand what this object is, or how I can analyze the object, because when I tried projection plot of the objects, nothing appeared. Could you tell me how I can use "extract_connected_sets"? Or, is there any other way to extract SN enriched region? Best, YT
Hi YT,
Sorry it's taken so long for you to get a response.
I recommend you have a look at the yt clump finder. It is an extension of
the functionality behind extract_connected_sets. The clump finder will
return to you a tree of topologically disconnected structures. This data
structure can be used with plots, further analysis, and can also be saved
to a file and reloaded. You should be able to use this for your purposes,
but please let us know if you have any further questions. The relevant
documentation to check out is here:
http://yt-project.org/docs/dev/analyzing/analysis_modules/clump_finding.html...
Additionally, a cookbook recipe can be found here:
http://yt-project.org/docs/dev/cookbook/constructing_data_objects.html#cookb...
Britton
On Thu, Jun 28, 2018 at 8:05 AM tyuta
Dear yt-users,
Hi, I want to know about the function "extract_connected_sets". I want to extract SuperNova enriched bubbles (which I define as Z > -4 or something) and analyze its size or mass or some other values. I'm working with cosmological simulation by enzo, and there are many SN enriched bubbles. What I need is the set of "bubble regions" of (probably) YTRegions. For this purpose, it seemed to me that "extract_connected_sets" would be the perfect function, but I don't understand what this object is, or how I can analyze the object, because when I tried projection plot of the objects, nothing appeared. Could you tell me how I can use "extract_connected_sets"? Or, is there any other way to extract SN enriched region?
Best, YT _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
Hi Britton,
Thank you for the reference! I'll try the clump finder.
Y.T.
2018-07-07 2:10 GMT+09:00 Britton Smith
Hi YT,
Sorry it's taken so long for you to get a response.
I recommend you have a look at the yt clump finder. It is an extension of the functionality behind extract_connected_sets. The clump finder will return to you a tree of topologically disconnected structures. This data structure can be used with plots, further analysis, and can also be saved to a file and reloaded. You should be able to use this for your purposes, but please let us know if you have any further questions. The relevant documentation to check out is here: http://yt-project.org/docs/dev/analyzing/analysis_ modules/clump_finding.html#clump-finding Additionally, a cookbook recipe can be found here: http://yt-project.org/docs/dev/cookbook/constructing_ data_objects.html#cookbook-find-clumps
Britton
On Thu, Jun 28, 2018 at 8:05 AM tyuta
wrote: Dear yt-users,
Hi, I want to know about the function "extract_connected_sets". I want to extract SuperNova enriched bubbles (which I define as Z > -4 or something) and analyze its size or mass or some other values. I'm working with cosmological simulation by enzo, and there are many SN enriched bubbles. What I need is the set of "bubble regions" of (probably) YTRegions. For this purpose, it seemed to me that "extract_connected_sets" would be the perfect function, but I don't understand what this object is, or how I can analyze the object, because when I tried projection plot of the objects, nothing appeared. Could you tell me how I can use "extract_connected_sets"? Or, is there any other way to extract SN enriched region?
Best, YT _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
participants (2)
-
Britton Smith
-
tyuta