cat
来自「speech signal process tools」· 代码 · 共 199 行
TXT
199 行
MBROT(1-ESPS) 1997NNNNAAAAMMMMEEEE mbrot - compute elements of Mandelbrot setSSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS mmmmbbbbrrrrooootttt [ ----bbbb _b_o_t_t_o_m__e_d_g_e ] [ ----tttt _t_o_p__e_d_g_e ] [ ----llll _l_e_f_t__e_d_g_e ] [ ----rrrr _r_i_g_h_t__e_d_g_e ] [ ----cccc _c_o_n_f_i_d_e_n_c_e ] [ ----gggg _g_r_i_d__p_t_s ] [ ----CCCC ] [ ---- xxxx ] _o_u_t_p_u_t__f_i_l_eDDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _M_b_r_o_t computes points that are in the Mandelbrot set. This is the set of all points _Z in the complex plane such that C = C * C + _Z stays bounded as it is recursively repeated. _M_b_r_o_t produces an ESPS feature file, FEA(5-ESPS), that con- tains two fields: _X__p_o_s ( type DOUBLE) and _m_b_r_o_t (type SHORT). _X__p_o_s is a scalar variable and is the x-axis coor- dinate of the vertical data vector stored in the _m_b_r_o_t field. _m_b_r_o_t is a vector of size _g_r_i_d__p_t_s + 1 (see ----gggg); the zeroth element of the _m_b_r_o_t field has y-axis coordinate of _b_o_t_t_o_m__e_d_g_e (see ----bbbb). If " - " is supplied in place of _o_u_t_p_u_t__f_i_l_e, then standard output is used.OOOOPPPPTTTTIIIIOOOONNNNSSSS The following options are supported: ----bbbb _b_o_t_t_o_m__e_d_g_e [-1.] Specifies the lower edge of the region over which the Mandelbrot set is computed. ----tttt _t_o_p__e_d_g_e [1.] Specifes the upper edge of the region over which the Mandelbrot set is computed. ----llll _l_e_f_t__e_d_g_e [-1.9] Specifies the left edge of the region over which the Mandelbrot set is computed. ----rrrr _r_i_g_h_t__e_d_g_e [.6] Specifies the right edge of the region over which the Mandelbrot set is computed. ----cccc _c_o_n_f_i_d_e_n_c_e [342] Specifies the number of iterations used to decide whether the point is in the set. That is, if after ----cccc specified iterations of the recursion the point is still bounded (real and imaginary parts less than 2 in magnitude), then the point is considered to be in the set. The larger the _c_o_n_f_i_d_e_n_c_e factor, the sharper the set boundaries become (and often the more interesting the image looks). ----gggg _g_r_i_d__p_t_s [100]Apr Copyright Entropic Research Laboratory, Inc. 03 1MBROT(1-ESPS) 1997 Specifies the number of grid cells to use in dividing the region of interest. Often, the larger the number of _g_r_i_d__p_t_s, the more interesting the image looks. ----CCCC By default, _m_b_r_o_t returns 0 if the point is not in the set and 1 if the point is in the set. By specifying ---- CCCC, each point is assigned a value between -64 and 50. Points in the set get 50. Proportionally lower values are given to all other points based on how close there are to being in the set. For example, if the _c_o_n_f_i_d_e_n_c_e factor is 114 and the point falls out of the set after 90 iterations, the value given this point is 26 ( = 90 - 64 ). To make full use of the _x_w_a_v_e_s colormaps, make sure that the ----cccc specified value is an integer multiple of 114. ----xxxx If specified, debug information is printed to stderr.EEEESSSSPPPPSSSS PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS The parameter file is not processed.EEEESSSSPPPPSSSS CCCCOOOOMMMMMMMMOOOONNNN ESPS Common is not read by _m_b_r_o_t.EEEESSSSPPPPSSSS HHHHEEEEAAAADDDDEEEERRRRSSSS In addition to the usual header values for FEA (5 - ESPS) files, _m_b_r_o_t writes the following values: _n_u_m__g_r_i_d__p_t_s (LONG), _n_u_m__i_t_e_r_a_t_i_o_n_s (LONG), _l_e_f_t__e_d_g_e (DOUBLE), _r_i_g_h_t__e_d_g_e (DOUBLE), _b_o_t_t_o_m__e_d_g_e (DOUBLE), _t_o_p__e_d_g_e (DOU- BLE), _X__i_n_c (DOUBLE), _Y__i_n_c (DOUBLE),FFFFUUUUTTTTUUUURRRREEEE CCCCHHHHAAAANNNNGGGGEEEESSSS Parameter file processing will be added.EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS By default, _m_b_r_o_t (1-ESPS) produces the classical fuzzy bug. Try the following: %mbrot - | image -embrot -S500:400 - For a more interesting display, try %mbrot -C -l-1.254 -r-1.2536 -b.0234 -t.0238 - g800 - c798 - | tofspec -fmbrot - mbrot.fspec& This will take a while to complete, but when it is done use _x_w_a_v_e_s to view the FEA_SPEC (5-ESPS) file. In general, the more interesting images are found on the edges of the set.Apr Copyright Entropic Research Laboratory, Inc. 03 2MBROT(1-ESPS) 1997SSSSEEEEEEEE AAAALLLLSSSSOOOO _i_m_a_g_e (1-ESPS), _x_w_a_v_e_s (1-ESPS), _t_o_f_s_p_e_c (1-ESPS)WWWWAAAARRRRNNNNIIIINNNNGGGGSSSS AAAANNNNDDDD DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSSBBBBUUUUGGGGSSSS None known.RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS James Gleick, _C_H_A_O_S, New York, PENGUIN BOOKS, 1987AAAAUUUUTTTTHHHHOOOORRRR Program and manual page by David BurtonApr Copyright Entropic Research Laboratory, Inc. 03 3
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?