def _getcycle(self, cycle, decayed=False):
yps=self.get('<STR_LIT>', cycle)<EOL>z=self.get('<STR_LIT>', cycle) <EOL>a=self.get('<STR_LIT:A>', cycle) <EOL>isomers=self.get('<STR_LIT>', cycle)<EOL>a_iso_to_plot,z_iso_to_plot,abunds,isotope_to_plot,el_iso_to_plot,isom=self._process_abundance_vector(a,z,isomers,yps)<EOL>self.a_iso_to_plot=a_iso_to_plot<EOL>self.isotope_to_plot=isotope_to_plot<EOL>self.z_iso_to_plot=z_iso_to_plot<EOL>self.el_iso_to_plot=el_iso_to_plot<EOL>self.abunds=array(abunds)<EOL>self.isom=isom<EOL>if decayed:<EOL><INDENT>try:<EOL><INDENT>self.decay_idp<EOL><DEDENT>except AttributeError:<EOL><INDENT>print("<STR_LIT>""<STR_LIT>")<EOL>print("<STR_LIT>")<EOL>self.decay_indexpointer() <EOL><DEDENT>ind_tmp=self.idp_to_stables_in_isostoplot<EOL>isotope_decay=array(isotope_to_plot)[ind_tmp]<EOL>z_iso_decay=array(z_iso_to_plot)[ind_tmp]<EOL>a_iso_decay=array(a_iso_to_plot)[ind_tmp]<EOL>el_iso_decay=array(el_iso_to_plot)[ind_tmp]<EOL>abunds_decay=zeros(len(ind_tmp), dtype='<STR_LIT>')<EOL>for i in range(len(isotope_to_plot)):<EOL><INDENT>idp=where(isotope_decay==isotope_to_plot[self.decay_idp[i]])[<NUM_LIT:0>] <EOL>abunds_decay[idp] += abunds[i]<EOL><DEDENT>if self.debug:<EOL><INDENT>print("<STR_LIT>")<EOL>for i in range(len(ind_tmp)):<EOL><INDENT>print(isotope_decay[i], z_iso_decay[i], a_iso_decay[i], el_iso_decay[i], abunds_decay[i])<EOL><DEDENT><DEDENT>self.a_iso_to_plot=a_iso_decay<EOL>self.isotope_to_plot=isotope_decay<EOL>self.z_iso_to_plot=z_iso_decay<EOL>self.el_iso_to_plot=el_iso_decay<EOL>self.abunds=abunds_decay<EOL><DEDENT>
Private method for getting a cycle, called from get.