This file provides procedures which are able to produce the toric data associated with a (polarized) wps i.e. fans , polytopes and their equivalences. More originally it provides procedures which are able to detect a weights vector Q starting from either a fan or a polytope: we will call this process the recognition of a (polarized) weighted projective space. Moreover it gives procedures connecting polytopes of a polarized weighted projective space with an associated fan and viceversa.