This application is an attempt to program Swanepoel's method for finding optical constants of thin films.