Anfonwch hwn fel neges destun: Trace element partitioning and defects in perovskites