Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

famMap

famMap( 
s_func
o_family 
[ @rest t_args ]
)
=> o_result

Description

Applies a function with a set of arguments to each member of a family of waveforms.

Arguments

s_func

A function specified as a string or symbol.

o_family

A family

@rest t_args

Value Returned

o_result

A family with a structure similar to the input family.

Examples

;; After running parametric pnoise analysis
wave1 = getData( "out" ?result 'pnoise )
srrWave:50152592
ocnPrint( wave1 )
freq (Hz)            
uotient (getD      quotient (getD
prf     -10 -9
901M     2.39482n 2.6192n
902M     2.04681n 2.1431n
903M     1.84256n 1.89187n
904M     1.75846n 1.78815n
905M             1.71612n 1.73575n
=> t
ocnPrint( famMap( 'quotient wave1 2.0 ))
freq (Hz)            quotient (getD         quotient (getD 
prf        -10         -9

901M             1.19741n     1.3096n 
902M     1.02341n 1.0715n
903M     0.92128n 0.94594n
904M     0.87923n 0.89408n
905M     0.85806n 0.86788n
=> t
;; This is equivalent to ocnPrint( wave1 | 2.0 )

Return to top
 ⠀
X