Text this: Electromagnetic emission in mineral and rock dehydration