Skip to content

Possibility of vector operations #96

@vineetbansal

Description

@vineetbansal

The following 2 lines in convex_hull_edge_inconsistency can each be vectorized:

    slice.obs["aligned"] = [(float(mass) > 0) for mass in slice_mass]
    mapped_points = [spatial_data[i] for i, mass in enumerate(slice_mass) if mass > 0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions