scripts/plotfactory folder#

This folder provides a set of scripts to plot informative plots not directly related to the performance of the ETX4VELO pipeline.

plot_data_statistics.py script#

A script that plots various distributions of hits on a test sample.

plot_embedding_explanation.py script#

A script that plots figures to explain the embedding.

scripts.plotfactory.plot_embedding_explanation.filter_edges_planes(df_edges, first_plane, plane_range)[source]#
Return type:

DataFrame

scripts.plotfactory.plot_embedding_explanation.get_df_edges(edge_indices, df_hits)[source]#
Return type:

DataFrame

scripts.plotfactory.plot_embedding_explanation.get_fig_ax(axes=('z', 'x'), unit='mm')[source]#
Return type:

Tuple[Figure, Axes]

scripts.plotfactory.plot_embedding_explanation.get_random_batch_file(experiment_name, stage, test_dataset_name, rng)[source]#
Return type:

Data

scripts.plotfactory.plot_embedding_explanation.plot_edges(ax, df_edges, axes=('z', 'x'), **kwargs)[source]#
scripts.plotfactory.plot_embedding_explanation.plot_hits(ax, df_hits, axes=('z', 'x'))[source]#

plot_plane_edge_statistics.py script#

A script that plot the histogram of plane differences between the hits of the true edges.

scripts.plotfactory.plot_plane_edge_statistics.get_df_hits_particles(test_dataset_name, detector)[source]#
Return type:

DataFrame