Electrochemical preparation of a rugate filter in silicon and its deviation from the ideal structure