In-situ study of phase transition and structure of thin films slot-die technology meets with X-ray analysis