def METHOD_NAME(self, property_id=None):
    """
    Gets the density of the PSHELLs/PCOMPs.
    :param property_ids: the property IDs to consider (default=None -> all)
    """
    return self._getmethod(property_id, 'get_density_by_property_id')