Calculate simple semiconductor properties from effective mass theory using python