4.4.2. thuner.attribute.group
Describe and retrieve attributes associated with grouped objects.
Functions
|
Calculate offset between object centers. |
|
Create the default group attribute type. |
|
Convenience function to build an x_offset attribute. |
|
Convenience function to build a y_offset attribute. |
|
Convenience function to build an offset attribute group. |
Convenience function to build a member_ids attribute. |
|
|
Create attribute options for each member object of a group, and an encompassing attribute group. |
- thuner.attribute.group.membership_attribute_group(member_objects=['convective', 'middle', 'anvil'], matched=True, members_matched=[True, False, False])[source]
Create attribute options for each member object of a group, and an encompassing attribute group. Note the object ordering implicit in members_matched should match the ordering of objects in the grouped objects grouping options.
- thuner.attribute.group.offset_from_centers(object_tracks, attribute_group: AttributeGroup, objects)[source]
Calculate offset between object centers.