Measurement and control of magnetic thin films and devices using thermal gradients applied via suspended Si-N membranes | Synapse