Frame theory