Continuous Aperture Array (CAPA)-Based Wireless Communications: Capacity Characterization