def g_info(self): cprint('g: ', 'yellow', attrs=['bold'], end='\n') for k in self.g.keys(): print("'", k, "'", ': ', to_Hz(self.g[k]), sep='') print()
def wa_info(self): cprint('wa: ', 'yellow', attrs=['bold'], end='\n') for k in range(len(self.wa)): print(to_Hz(self.wa[k]), sep='') print()
def info(self, title='Cavity:'): cprint(title, 'green', attrs=['bold']) print() self.wc_info() self.wa_info() self.g_info() self.n_atoms_info() self.n_levels_info()
def info(self, title="Cavity:"): cprint(title, "green") print() self.wc_info()
def wc_info(self): cprint("wc: ", "yellow") print(to_Hz(self.wc)) print()
def n_levels_info(self): cprint('n_levels: ', 'yellow', attrs=['bold'], end='') print(self.n_levels) print()
def n_atoms_info(self): cprint(' n_atoms: ', 'yellow', attrs=['bold'], end='') print(self.n_atoms)
def g_info(self): cprint(' g = ', 'yellow', attrs=['bold'], end='') print(to_Hz(self.g)) print()
def wa_info(self): cprint('wa = ', 'yellow', attrs=['bold'], end='') print(to_Hz(self.wa))
def wc_info(self): cprint('wc = ', 'yellow', attrs=['bold'], end='') print(to_Hz(self.wc))
def n_levels_info(self): cprint(' n_levels: ', 'yellow', end='') print(self.n_levels) print()
def n_atoms_info(self): cprint(' n_atoms: ', 'yellow', end='') print(self.n_atoms) print()
def g_info(self): cprint(' g: ', 'yellow', end='') print(to_Hz(self.g)) print()
def wa_info(self): cprint('wa: ', 'yellow', end='') print(to_Hz(self.wa)) print()
def wc_info(self): cprint('wc: ', 'yellow', end='') print(to_Hz(self.wc)) print()