Function to get current compression and expansion

Add functions to get current compression and expansion method.