-
Notifications
You must be signed in to change notification settings - Fork 7
Customizing QALMA
Mushfiq Rahman edited this page Nov 14, 2017
·
2 revisions
Changing the default parameters in QALMA permanently is simple. They are found in the ‘OpeningFcn’ function in the main .m file of each module. The main files located in the dedicated folders for each module:
- ~/qalma/star_shot/star_shot.m
- ~/qalma/picket_fence/picket_panda.m
- ~/qalma/winston_lutz/wl.m
- ~/qalma/dynalog/dynalog.m
- ~/qalma/ci/ci.m
Let’s try an example:
Fig. 16: Parameters in picket_panda.m
- Open the file ~/QALMA/picket_fence/picket_panda.m on Matlab.
- Find the line “function picket_panda_OpeningFcn(hObject, eventdata, handles, varargin)” which should be found around line 50. All the default parameters are found inside this function (fig. 16).
- Matching the values from the GUI one can easily identify the variable or tags to change the value. Usually *_text is used for a text box, *_pop is used for drop-down menu and *_check is used for checkbox.
- Level or center can be changed by changing ‘level_txt’
- Width can be changed using ‘width_left_txt’ and ‘width_right_txt’
- Winer filter parameters can be changed using ‘w1_pop’ and ‘w2_pop’
- Moving average parameters can be changed using ‘smoothing_param’
- Rotation degree can be changed by setting ‘rotate_pop’, ‘Value’ to 1, 2, 3, 5 or 5 to select 0, 90, 180, 270 or 360 Degree respectively.
- Magnification factor and resolution parameters can be changed using ‘mag_txt’ and ‘res_txt’ respectively.
Disclaimer: QALMA was developed for research purpose. We are not responsible for clinical application.