Add a comment
This commit is contained in:
parent
ceec478091
commit
73ce59aa84
|
|
@ -969,6 +969,9 @@ guess_type(const char *name, char* pltypename)
|
|||
type = SV_RES;
|
||||
else if (cieq(name, "i-sweep"))
|
||||
type = SV_CURRENT;
|
||||
else if (strstr(name, ":power\0"))
|
||||
type = SV_POWER;
|
||||
/* Special treatment if plot has been generated by S-parameter simulation */
|
||||
else if (pltypename && ciprefix("sp", pltypename) && ciprefix("S_", name))
|
||||
type = SV_SPARAM;
|
||||
else if (pltypename && ciprefix("sp", pltypename) && ciprefix("Y_", name))
|
||||
|
|
@ -985,8 +988,6 @@ guess_type(const char *name, char* pltypename)
|
|||
type = SV_NOTYPE;
|
||||
else if (pltypename && ciprefix("sp", pltypename) && ciprefix("Cy_", name))
|
||||
type = SV_CURRENT;
|
||||
else if (strstr(name, ":power\0"))
|
||||
type = SV_POWER;
|
||||
/* current source ISRC parameters for current */
|
||||
else if (substring("@i", name) && (substring("[c]", name) || substring("[dc]", name) || substring("[current]", name)))
|
||||
type = SV_CURRENT;
|
||||
|
|
|
|||
Loading…
Reference in New Issue