code: def get_max_capvol(self, remove=True, insert=True, volume=None):
          
  
          vol = volume if volume else self.struc_oxid.volume
          return self._get_max_cap_ah(remove, insert) * 1000 * 1E24 / (vol * const.N_A)
docs: Give max capacity in mAh/cc for inserting and removing a charged cation into base structure.
  
          Args:
              remove: (bool) whether to allow cation removal
              insert: (bool) whether to allow cation insertion
              volume: (float) volume to use for normalization (default=volume of initial structure)
  
          Returns:
              max vol capacity in mAh/cc