add function to save in SRatioFloatData format