Help -- A listing of SigSim commands and their associated parameters. ############################################################################### Help Legend: (command format appears after heading) [] optionally supplied arguments / choice of arguments to supply '' encloses exact argument to specify ; mandatory carriage return ############################################################################### Help Commands: cmd_name [param_list]; ? help [command_name] man formats keywords set '?' ############################################################################### Viewing Environment Settings: cmd_name [param_list or eqn]; set probe watch mats ['ms'/'md'/'mq'/'none'] Changing Variable Settings: cmd_name [param_list]; set variable_name = value/expression load variable_settings_file save variable_settings_file clrusr [user_variable_name] Debugging Commands: cmd_name(param_list); debug [section_name] ############################################################################### Data File Generators: data_file = cmd_name(param_list); dc (amplitude, points) sin (amplitude, cycles, points) cos (amplitude, cycles, points) sinc (amplitude, null_point, points) squ (amplitude, cycles, points) tri (amplitude, cycles, points) ramp (amplitude, cycles, points) imp (amplitude, width, [location,] points) noi (amplitude, points) exp (amplitude, rc_time_constant, points) Data Value Generators: user_variable = cmd_name(param_list); dc (amplitude) sin (amplitude, cycles) cos (amplitude, cycles) sinc (amplitude, null_point) squ (amplitude, cycles) tri (amplitude, cycles) ramp (amplitude, cycles) imp (amplitude, width, [location,]) noi (amplitude) exp (amplitude, rc_time_constant) ############################################################################### DSM Simulation Commands: data_file = cmd_name(param_list); sim (env_variable_file/'env', input_data_file) DSM Simulation Control Commands: cmd_name(param_list); load variable_settings_file probe [node_type] [, component_number] ############################################################################### ADN Simulation Commands: [data_file] = cmd_name(param_list); sim (adn_network_file/'env', data_file) trans (number_of_magn_bins, [[bin_step,] sim_points,] adn_network_file/'env') ptrans (number_of_phase_bins, [[bin_step,] points,] adn_network_file/'env') dtrans (number_of_delay_bins, [[bin_step,] points,] adn_network_file/'env') means (number_of_dc_mean_values, dc_start, dc_end, sim_points, adn_network_file/'env') ADN Simulation Control Commands: cmd_name(param_list); load adn_network_file set adn_matrix_name, to_node, from_node = value/expression probe 'node', adn_node_number watch unstable_points_limit ADN Generation Commands: adn_network_file = cmd_name(param_list); net [new_adn_network_file] fir (delay_tap0, delay_tap1, ... delay_tapN) fir delay_tap_file iir (numer_coeffN, ... numer_coeff0, denom_coeffN-1, ... denom_coeff0) iir coefficient_file lfir (lattice_k1, ... lattice_kN) liir (lattice_k1, ... lattice_kN, lattice_c0, ... lattice_cN) bqnet (b2, b1, b0, a2, a1) cascade ([gain_poles_zeros_file/ratfn_file/gain_poles_zeros_list]) ADN Biquad Commands: cmd_name[param_list]; bqone bqpair ([gain_poles_zeros_file/ratfn_file/gain_poles_zeros_list]) bqlist ([gain_poles_zeros_file/ratfn_file/gain_poles_zeros_list]) ############################################################################### Spectral Analysis File Commands: data_file = cmd_name(param_list); fft (time_data_file) phase (time_data_file) delay (time_data_file) per (1/overlap_fraction, length, time_data_file) lpf (cutoff_point, time_data_file) hpf (cutoff_point, time_data_file) shift (shift_point, time_data_file) Spectral Analysis Commands: user_variable = cmd_name(param_list); fft (bin_number, time_data_file) dft (bin_number, time_data_file) phase (bin_number, time_data_file) Time-Domain Analysis File Commands: data_file = cmd_name(param_list); ifft (freq_data_file) conv (['auto',] data_file) conv (['linear'/'circular'/'cross',] data_file1, data_file2) hist (lower_limit, upper_limit, ranges, data_file) ############################################################################### Ideal Filter Polynomial Commands: [data_file] = cmd_name(param_list); gpz [gpz_file/ratfn_file] gpz [plane, leadcoeff, number_of_poles, complex_poles_list, number_of_finite_zeros, complex_zeros_list] poly [single_polynomial_zeros_file] poly [poly_order, complex_zeros_list] Ideal Filter Response Commands: [data_file] = cmd_name(param_list); filter [fstart, fstop] [points] [filter_file/gpz_file/ratfn_file] filter [filter_file/gpz_file/ratfn_file] filter [plane, order, [fsamp,] fstart, fstop, points, leadcoeff, numerator_coeff_list, denominator_coeff_list] pfilter [filter_file/gpz_file/ratfn_file] pfilter [plane, [fsamp,] fstart, fstop, points, leadcoeff, numerator_coeff_list, denominator_coeff_list] dfilter [filter_file/gpz_file/ratfn_file] dfilter [plane, [fsamp,] fstart, fstop, points, leadcoeff, numerator_coeff_list, denominator_coeff_list] rc1 (cutoff_point, points) rc2 (cutoff_point, points) Ideal Filter Printing Commands: cmd_name(param_list); gpzmax [gpz_file/ratfn_file] gpzmax [plane, leadcoeff, number_of_poles, complex_poles_list, number_of_finite_zeros, complex_zeros_list] prf ([decimal_points,] filter_file/gpz_file/ratfn_file) Polynomial Commands: data_file = cmd_name[param_list]; sweep [filter_file] sweep [order, start_value, end_value, points, leadcoeff, numerator_coeff_list, denominator_coeff_list] ############################################################################### Sound File Commands: data_file = cmd_name(param_list); record points toaudio sigsim_data_file fromaudio unix_audio_file Sound Control Commands: cmd_name(param_list); play sigsim_data_file sound (frequency_in_Hz, time_in_seconds) ############################################################################### Matrix File Commands: matrix_file = cmd_name(param_list); matrix ([['real'/'complex'] matrix_name rows columns]) inv matrix_file trn matrix_file adj matrix_file det matrix_file eye (square_dimension) zero (rows, columns) delta (rows, unity_row) + matrix_file/any_real '+' matrix_file/any_real - matrix_file/any_real '-' matrix_file/any_real * matrix_file/any_real '*' matrix_file/any_real / matrix_file/any_real '/' matrix_file/any_real ^ matrix_file/any_real '^' any_real Matrix Commands: cmd_name(param_list); set (matrix_name'['row']['column']', new_value) pick ([row, column,] matrix_file) rename (new_matrix_name, matrix_file) ############################################################################### Arithmetic File Commands: data_file = cmd_name(param_list); abs (data_file) int (data_file) log (linear_data_file) 10log (linear_data_file) alog (20log_data_file) sqrt (data_file) deriv ([start_point, end_point,] data_file) window (data_file) + data_file/any_real '+' data_file/any_real - data_file/any_real '-' data_file/any_real * data_file/any_real '*' data_file/any_real / data_file/any_real '/' data_file/any_real ^ data_file/any_real '^' data_file/any_real Arithmetic Real Number Commands: cmd_name(param_list); abs any_real_number int any_real_number frac any_real_number log any_real_number 10log any_real_number alog any_real_number sqrt any_real_number + any_real_number '+' any_real_number - any_real_number '-' any_real_number * any_real_number '*' any_real_number / any_real_number '/' any_real_number ^ any_real_number '^' any_real_number Statistic File Commands: [user_variable = ] cmd_name(param_list); pick (pick_point, data_file/gpz_file/ratfn_file/ filter_file/matrix_file) min ([start_point, end_point,] data_file) max ([start_point, end_point,] data_file) mean ([start_point, end_point,] data_file) var ([start_point, end_point,] data_file) integ ([start_point, end_point,] data_file) ############################################################################### Logic File Commands: data_file = cmd_name(param_list); and data_file/any_real 'and' data_file/any_real nand data_file/any_real 'nand' data_file/any_real or data_file/any_real 'or' data_file/any_real nor data_file/any_real 'nor' data_file/any_real xor data_file/any_real 'nor' data_file/any_real xnor data_file/any_real 'xnor' data_file/any_real not data_file/any_real Logic Real Number Commands: [any_real] cmd_name any_real; and any_real 'and' any_real nand any_real 'nand' any_real or any_real 'or' any_real nor any_real 'nor' any_real xor any_real 'nor' any_real xnor any_real 'xnor' any_real not any_real ############################################################################### File Information Commands: cmd_name(data_file); count data_file type any_format_file exist any_format_file File Manipulation Commands: data_file = cmd_name(param_list); decim (average_window_points, data_file) inter (number_of_inserted_points, data_file) under (which_sampled_points, data_file) over (number_of_insert_zeros, data_file) rms (rms_window_points, data_file) norm ([new_max_amplitude, 'lin'/'log',] data_file) time ([new_start_time, new_stop_time,] data_file) rev data_file fold ('before'/'after', data_file) mirror ('before'/'after', data_file) use (from_point, to_point, data_file) join (data_file1, data_file2, ...) pad (number_of_zeros, data_file) clip data_file quant data_file Complex Data File Commands: data_file = cmd_name(data_file); real data_file imag data_file arg data_file abs data_file ############################################################################### File Format Conversion Commands: data_file = cmd_name(data_file); tosig data_file tomat data_file tomth data_file totwo data_file tocom data_file tocomdisco data_file todegs radian_data_file torads degree_data_file toaudio data_file fromaudio audio_file fromfx filtorX_ratfn_file ############################################################################### Printing and Plotting Commands: cmd_name(param_list); view data_file/text_file cat any_file1 [, any_file2, ...] lpr ['-P'printer] any_file1 [, any_file2, ...] lprm printer_job_number lpq fx (data_file1 [, data_file2, ...]) fxgpz gpz_file plot (data_file1 [, data_file2, ...]) splot (data_file1 [, data_file2, ...]) xgraph (data_file1 [, data_file2, ...]) ############################################################################### Conditional and Loop Commands: cmd_name [param_list]; if (boolean) '{' true_command1; ... true_commandN; '}' if '{' operand1; logic_operator; operand2; true_command1; ... true_commandN; '}' for (loop_variable = start_value, end_value, increment_expr) loop_command1; ... loop_commandN; endfor ############################################################################### User Input Commands: user_variable = cmd_name[param_list]; prompt [prompt_string_with_math_'$'expressions] User Interaction Commands: cmd_name[param_list]; pause [pause_string_with_math_'$'expressions] Screen Output Commands: cmd_name[param_list]; echo [echo_string_with_math_'$'expressions] File Output Commands: data_file = cmd_name(param_list); print [file_string_with_math_'$'expressions] ############################################################################### Shell Script Commands: cmd_name [param_list]; view script_cmd script_cmd [script_params_list] ############################################################################### Shell Commands: cmd_name([param_list]); shell any_unix_command rm any_file1 [, any_file2, ...] cp old_file_name, new_file_name mv old_file_name, new_file_name ls [ls_parameters] cat any_file1 [, any_file2, ...] more any_file1 [, any_file2, ...] less any_file1 [, any_file2, ...] cd [new_current_dir] md new_dir_name rd old_dir_name jove any_file pwd Commands for Access to Related Software: cmd_name; filtorX matlab mathematica filtorX Design Commands: data_file = cmd_name[param_list]; design (design_type, [argument1, argument2, ...]) ############################################################################### Miscellaneous Commands: cmd_name([param_list]); power (any_integer) base (any_integer) ' [optional_comment_string] # [optional_comment_string] / [optional_comment_string] snr cls exit/quit/bye ############################################################################### Changing Variable Settings: cmd_name variable_name value init environment_var path_string Input Function Generators: data_file = cmd_name(param_list); swp (amplitude, last_sections_cycles, sections, points) ADN Viewing Commands: cmd_name [param_list]; node Ideal Filtering Commands: [data_file] = cmd_name(param_list); ortho (['transpose'], ['quantize'], [gain_poles_zeros_file/ ratfn_file]) single (['transpose'], ['quantize'], [gain_poles_zeros_file/ ratfn_file]) Debugging Commands: cmd_name(param_list); view (SigSim_source_code_file) ###############################################################################