docs: def set_misc(self):
          '''Set more parameters, after the tank is better defined than in the
          __init__ function.
  
          Notes
          -----
          Two of D, L, and L_over_D must be known when this function runs.
          The other one is set from the other two first thing in this function.
          a_ratio parameters are used to calculate a values for the heads here,
          if applicable.
          Radius is calculated here.
          Maximum tank height is calculated here.
          V_total is calculated here.
          '''
          if self.D and self.L:
              # If L and D are known, get L_over_D
              self.L_over_D = self.L/self.D
          elif self.D and self.L_over_D:
              # Otherwise, if L_over_D and D are provided, get L
              self.L = self.D*self.L_over_D
          elif self.L and self.L_over_D:
              # Otherwise, if L_over_D and L are provided, get D
              self.D = self.L/self.L_over_D
  
          # Calculate diameter
          self.R = self.D/2.
  
          # If a_ratio is provided for either heads, use it.
          if self.sideA and self.D:
              if not self.sideA_a and self.sideA in ['conical', 'ellipsoidal', 'guppy', 'spherical']:
                  self.sideA_a = self.D*self.sideA_a_ratio
          if self.sideB and self.D:
              if not self.sideB_a and self.sideB in ['conical', 'ellipsoidal', 'guppy', 'spherical']:
                  self.sideB_a = self.D*self.sideB_a_ratio
  
          # Calculate a for torispherical heads
          if self.sideA == 'torispherical' and self.sideA_f and self.sideA_k:
              self.sideA_a = a_torispherical(self.D, self.sideA_f, self.sideA_k)
          if self.sideB == 'torispherical' and self.sideB_f and self.sideB_k:
              self.sideB_a = a_torispherical(self.D, self.sideB_f, self.sideB_k)
  
          # Calculate maximum tank height, h_max
          if self.horizontal:
              self.h_max = self.D
          else:
              self.h_max = self.L
              if self.sideA_a:
                  self.h_max += self.sideA_a
              if self.sideB_a:
                  self.h_max += self.sideB_a
  
          # Set maximum height
          self.V_total = self.V_from_h(self.h_max)
  
          # Set surface areas
          self.A, (self.A_sideA, self.A_sideB, self.A_lateral) = SA_tank(
          D=self.D, L=self.L, sideA=self.sideA, sideB=self.sideB, sideA_a=self.sideA_a,
          sideB_a=self.sideB_a, sideA_f=self.sideA_f, sideA_k=self.sideA_k,
          sideB_f=self.sideB_f, sideB_k=self.sideB_k,
               full_output=True)