Development Of Microwave Kinetic Inductance Detectors For Applications In Optical To Near-Ir Astronomy