array.get_float_list = [10000000000_12000000000_14000000000_16000000000_18000000000]
def _get_mhz_list(self, *args, **kwargs):
rtnLst = []
myLst = self._get_float_list(*args)
for each in myLst:
if each is not None:
each *= 1000000.0 # multiply by 1 MHz to get base units (Hz)
rtnLst.append(each)
return rtnLst
so this is what i have for my array. trying to put values into this. I know i have the code heh but im still new to python just wondering if im doing this right. My question is did I define array.get_float_list correctly with its values or should it be in a differnt format

New Topic/Question
Reply



MultiQuote




|