hpmcm.viz_utils module
- hpmcm.viz_utils.showCluster(image, cluster, cell_data, mask=None)[source]
Draw a cluster
- Return type:
Figure|SubFigure- Parameters:
image (ndarray) – Counts map used to make clusters
cluster (ClusterData) – Cluster being draw
cell_data (CellData) – Parent Cell for the cluster
mask (ndarray | None) – Mask showing which sources are in the cluster
- Return type:
Figure showing the cluster in question
- hpmcm.viz_utils.showObjects(image, cluster, cell_data)[source]
Draw a cluster, showing the objects
- Return type:
Figure|SubFigure- Parameters:
image (ndarray) – Counts map used to make clusters
cluster (ClusterData) – Cluster being draw
cell_data (CellData) – Parent Cell for the cluster
mask – Mask showing which sources are in the cluster
- Return type:
Figure showing the cluster in question
- hpmcm.viz_utils.showObjectsV2(image, cluster, cell_data)[source]
Draw a cluster, showing the objects
- Return type:
Figure|SubFigure- Parameters:
image (ndarray) – Counts map used to make clusters
cluster (ClusterData) – Cluster being draw
cell_data (CellData) – Parent Cell for the cluster
- Return type:
Figure showing the cluster in question