@property
    def mass(self):
        if self._mass is not None:
            return self._mass
        elif self._rho_0 is None:
            return None
        else:
            self._check_all_set()
            alpha = 3. + self.power
            mass = self.rho_0 / alpha * \
                (4. * pi * (self.rmax ** alpha - self.rmin ** alpha) / self.r_0 ** self.power)
            return mass
Drop an existing schema
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/densities/power_law_envelope.py/PowerLawEnvelope.mass--crossover with--dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_schema.py/SchemaToSqlTestCase.test_drop_schema