Tcl SpiceGenTcl package (v0.66)

::SpiceGenTcl::Ngspice::AnalysesTop, Main, Index

ClassesTop, Main, Index

Ac [::SpiceGenTcl::Ngspice::Analyses]Top, Main, Index

Method summary
addParamSee ::SpiceGenTcl::Analysis.addParam
argsPreprocessSee ::SpiceGenTcl::Utility.argsPreprocess
buildArgStrSee ::SpiceGenTcl::Utility.buildArgStr
buildSwArgStrSee ::SpiceGenTcl::Utility.buildSwArgStr
configureConfigure properties.
deleteParamSee ::SpiceGenTcl::Analysis.deleteParam
duplListCheckSee ::SpiceGenTcl::Utility.duplListCheck
duplListCheckRetSee ::SpiceGenTcl::Utility.duplListCheckRet
genSPICEStringSee ::SpiceGenTcl::Analysis.genSPICEString
getParamsSee ::SpiceGenTcl::Analysis.getParams
setParamValueSee ::SpiceGenTcl::Analysis.setParamValue
Properties

Readable: -name, -type

Writable: -name, -type

Superclasses

::SpiceGenTcl::Common::Analyses::Ac

Dc [::SpiceGenTcl::Ngspice::Analyses]Top, Main, Index

Method summary
addParamSee ::SpiceGenTcl::Analysis.addParam
argsPreprocessSee ::SpiceGenTcl::Utility.argsPreprocess
buildArgStrSee ::SpiceGenTcl::Utility.buildArgStr
buildSwArgStrSee ::SpiceGenTcl::Utility.buildSwArgStr
configureConfigure properties.
deleteParamSee ::SpiceGenTcl::Analysis.deleteParam
duplListCheckSee ::SpiceGenTcl::Utility.duplListCheck
duplListCheckRetSee ::SpiceGenTcl::Utility.duplListCheckRet
genSPICEStringSee ::SpiceGenTcl::Analysis.genSPICEString
getParamsSee ::SpiceGenTcl::Analysis.getParams
setParamValueSee ::SpiceGenTcl::Analysis.setParamValue
Properties

Readable: -name, -type

Writable: -name, -type

Superclasses

::SpiceGenTcl::Common::Analyses::Dc

Op [::SpiceGenTcl::Ngspice::Analyses]Top, Main, Index

Method summary
addParamSee ::SpiceGenTcl::Analysis.addParam
argsPreprocessSee ::SpiceGenTcl::Utility.argsPreprocess
buildArgStrSee ::SpiceGenTcl::Utility.buildArgStr
buildSwArgStrSee ::SpiceGenTcl::Utility.buildSwArgStr
configureConfigure properties.
deleteParamSee ::SpiceGenTcl::Analysis.deleteParam
duplListCheckSee ::SpiceGenTcl::Utility.duplListCheck
duplListCheckRetSee ::SpiceGenTcl::Utility.duplListCheckRet
genSPICEStringSee ::SpiceGenTcl::Analysis.genSPICEString
getParamsSee ::SpiceGenTcl::Analysis.getParams
setParamValueSee ::SpiceGenTcl::Analysis.setParamValue
Properties

Readable: -name, -type

Writable: -name, -type

Superclasses

::SpiceGenTcl::Common::Analyses::Op

SensAc [::SpiceGenTcl::Ngspice::Analyses]Top, Main, Index

Method summary
constructorConstructor for the class.
addParamSee ::SpiceGenTcl::Analysis.addParam
argsPreprocessSee ::SpiceGenTcl::Utility.argsPreprocess
buildArgStrSee ::SpiceGenTcl::Utility.buildArgStr
buildSwArgStrSee ::SpiceGenTcl::Utility.buildSwArgStr
configureConfigure properties.
deleteParamSee ::SpiceGenTcl::Analysis.deleteParam
duplListCheckSee ::SpiceGenTcl::Utility.duplListCheck
duplListCheckRetSee ::SpiceGenTcl::Utility.duplListCheckRet
genSPICEStringSee ::SpiceGenTcl::Analysis.genSPICEString
getParamsSee ::SpiceGenTcl::Analysis.getParams
setParamValueSee ::SpiceGenTcl::Analysis.setParamValue
Properties

Readable: -name, -type

Writable: -name, -type

Superclasses

::SpiceGenTcl::Analysis

Mixins

::SpiceGenTcl::Utility

constructor [::SpiceGenTcl::Ngspice::Analyses::SensAc]SensAc, Top, Main, Index

Creates object of class SensAc that describes SENS ac analysis.

OBJECT constructor -outvar value -variation value -n value -fstart value -fstop value ?-name value?
Details
Parameters
-fstartStart frequency.
-fstopStart frequency.
-nNumber of points.
-nameName argument, optional.
-outvarOutput variable.
-variationParameter that defines frequency scale, could be dec, oct or lin.
Description
.sens outvar ac variation n fstart fstop

Example of class initialization:

::SpiceGenTcl::Ngspice::Analyses::SensAc new -outvar v(1,out) -variation dec -n 10 -fstart 1 -fstop 1e6 -name dc1
method constructor {args} {

    # Creates object of class `SensAc` that describes SENS ac analysis.
    #  -outvar - output variable
    #  -variation - parameter that defines frequency scale, could be dec, oct or lin
    #  -n - number of points
    #  -fstart - start frequency
    #  -fstop - start frequency
    #  -name - name argument, optional
    # ```
    # .sens outvar ac variation n fstart fstop
    # ```
    # Example of class initialization:
    # ```
    # ::SpiceGenTcl::Ngspice::Analyses::SensAc new -outvar v(1,out) -variation dec -n 10 -fstart 1 -fstop 1e6 -name dc1
    # ```
    # Synopsis: -outvar value -variation value -n value -fstart value -fstop value ?-name value?
    set arguments [argparse -inline {
        -name=
        {-outvar= -required}
        {-variation= -required}
        {-n= -required}
        {-fstart= -required}
        {-fstop= -required}
    }]
    my NameProcess $arguments [self object]
    lappend params [list outvar [dget $arguments outvar] -posnocheck]
    lappend params {ac -sw}
    lappend params [list variation [dget $arguments variation] -posnocheck]
    set paramsOrder {n fstart fstop}
    ##nagelfar variable name
    my ParamsProcess $paramsOrder $arguments params
    next sens $params -name $name
}

SensDc [::SpiceGenTcl::Ngspice::Analyses]Top, Main, Index

Method summary
constructorConstructor for the class.
addParamSee ::SpiceGenTcl::Analysis.addParam
argsPreprocessSee ::SpiceGenTcl::Utility.argsPreprocess
buildArgStrSee ::SpiceGenTcl::Utility.buildArgStr
buildSwArgStrSee ::SpiceGenTcl::Utility.buildSwArgStr
configureConfigure properties.
deleteParamSee ::SpiceGenTcl::Analysis.deleteParam
duplListCheckSee ::SpiceGenTcl::Utility.duplListCheck
duplListCheckRetSee ::SpiceGenTcl::Utility.duplListCheckRet
genSPICEStringSee ::SpiceGenTcl::Analysis.genSPICEString
getParamsSee ::SpiceGenTcl::Analysis.getParams
setParamValueSee ::SpiceGenTcl::Analysis.setParamValue
Properties

Readable: -name, -type

Writable: -name, -type

Superclasses

::SpiceGenTcl::Analysis

Mixins

::SpiceGenTcl::Utility

constructor [::SpiceGenTcl::Ngspice::Analyses::SensDc]SensDc, Top, Main, Index

Creates object of class SensDc that describes SENS dc analysis.

OBJECT constructor -outvar value ?-name value?
Details
Parameters
-nameName argument, optional.
-outvarOutput variable.
Description
.senc outvar

Example of class initialization:

::SpiceGenTcl::Ngspice::Analyses::SensDc new -outvar v(1,out) -name sensdc1
method constructor {args} {

    # Creates object of class `SensDc` that describes SENS dc analysis.
    #  -outvar - output variable
    #  -name - name argument, optional
    # ```
    # .senc outvar
    # ```
    # Example of class initialization:
    # ```
    # ::SpiceGenTcl::Ngspice::Analyses::SensDc new -outvar v(1,out) -name sensdc1
    # ```
    # Synopsis: -outvar value ?-name value?
    set arguments [argparse -inline {
        -name=
        {-outvar= -required}
    }]
    ##nagelfar variable name
    my NameProcess $arguments [self object]
    lappend params [list outvar [dget $arguments outvar] -posnocheck]
    next sens $params -name $name
}

Sp [::SpiceGenTcl::Ngspice::Analyses]Top, Main, Index

Method summary
constructorConstructor for the class.
addParamSee ::SpiceGenTcl::Analysis.addParam
argsPreprocessSee ::SpiceGenTcl::Utility.argsPreprocess
buildArgStrSee ::SpiceGenTcl::Utility.buildArgStr
buildSwArgStrSee ::SpiceGenTcl::Utility.buildSwArgStr
configureConfigure properties.
deleteParamSee ::SpiceGenTcl::Analysis.deleteParam
duplListCheckSee ::SpiceGenTcl::Utility.duplListCheck
duplListCheckRetSee ::SpiceGenTcl::Utility.duplListCheckRet
genSPICEStringSee ::SpiceGenTcl::Analysis.genSPICEString
getParamsSee ::SpiceGenTcl::Analysis.getParams
setParamValueSee ::SpiceGenTcl::Analysis.setParamValue
Properties

Readable: -name, -type

Writable: -name, -type

Superclasses

::SpiceGenTcl::Analysis

Mixins

::SpiceGenTcl::Utility

constructor [::SpiceGenTcl::Ngspice::Analyses::Sp]Sp, Top, Main, Index

Creates object of class Sp that describes s-parameter analysis.

OBJECT constructor -variation value -n value -fstart value -fstop value ?-name value? ?-donoise?
Details
Parameters
-donoiseActivate s-parameter noise.
-fstartStart frequency.
-fstopStart frequency.
-nNumber of points.
-nameName argument, optional.
-variationParameter that defines frequency scale, could be dec, oct or lin.
Description
.ac variation n fstart fstop <donoise>

Example of class initialization:

::SpiceGenTcl::Ngspice::Analyses::Sp new -variation dec -n 10 -fstart 1 -fstop 1e6 -name sp1 -donoise
method constructor {args} {

    # Creates object of class `Sp` that describes s-parameter analysis.
    #  -variation - parameter that defines frequency scale, could be dec, oct or lin
    #  -n - number of points
    #  -fstart - start frequency
    #  -fstop - start frequency
    #  -name - name argument, optional
    #  -donoise - activate s-parameter noise
    # ```
    # .ac variation n fstart fstop <donoise>
    # ```
    # Example of class initialization:
    # ```
    # ::SpiceGenTcl::Ngspice::Analyses::Sp new -variation dec -n 10 -fstart 1 -fstop 1e6 -name sp1 -donoise
    # ```
    # Synopsis: -variation value -n value -fstart value -fstop value ?-name value? ?-donoise?
    set arguments [argparse -inline {
        -name=
        {-variation= -required -enum {dec oct lin}}
        {-n= -required}
        {-fstart= -required}
        {-fstop= -required}
        {-donoise}
    }]
    my NameProcess $arguments [self object]
    lappend params [list variation [dget $arguments variation] -posnocheck]
    set paramsOrder {n fstart fstop}
    my ParamsProcess $paramsOrder $arguments params
    if {[dexist $arguments donoise]} {
        lappend params {donoise 1 -pos}
    }
    ##nagelfar variable name
    next sp $params -name $name
}

Tran [::SpiceGenTcl::Ngspice::Analyses]Top, Main, Index

Method summary
addParamSee ::SpiceGenTcl::Analysis.addParam
argsPreprocessSee ::SpiceGenTcl::Utility.argsPreprocess
buildArgStrSee ::SpiceGenTcl::Utility.buildArgStr
buildSwArgStrSee ::SpiceGenTcl::Utility.buildSwArgStr
configureConfigure properties.
deleteParamSee ::SpiceGenTcl::Analysis.deleteParam
duplListCheckSee ::SpiceGenTcl::Utility.duplListCheck
duplListCheckRetSee ::SpiceGenTcl::Utility.duplListCheckRet
genSPICEStringSee ::SpiceGenTcl::Analysis.genSPICEString
getParamsSee ::SpiceGenTcl::Analysis.getParams
setParamValueSee ::SpiceGenTcl::Analysis.setParamValue
Properties

Readable: -name, -type

Writable: -name, -type

Superclasses

::SpiceGenTcl::Common::Analyses::Tran