Flat band fine-tuning and its photonic applications | Synapse