Response Function and Contribution Functions of Photospheric Lines