We call a frame Mart & imath;nez if it is an algebraic frame with FIP in which every element is a d-element. The study of Martinez frames and the d-operator in this article has led to a better understanding of the q-nucleus defined in [15]. We generalize the construction of the q-nucleus to arbitrary sets of primes and investigate this operator from a topological perspective on the prime spectrum.