pyyeti.cla.DR_Def.add_0rb¶
- DR_Def.add_0rb(*args)[source]¶
Add zero-rigid-body versions of selected categories.
- Parameters:
*args (strings) – Category names for which to make ‘_0rb’ versions.
Notes
This is a convenience function that uses
copycat()to do the work:copycat(args, '_0rb', uf_reds=(0, None, None, None), desc=desc+' w/o RB')
where desc is the current value. See
copycat()for more information.For example:
drdefs.add_0rb('SC_ifa', 'SC_atm')
would add ‘SC_ifa_0rb’ and ‘SC_atm_0rb’ categories with the first element in uf_reds set to 0.