121 Array_numNoisyStrips = []
122 if (len(array)==0
or array[0] != -999):
123 for i
in range(len(array)):
128 derived_string=
channelValueQuery(server, schema, dbname, folder, iovSince, iovUntil, tag, channels)
130 derived=NonvalidatingReader.parseString(derived_string,uri=
"dummy")
131 numNoisyModules=derived.xpath(
u'count(//channel)')
132 if numNoisyModules !=0.0:
134 allDefectStripsList=(derived.xpath(
u"//channel/value[@name='DefectList']"))
138 for strips
in allDefectStripsList:
139 words=strips.firstChild.data.split()
140 for j
in range(len(words)):
143 sep=jk.replace (
'-',
' ' )
145 numNoisyStripsAdds=numNoisyStripsAdds+
int(sep1[1])-
int(sep1[0])
147 numNoisyStrips=numNoisyStrips+len(strips.firstChild.data.split())
149 Array_numNoisyStrips.append(numNoisyStrips + numNoisyStripsAdds)
152 Array_numNoisyStrips.append(-999)
154 return Array_numNoisyStrips