edit end_to_end_powspec_data.pro to be capable of dealing with transfer function