def _init_shape(self):
shape = self._par['<STR_LIT>']['<STR_LIT>'].lower()<EOL>aspect = self._header['<STR_LIT>']<EOL>if self.rcmb is not None and self.rcmb >= <NUM_LIT:0>:<EOL><INDENT>self._shape['<STR_LIT>'] = self.twod_xz and (shape == '<STR_LIT>' or<EOL>aspect[<NUM_LIT:0>] >= np.pi)<EOL>self._shape['<STR_LIT>'] = not self._shape['<STR_LIT>']<EOL><DEDENT>elif self.rcmb is None:<EOL><INDENT>self._header['<STR_LIT>'] = self._par['<STR_LIT>']['<STR_LIT>']<EOL>if self.rcmb >= <NUM_LIT:0>:<EOL><INDENT>if self.twod_xz and shape == '<STR_LIT>':<EOL><INDENT>self._shape['<STR_LIT>'] = True<EOL><DEDENT>elif shape == '<STR_LIT>':<EOL><INDENT>self._shape['<STR_LIT>'] = True<EOL><DEDENT><DEDENT><DEDENT>self._shape['<STR_LIT>'] = self.cartesian and self.twod_xz andshape == '<STR_LIT>'<EOL>
Determine shape of geometry