> What if I add all of the same > parameters to the eispice diode model that are in the spice3f5 diode model? Then we would get into troubles with some other parameters, for instance: mfg, description, comment, housing, tolerance or something else(?). What about the following? -------------------------------------------------------------------- class D(subckt.Subckt): """Diode Model cir.D = D(1, 2, IS = 0.1e-9) """ def __init__(self, pNode, nNode, **kwargs): if kwargs.has_key("IS"): IS = tofloat(kwargs.pop("IS")) else: IS = 1.0e-14 ... for unhandled in kwargs.keys(): sys.stderr.write( "Unhandled Parameter %s\n"%unhandled) -------------------------------------------------------------------- > ... > I can make that change and release a new version on the > weekend if you'd like. There is no need to hurry with a new release - AFAIC. I would like to suggest DOCTEST strings, but I need to play with it first. Also I would like to suggest a different interface to access voltages and currents. Something like "cir.d1.current" but I want to think about it a little more and try it out first. Ciao, Thomas ------------------------------------------------------------------ To unsubscribe from the eispice list send an email to: eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field