prepare_ae_summary function

Prepare datasets for AE summary