<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def refweights(self):
 """A |numpy| |numpy.ndarray| with equal weights for all segment junctions.. array([ 0.2, 0.2, 0.2, 0.2, 0.2]) """

        # pylint: disable=unsubscriptable-object
        # due to a pylint bug (see https://github.com/PyCQA/pylint/issues/870)
        return numpy.full(self.shape, 1./self.shape[0], dtype=float)