def pblock_054(content): stage_number = int(get1(content, '04')) cfs = fs.Coefficients( cf_transfer_function_type=pcftype(get1(content, '03')), input_units=fs.Units(name=punit(get1(content, '05'))), output_units=fs.Units(name=punit(get1(content, '06'))), numerator_list=map(pcfu, getn(content, '08-09')), denominator_list=map(pcfu, getn(content, '11-12'))) return stage_number, cfs
def pblock_044(content): stage_number = -1 cfs = fs.Coefficients( cf_transfer_function_type=pcftype(get1(content, '05')), input_units=fs.Units(name=punit(get1(content, '06'))), output_units=fs.Units(name=punit(get1(content, '07'))), numerator_list=map(pcfu, getn(content, '09-10')), denominator_list=map(pcfu, getn(content, '12-13'))) return stage_number, cfs