text:
function varargout = GUI_INI_BC(varargin)
% GUI_INI_BC MATLAB code for GUI_INI_BC.fig
%      GUI_INI_BC, by itself, creates a new GUI_INI_BC or raises the existing
%      singleton*.
%
%      H = GUI_INI_BC returns the handle to a new GUI_INI_BC or the handle to
%      the existing singleton*.
%
%      GUI_INI_BC('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in GUI_INI_BC.M with the given input arguments.
%
%      GUI_INI_BC('Property','Value',...) creates a new GUI_INI_BC or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before GUI_INI_BC_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to GUI_INI_BC_OpeningFcn via varargin.
%
%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
%      instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES

% Edit the above text to modify the response to help GUI_INI_BC

% Last Modified by GUIDE v2.5 19-Jan-2015 11:28:44

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @GUI_INI_BC_OpeningFcn, ...
                   'gui_OutputFcn',  @GUI_INI_BC_OutputFcn, ...
                   'gui_LayoutFcn',  [] , ...
                   'gui_Callback',   []);
if nargin && ischar(varargin{1})
    gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
    gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT

% --- Executes just before GUI_INI_BC is made visible.
function GUI_INI_BC_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to GUI_INI_BC (see VARARGIN)
indexEdit = 0;
switch indexEdit
    case 0
        %--------------------------------------------------------------------------
        dontOpen = false;
        mainGuiInput = find(strcmp(varargin, 'OSCILOS_long'));
        if (isempty(mainGuiInput)) ...
            || (length(varargin) <= mainGuiInput) ...
            || (~ishandle(varargin{mainGuiInput+1}))
            dontOpen = true;
        else % load from the main GUI
            % handles of main GUI
            handles.MainGUI = varargin{mainGuiInput+1};
            try
                handles.ExampleGUI = varargin{mainGuiInput+2};
            catch
            end
            % Obtain handles using GUIDATA with the caller's handle
            mainHandles = guidata(handles.MainGUI);
            % background colors
            handles.bgcolor=mainHandles.bgcolor;
            % fontsize
            handles.FontSize=mainHandles.FontSize;
            %
            handles.sW = mainHandles.sW;
            handles.sH = mainHandles.sH;
            handles.indexApp = 0;
            % Update handles structure
            guidata(hObject, handles);
            % Initialization
            GUI_INI_BC_Initialization(hObject, eventdata, handles)
        end
        guidata(hObject, handles);
        handles.output = hObject;
        guidata(hObject, handles);
        if dontOpen
           disp('-----------------------------------------------------');
           disp('This is a subprogram. It cannot be run independently.')
           disp('Please load the program "OSCILOS_long'' from the ')
           disp('parent directory!')
           disp('-----------------------------------------------------');
        else
%            uiwait(hObject);
        end
    case 1
        global CI
        handles.bgcolor{1} = [0.95, 0.95, 0.95];
        handles.bgcolor{2} = [0, 0, 0];
        handles.bgcolor{3} = [.75, .75, .75];
        handles.bgcolor{4} = [0.90,0.90,1];
        %
        handles.sW  = 800;
        handles.sH  = 600;
        %
        if ispc
            handles.FontSize(1)=11;                 % set the default fontsize
            handles.FontSize(2)=9;
        else
            handles.FontSize(1)=12;                 % set the default fontsize
            handles.FontSize(2)=10;
        end
        CI.Ru = 8.3145;
        assignin('base','CI',CI);                   % save the current information to the works
        handles.indexApp = 0;
        guidata(hObject, handles);
        GUI_INI_BC_Initialization(hObject, eventdata, handles)
        handles.output = hObject;
        guidata(hObject, handles);
end

function GUI_INI_BC_Initialization(varargin)
hObject = varargin{1};
handles = guidata(hObject);
global CI
% --------------------------------------
try
    indexExist_CI_BC = any(strcmp('BC',fieldnames(CI)));
    if indexExist_CI_BC == 0;
        CI.BC.StyleInlet    = 2;
        CI.BC.StyleOutlet   = 1;
        CI.BC.num1          = 1;
        CI.BC.den1          = 1;
        CI.BC.tau_d1        = 0;
        CI.BC.num2          = -1;
        CI.BC.den2          = 1;
        CI.BC.tau_d2        = 0;
        CI.BC.A1            = 1;
        CI.BC.Phi1          = 0;
        CI.BC.A2            = 1;
        CI.BC.Phi2          = 0;
        CI.BC.ET.pop_type_model             = 1;
        CI.BC.ET.Dispersion.Delta_tauCs     = 0;
        CI.BC.ET.Dissipation.k              = 0;
    end
catch
end

assignin('base','CI',CI);                   % save the current information to the workspace
%--------------------------------------
% positions reconfiguration
set(0, 'units', 'points');
screenSize  = get(0, 'ScreenSize');                             % get the screen size
sW          = handles.sW;                                       % screen width
sH          = handles.sH;                                       % screen height
FigW        = sW.*4/5;                                          % window width
FigH        = sH.*5/9;                                          % window height
set(handles.figure,     'units', 'points',...
                        'position',[(screenSize(3)-FigW)./2 (screenSize(4)-FigH)./2 FigW FigH],...
                        'name','Boundary condition configurations',...
                        'color',handles.bgcolor{3});
%----------------------------------------
% pannel axes
set(handles.uipanel_axes,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[FigW*10.5/20 FigH*2.0/20 FigW*9/20 FigH*17.75/20],...
                        'Title','Transfer function of reflection coefficient',...
                        'visible','on',...
                        'highlightcolor',handles.bgcolor{3},...
                        'borderwidth',1,...
                        'fontsize',handles.FontSize(2),...
                        'backgroundcolor',handles.bgcolor{3});
pannelsize=get(handles.uipanel_axes,'position');
pW=pannelsize(3);
pH=pannelsize(4);
set(handles.axes_Gain,  'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*2/10 pH*5.0/10 pW*7/10 pH*3.5/10],...
                        'fontsize',handles.FontSize(1),...
                        'color',handles.bgcolor{1},...
                        'box','on');
set(handles.axes_Phase, 'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*2/10 pH*1.5/10 pW*7/10 pH*3.5/10],...
                        'fontsize',handles.FontSize(1),...
                        'color',handles.bgcolor{1},...
                        'box','on');
set(handles.pop_Plot,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*8.5/10 pW*3/10 pH*1.0/10],...
                        'fontsize',handles.FontSize(2),...
                        'string',{'Inlet';'Outlet'},...
                        'backgroundcolor',handles.bgcolor{1},...
                        'horizontalalignment','left',...
                        'enable','on');

guidata(hObject, handles);
%----------------------------------------
% pannels Inlet
set(handles.uipanel_Inlet,   'units', 'points',...
                        'Fontunits','points',...
                        'position',[FigW*0.5/20 FigH*11.0/20 FigW*9.5/20 FigH*8.75/20],...
                        'Title','Inlet configuration',...
                        'visible','on',...
                        'highlightcolor',handles.bgcolor{3},...
                        'borderwidth',1,...
                        'fontsize',handles.FontSize(2),...
                        'backgroundcolor',handles.bgcolor{3});
pannelsize=get(handles.uipanel_Inlet,'position');
pW=pannelsize(3);
pH=pannelsize(4);
set(handles.text_type_Inlet,      'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*7.0/10 pW*5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Type:',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','left',...
                        'visible','off');
set(handles.pop_type_Inlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*7.5/10 pW*8.5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string',{  'Open end';...
                                    'Closed end';...
                                    'Choked';...
                                    'User defined (Amp. and T.D.)...';...
                                    'User defined (Amp. and Phase)...';...
                                    'Transfer function model from numerators and denominators';...
                                    'Transfer function model loaded from external mat file'},...
                        'backgroundcolor',handles.bgcolor{1},...
                        'horizontalalignment','left',...
                        'enable','on',...
                        'value',CI.BC.StyleInlet);
set(handles.text_Amp_Inlet,      'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*4.75/10 pW*5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Amplitude [-]:',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','left',...
                        'visible','on');
set(handles.edit_Amp_Inlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*6/10 pH*5/10 pW*3/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string',1,...
                        'backgroundcolor',handles.bgcolor{1},...
                        'horizontalalignment','right',...
                        'visible','on');
set(handles.text_td_Inlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*2.75/10 pW*5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Time delay [ms]:',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','left',...
                        'visible','on');
set(handles.edit_td_Inlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*6/10 pH*3/10 pW*3/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string',0,...
                        'backgroundcolor',handles.bgcolor{1},...
                        'horizontalalignment','right',...
                        'visible','on');
set(handles.text_add_Inlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*0.75/10 pW*5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Time delay [ms]:',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','left',...
                        'visible','on');
set(handles.edit_add_Inlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*6/10 pH*1.0/10 pW*3/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string',0,...
                        'backgroundcolor',handles.bgcolor{1},...
                        'horizontalalignment','right',...
                        'visible','on');
set(handles.pb_inlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*0.75/10 pW*8.5/10 pH*1.5/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Load the transfer function model and time delay',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','right',...
                        'Enable','on');
%----------------------------------------
% pannels Outlet
set(handles.uipanel_Outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[FigW*0.5/20 FigH*2.0/20 FigW*9.5/20 FigH*8.75/20],...
                        'Title','Outlet configuration',...
                        'visible','on',...
                        'highlightcolor',handles.bgcolor{3},...
                        'borderwidth',1,...
                        'fontsize',handles.FontSize(2),...
                        'backgroundcolor',handles.bgcolor{3});
pannelsize=get(handles.uipanel_Outlet,'position');
pW=pannelsize(3);
pH=pannelsize(4);
set(handles.text_type_Outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*6.5/10 pW*5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Type:',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','left',...
                        'visible','off');
set(handles.pop_type_Outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*7.5/10 pW*8.5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string',{  'Open end';...
                                    'Closed end';...
                                    'Choked';...
                                    'User defined (Amp. and T.D.)...';...
                                    'User defined (Amp. and Phase)...';...
                                    'Transfer function model from numerators and denominators';...
                                    'Transfer function model loaded from external mat file'},...
                        'backgroundcolor',handles.bgcolor{1},...
                        'horizontalalignment','left',...
                        'Enable','on',...
                        'value',CI.BC.StyleOutlet);
set(handles.text_Amp_Outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*4.75/10 pW*5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Amplitude [-]:',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','left',...
                        'visible','on');
set(handles.edit_Amp_Outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*6/10 pH*5/10 pW*3/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string',1,...
                        'backgroundcolor',handles.bgcolor{1},...
                        'horizontalalignment','right',...
                        'visible','on');
set(handles.text_td_Outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*2.75/10 pW*5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Time delay [ms]:',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','left',....
                        'visible','on');
set(handles.edit_td_Outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*6/10 pH*3/10 pW*3/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string',0,...
                        'backgroundcolor',handles.bgcolor{1},...
                        'horizontalalignment','right',....
                        'visible','on');
set(handles.text_add_Outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*0.75/10 pW*5/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Time delay [ms]:',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','left',...
                        'visible','on');
set(handles.edit_add_Outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*6/10 pH*1.0/10 pW*3/10 pH*1.2/10],...
                        'fontsize',handles.FontSize(2),...
                        'string',0,...
                        'backgroundcolor',handles.bgcolor{1},...
                        'horizontalalignment','right',...
                        'visible','on');
set(handles.pb_outlet,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*0.5/10 pH*0.75/10 pW*8.5/10 pH*1.5/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Load the transfer function model and time delay',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'horizontalalignment','right',...
                        'Enable','on');
%----------------------------------------
% pannel AOC
set(handles.uipanel_AOC,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[FigW*0.5/20 FigH*0/20 FigW*19/20 FigH*1.75/20],...
                        'Title','',...
                        'visible','on',...
                        'highlightcolor',handles.bgcolor{3},...
                        'borderwidth',1,...
                        'fontsize',handles.FontSize(2),...
                        'backgroundcolor',handles.bgcolor{3});
pannelsize=get(handles.uipanel_AOC,'position');
pW=pannelsize(3);
pH=pannelsize(4);
set(handles.pb_Apply,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*1/10 pH*1/10 pW*2.0/10 pH*7/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Plot',...
                        'backgroundcolor',handles.bgcolor{3});
set(handles.pb_SaveFig,...
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*4/10 pH*1/10 pW*2.0/10 pH*7/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Save figure',...
                        'backgroundcolor',handles.bgcolor{3},...
                        'enable','off',...
                        'visible','off');
set(handles.pb_OK,       'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*4/10 pH*1/10 pW*2.0/10 pH*7/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','OK',...
                        'backgroundcolor',handles.bgcolor{3});
set(handles.pb_Cancel,....
                        'units', 'points',...
                        'Fontunits','points',...
                        'position',[pW*7/10 pH*1/10 pW*2.0/10 pH*7/10],...
                        'fontsize',handles.FontSize(2),...
                        'string','Cancel',...
                        'backgroundcolor',handles.bgcolor{3});
%
assignin('base','CI',CI);                   % save the current information to the workspace
guidata(hObject, handles);
Fcn_GUI_INI_BC_POP1_update(hObject)
handles=guidata(hObject);
guidata(hObject, handles);
Fcn_GUI_INI_BC_POP2_update(hObject)
handles=guidata(hObject);
guidata(hObject, handles);
Fcn_GUI_INI_BC_PLOT_BC_TF(hObject)
handles=guidata(hObject);
guidata(hObject, handles);

%

function Fcn_GUI_INI_BC_POP1_update(varargin)
hObject = varargin{1};
handles = guidata(hObject);
global CI
pop_type_Inlet      = get(handles.pop_type_Inlet,'Value');
%
switch pop_type_Inlet
    case 4
            set(handles.edit_Amp_Inlet,             'visible','on',...
                                                    'string', num2str(CI.BC.A1));
            set(handles.text_Amp_Inlet,             'visible','on',...
                                                    'string','Amplitude [-]');
            set(handles.edit_td_Inlet,              'visible','on',...
                                                    'string', num2str(CI.BC.tau_d1*1e3));
            set(handles.text_td_Inlet,              'visible','on',...
                                                    'string','Time delay [ms]:');
            set(handles.edit_add_Inlet,             'visible','off');
            set(handles.text_add_Inlet,             'visible','off');
            set(handles.pb_inlet,                   'visible','off');
    case 5
            set(handles.edit_Amp_Inlet,             'visible','on',...
                                                    'string', num2str(CI.BC.A1));
            set(handles.text_Amp_Inlet,             'visible','on',...
                                                    'string','Amplitude [-]');
            set(handles.edit_td_Inlet,              'visible','on',...
                                                    'string', num2str(CI.BC.Phi1/pi*180));
            set(handles.text_td_Inlet,              'visible','on',...
                                                    'string','Phase [deg]:');
            set(handles.edit_add_Inlet,             'visible','off');
            set(handles.text_add_Inlet,             'visible','off');
            set(handles.pb_inlet,                   'visible','off');
    case 6
        handles.indexApp = Fcn_GUI_INI_BC_helpdlg(handles.indexApp);
        strNum = ['[' num2str(CI.BC.num1) ']'];
        strDen = ['[' num2str(CI.BC.den1) ']'];
            set(handles.edit_Amp_Inlet,             'visible','on',...
                                                    'string', strNum);
            set(handles.text_Amp_Inlet,             'visible','on',...
                                                    'string', 'Numerator(s):');
            set(handles.edit_td_Inlet,              'visible','on',...
                                                    'string', strDen);
            set(handles.text_td_Inlet,              'visible','on',...
                                                    'string', 'Denominator(s):');
            set(handles.edit_add_Inlet,             'visible','on',...
                                                    'string', num2str(CI.BC.tau_d1.*1e3));
            set(handles.text_add_Inlet,             'visible','on',...
                                                    'string','Time delay [ms]:');
            set(handles.pb_inlet,                   'visible','off');
    case 7
            set(handles.edit_Amp_Inlet,             'visible','off');
            set(handles.text_Amp_Inlet,             'visible','off');
            set(handles.edit_td_Inlet,              'visible','on',...
                                                    'string', num2str(CI.BC.tau_d1.*1e3));
            set(handles.text_td_Inlet,              'visible','on',...
                                                    'string','Time delay [ms]:');
            set(handles.edit_add_Inlet,             'visible','off');
            set(handles.text_add_Inlet,             'visible','off');
            set(handles.pb_inlet,                   'visible','on');

    otherwise
            set(handles.edit_Amp_Inlet,             'visible','off');
            set(handles.text_Amp_Inlet,             'visible','off');
            set(handles.edit_td_Inlet,              'visible','off');
            set(handles.text_td_Inlet,              'visible','off');
            set(handles.edit_add_Inlet,             'visible','off');
            set(handles.text_add_Inlet,             'visible','off');
            set(handles.pb_inlet,                   'visible','off');
end
guidata(hObject, handles);
% ----------------------
function Fcn_GUI_INI_BC_POP2_update(varargin)
hObject = varargin{1};
handles = guidata(hObject);
global CI
pop_type_Outlet     = get(handles.pop_type_Outlet,'Value');
switch pop_type_Outlet
    case 4
            set(handles.edit_Amp_Outlet,            'visible','on',...
                                                    'string', num2str(CI.BC.A2));
            set(handles.text_Amp_Outlet,            'visible','on',...
                                                    'string','Amplitude [-]');
            set(handles.edit_td_Outlet,             'visible','on',...
                                                    'string', num2str(CI.BC.tau_d2*1e3));
            set(handles.text_td_Outlet,             'visible','on',...
                                                    'string','Time delay [ms]:');
            set(handles.edit_add_Outlet,            'visible','off');
            set(handles.text_add_Outlet,            'visible','off');
            set(handles.pb_outlet,                   'visible','off');
    case 5
            set(handles.edit_Amp_Outlet,            'visible','on',...
                                                    'string', num2str(CI.BC.A2));
            set(handles.text_Amp_Outlet,            'visible','on',...
                                                    'string','Amplitude [-]');
            set(handles.edit_td_Outlet,             'visible','on',...
                                                    'string', num2str(CI.BC.Phi2/pi*180));
            set(handles.text_td_Outlet,             'visible','on',...
                                                    'string','Phase [deg]:');
            set(handles.edit_add_Outlet,            'visible','off');
            set(handles.text_add_Outlet,            'visible','off');
            set(handles.pb_outlet,                   'visible','off');
    case 6
            handles.indexApp = Fcn_GUI_INI_BC_helpdlg(handles.indexApp);
            strNum = ['[' num2str(CI.BC.num2) ']'];
            strDen = ['[' num2str(CI.BC.den2) ']'];
            set(handles.edit_Amp_Outlet,            'visible','on',...
                                                    'string', strNum);
            set(handles.text_Amp_Outlet,            'visible','on',...
                                                    'string', 'Numerator(s):');
            set(handles.edit_td_Outlet,             'visible','on',...
                                                    'string', strDen);
            set(handles.text_td_Outlet,             'visible','on',...
                                                    'string', 'Denominator(s):');
            set(handles.edit_add_Outlet,            'visible','on',...
                                                    'string', num2str(CI.BC.tau_d2.*1e3));
            set(handles.text_add_Outlet,            'visible','on',...
                                                    'string','Time delay [ms]:');
            set(handles.pb_outlet,                   'visible','off');
    case 3
            set(handles.edit_Amp_Outlet,             'visible','off');
            set(handles.text_Amp_Outlet,             'visible','off');
            set(handles.edit_td_Outlet,              'visible','off');
            set(handles.text_td_Outlet,              'visible','off');
            set(handles.edit_add_Outlet,             'visible','off');
            set(handles.text_add_Outlet,             'visible','off');

            % Construct a questdlg with three options
            choice = questdlg('Include indirect noise from entropy waves?', ...
                'Indirect noise','Yes','No','No');
            % Handle response
            switch choice
                case 'Yes'
                    GUI_INI_BC_Entropy('GUI_INI_BC', handles.figure);
                case 'No'
                    CI.BC.ET.pop_type_model             = 1;
                    CI.BC.ET.Dispersion.Delta_tauCs     = 0;
                    CI.BC.ET.Dissipation.k              = 0;
                    assignin('base','CI',CI);                   % save the current information to the workspace
            end
            set(handles.pb_outlet,                   'visible','off');
    case 7
            set(handles.edit_Amp_Outlet,             'visible','off');
            set(handles.text_Amp_Outlet,             'visible','off');
            set(handles.edit_td_Outlet,              'visible','on',...
                                                    'string', num2str(CI.BC.tau_d2.*1e3));
            set(handles.text_td_Outlet,              'visible','on',...
                                                    'string','Time delay [ms]:');
            set(handles.edit_add_Outlet,             'visible','off');
            set(handles.text_add_Outlet,             'visible','off');
            set(handles.pb_outlet,                   'visible','on');
    otherwise
            set(handles.edit_Amp_Outlet,             'visible','off');
            set(handles.text_Amp_Outlet,             'visible','off');
            set(handles.edit_td_Outlet,              'visible','off');
            set(handles.text_td_Outlet,              'visible','off');
            set(handles.edit_add_Outlet,             'visible','off');
            set(handles.text_add_Outlet,             'visible','off');
            set(handles.pb_outlet,                   'visible','off');
end
guidata(hObject, handles);

function indexApp = Fcn_GUI_INI_BC_helpdlg(indexApp)
if indexApp < 2
string={...
'The numerator coefficient can be a vector or matrix expression.';...
'The denominator coefficient must be a vector.';...
'The output width equals the number of rows in the numerator coefficient.';
'You should specify the coefficients in descending order of powers of s.'};
helpdlg(string,'Set transfer function coefficients')
end
indexApp = indexApp + 1;

function Fcn_GUI_INI_BC_Value_update(varargin)
hObject = varargin{1};
handles = guidata(hObject);
global CI
CI.BC.StyleInlet = get(handles.pop_type_Inlet,'Value');
%
switch CI.BC.StyleInlet
    case 1      % open end, R=-1;
        CI.BC.num1      = -1;
        CI.BC.den1      = 1;
        CI.BC.tau_d1    = 0;
    case 2      % closed end, R=1;
        CI.BC.num1      = 1;
        CI.BC.den1      = 1;
        CI.BC.tau_d1    = 0;
    case 3      % choked
        gamma           = CI.TP.gamma(1,1);
        M1              = CI.TP.M_mean(1,1);
        TEMP            = gamma*M1/(1+(gamma-1)*M1^2);
        %
        %%% test of boundary conditions in Coh See's paper, CST 2013, added
        %%% in 2015-02-11
%         TEMP = M1;
        %%% END
        CI.BC.num1      = (1-TEMP)/(1+TEMP);
        CI.BC.den1      = 1;
        CI.BC.tau_d1    = 0;
        %
    case 4
        CI.BC.num1      = str2double(get(handles.edit_Amp_Inlet,'String'));
        CI.BC.den1      = 1;
        CI.BC.tau_d1    = str2double(get(handles.edit_td_Inlet, 'String'))./1000;
        CI.BC.A1        = CI.BC.num1;
    case 5
        A               = str2double(get(handles.edit_Amp_Inlet,'String'));
        Phi             = str2double(get(handles.edit_td_Inlet,'String'))./180*pi;
        CI.BC.num1      = A*exp(-Phi*1i);
        CI.BC.den1      = 1;
        CI.BC.tau_d1    = 0;
        CI.BC.A1        = A;
        CI.BC.Phi1      = Phi;
    case 6
        CI.BC.num1      = str2num(get(handles.edit_Amp_Inlet,'String'));
        CI.BC.den1      = str2num(get(handles.edit_td_Inlet,'String'));
        CI.BC.tau_d1    = str2num(get(handles.edit_add_Inlet, 'String'))./1000;
    case 7
        [CI.BC.num1,CI.BC.den1] = tfdata(handles.sysFit1,'v');
        CI.BC.tau_d1    = str2num(get(handles.edit_td_Inlet, 'String'))./1000;
end
assignin('base','CI',CI);                   % save the current information to the workspace
%
CI.BC.StyleOutlet     = get(handles.pop_type_Outlet,'Value');
%
switch CI.BC.StyleOutlet
    case 1      % open end, R=-1;
        CI.BC.num2 = -1;
        CI.BC.den2 = 1;
        CI.BC.tau_d2 = 0;
    case 2      % closed end, R=1;
        CI.BC.num2 = 1;
        CI.BC.den2 = 1;
        CI.BC.tau_d2 = 0;
    case 3     % choked
        gamma   = CI.TP.gamma(1,end);
        M2      = CI.TP.M_mean(1,end);
        TEMP    = (gamma-1)*M2/2;
        %
        CI.BC.num2  = (1-TEMP)/(1+TEMP);
        CI.BC.den2 = 1;
        CI.BC.tau_d2 = 0;
        %
    case 4
        CI.BC.num2      = str2double(get(handles.edit_Amp_Outlet,'String'));
        CI.BC.den2      = 1;
        CI.BC.tau_d2    = str2double(get(handles.edit_td_Outlet, 'String'))./1000;
        CI.BC.A2        = CI.BC.num2;
    case 5
        A               = str2double(get(handles.edit_Amp_Outlet,'String'));
        Phi             = str2double(get(handles.edit_td_Outlet,'String'))./180*pi;
        CI.BC.num2      = A*exp(-Phi*1i);
        CI.BC.den2      = 1;
        CI.BC.tau_d2    = 0;
        CI.BC.A2        = A;
        CI.BC.Phi2      = Phi;
    case 6
        CI.BC.num2          = str2num(get(handles.edit_Amp_Outlet,'String'));
        CI.BC.den2          = str2num(get(handles.edit_td_Outlet,'String'));
        CI.BC.tau_d2        = str2num(get(handles.edit_add_Outlet, 'String'))./1000;
    case 7
        [CI.BC.num2,CI.BC.den2] = tfdata(handles.sysFit2,'v');
        CI.BC.tau_d2    = str2num(get(handles.edit_td_Outlet, 'String'))./1000;
end
switch CI.BC.StyleOutlet
    case 3
    otherwise
        CI.BC.ET.pop_type_model         = 1;
        CI.BC.ET.Dissipation.k          = 0;
        CI.BC.ET.Dispersion.Delta_tauCs = 0e-3;
end
assignin('base','CI',CI);                   % save the current information to the workspace
guidata(hObject, handles);

function pop_type_Inlet_Callback(hObject, eventdata, handles)
% hObject    handle to pop_type_Inlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
set(handles.pb_SaveFig,'enable','off');
Fcn_GUI_INI_BC_POP1_update(hObject)
handles = guidata(hObject);
guidata(hObject, handles);

%--------------------------------------------------------------------------
% Outlet pannel
% --- Executes on selection change in pop_type_Outlet.
function pop_type_Outlet_Callback(hObject, eventdata, handles)
% hObject    handle to pop_type_Outlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
set(handles.pb_SaveFig,'enable','off');
Fcn_GUI_INI_BC_POP2_update(hObject)
handles = guidata(hObject);
guidata(hObject, handles);

% --- Outputs from this function are returned to the command line.
function varargout = GUI_INI_BC_OutputFcn(hObject, eventdata, handles)
% varargout  cell array for returning output args (see VARARGOUT);
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure
try
varargout{1} = handles.output;
end

%
% --- Executes on selection change in pop_Plot.
function pop_Plot_Callback(hObject, eventdata, handles)
% hObject    handle to pop_Plot (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: contents = cellstr(get(hObject,'String')) returns pop_Plot contents as cell array
%        contents{get(hObject,'Value')} returns selected item from pop_Plot
set(handles.pb_SaveFig,'enable','off');
%
% --- Executes during object creation, after setting all properties.
function pop_Plot_CreateFcn(hObject, eventdata, handles)
% hObject    handle to pop_Plot (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: popupmenu controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
%
% --- plot the transfer function of the boundary condition
% function Fcn_GUI_INI_BC_PLOT_BC_TF(hAxes1, hAxes2, hObject, handles)
function Fcn_GUI_INI_BC_PLOT_BC_TF(varargin)
hObject     = varargin{1};
Fcn_GUI_INI_BC_Value_update(hObject)
handles     = guidata(hObject);
global CI
hAxes1      = handles.axes_Gain;
hAxes2      = handles.axes_Phase;
fontSize1   = handles.FontSize(1);
fontSize2   = handles.FontSize(2);
f_sample    = 0:1000;                                       % sampling frequency
s           = 2*pi*f_sample*1i;

R1 = polyval(CI.BC.num1,s)./polyval(CI.BC.den1,s).*exp(-s*CI.BC.tau_d1);
R2 = polyval(CI.BC.num2,s)./polyval(CI.BC.den2,s).*exp(-s*CI.BC.tau_d2);

pop_type_Inlet      = get(handles.pop_type_Inlet,'Value');
pop_type_Outlet     = get(handles.pop_type_Outlet,'Value');
pop_PLot            = get(handles.pop_Plot,'Value');
%
guidata(hObject, handles)
%
switch pop_PLot
    case 1
        R = R1;
        colorPlot={'b','g'};
    case 2
        R = R2;
        colorPlot={'r','g'};
end
TextPLot={'Inlet','Outlet'};
%--------------------------------
cla(hAxes1)
axes(hAxes1)
hold on
    color_type = Fcn_color_set(5);
    hLine1=plot(hAxes1,f_sample,abs(R),'-','color',colorPlot{1},'Linewidth',2);
    set(hAxes1,'YColor','k','Box','on','ygrid','on','xgrid','on');
    set(hAxes1,'FontName','Helvetica','FontSize',fontSize1,'LineWidth',1)
    xlabel(hAxes1,'','Color','k','Interpreter','LaTex','FontSize',fontSize1);
    ylabel(hAxes1,'Gain [-]','Color','k','Interpreter','LaTex','FontSize',fontSize1)
    set(hAxes1,'xlim',[0 1000],'xTick',200:200:1000,'xticklabel',{},...
    'YAxisLocation','left','Color','w');
    set(hAxes1,'ylim',[0 1.2],'yTick',0:0.2:1.2,'yticklabel',{'',0.2:0.2:1})
    xLim=get(hAxes1,'xlim');
    yLim=get(hAxes1,'ylim');
    text(xLim(1)+0.5*xLim(2),yLim(1)+1.1*yLim(2),TextPLot{pop_PLot},'interpreter','latex',...
        'fontsize',fontSize1,'parent',hAxes1,'horizontalAlignment','center')
hold off
%--------------------------------
cla(hAxes2)
axes(hAxes2)
hold on
    hLine2=plot(hAxes2,f_sample,unwrap(angle(R),1.9*pi)./pi,'-','color', colorPlot{1},'Linewidth',2);
    set(hAxes2,'YColor','k','Box','on','ygrid','on','xgrid','on');
    set(hAxes2,'FontName','Helvetica','FontSize',fontSize1,'LineWidth',1)
    xlabel(hAxes2,'$f$ [Hz]','Color','k','Interpreter','LaTex','FontSize',fontSize1);
    ylabel(hAxes2,'Phase/$\pi$ [-]','Color','k','Interpreter','LaTex','FontSize',fontSize1)
    set(hAxes2,'xlim',get(hAxes1,'xlim'),'xTick',get(hAxes1,'xTick'),...
    'YAxisLocation','left','Color','w');
hold off
assignin('base','CI',CI);                   % save the current information to the workspace
%--------------------------------------------------------------------------

% --- Update the data when clicking 'OK' or 'Apply'
function Fcn_GUI_INI_BC_Update_Data(hObject, eventdata, handles)
global CI
Fcn_GUI_INI_BC_PLOT_BC_TF(hObject, eventdata, handles)
% try
main = handles.MainGUI;
% Obtain handles using GUIDATA with the caller's handle
if(ishandle(main))
    mainHandles = guidata(main);
    % -------------------------------------
    changeMain1 = mainHandles.FREQ;      % set the Frequency pop-up menu enable
    changeMain2 = mainHandles.TD; % set the TD pop-up menu enable
    % default
    set(changeMain1, 'Enable', 'on');
    set(changeMain2, 'Enable', 'on');
    % ------------
    if ~isempty(CI.CD.indexHP)            % with heat perturbations
        if ~isempty(find(CI.FM.indexFM == 4))   % Frequency calculation can only be run if the G-EQuation is not being used
            set(changeMain1, 'Enable', 'off');
            set(changeMain2, 'Enable', 'on');
        end
        if ~isempty(find(CI.FM.indexFM == 3))   % with loaded experimental/CFD FDF, time domain code is not avaliable
            set(changeMain1, 'Enable', 'on');
            set(changeMain2, 'Enable', 'off');
        end
    end
    % ---------------
    String_Listbox=get(mainHandles.listbox_Info,'string');
    ind=find(ismember(String_Listbox,'<HTML><FONT color="blue">Information 4:'));
    nLength=size(String_Listbox);
    if isempty(ind)
        indStart=nLength(1);
    else
        indStart=ind-1;
        for i=nLength(1):-1:indStart
            String_Listbox(i)=[];
        end
    end
    String_Listbox{indStart+1}=['<HTML><FONT color="blue">Information 4:'];
    String_Listbox{indStart+2}=['<HTML><FONT color="blue">Boundary condition:'];
    String_Listbox{indStart+3}=['Inlet boundary condition type:' num2str(CI.BC.StyleInlet) ];
    String_Listbox{indStart+4}=['Outlet boundary condition type:' num2str(CI.BC.StyleOutlet) ];
    set(mainHandles.listbox_Info,'string',String_Listbox);
end
% end
guidata(hObject, handles);
% guidata(hObject, handles);
assignin('base','CI',CI);                   % save the current information to the workspace
%
% --- Executes on button press in pb_OK.
function pb_OK_Callback(hObject, eventdata, handles)
% hObject    handle to pb_OK (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
Fcn_GUI_INI_BC_Update_Data(hObject, eventdata, handles)
global CI
CI.IsRun.GUI_INI_BC = 1;
assignin('base','CI',CI);
delete(handles.figure);

% --- Executes on button press in pb_Apply.
function pb_Apply_Callback(hObject, eventdata, handles)
% hObject    handle to pb_Apply (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
Fcn_GUI_INI_BC_Update_Data(hObject, eventdata, handles)
set(handles.pb_SaveFig,'enable','on');

% --- Executes on button press in pb_Cancel.
function pb_Cancel_Callback(hObject, eventdata, handles)
% hObject    handle to pb_Cancel (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
delete(handles.figure);

% --- Executes on button press in pb_SaveFig.
function pb_SaveFig_Callback(hObject, eventdata, handles)
global CI
% hObject    handle to pb_SaveFig (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
handles=guidata(hObject);
% pop_PLot = get(handles.pop_Plot,'Value');
% pop_type_Inlet=get(handles.pop_type_Inlet,'Value');
% pop_type_Outlet=get(handles.pop_type_Outlet,'Value');
Fig = figure;
copyobj(handles.axes_Gain, Fig);
copyobj(handles.axes_Phase, Fig);
set(Fig,        'units','points')
posFig = get(handles.figure,'position');
hAxes = get(Fig,'children');
set(hAxes(1),       'units','points',...
                    'position',[60 60 200 150],...
                    'ActivePositionProperty','position')
set(hAxes(2),       'units','points',...
                    'position',[60 210 200 150],...
                    'ActivePositionProperty','position')
posAxesOuter = [0 0 300 400];
set(Fig,        'units','points',...
                'position', [posFig(1)+0.5*posFig(3)-0.5*posAxesOuter(3),...
                            posFig(2)+0.5*posFig(4)-0.5*posAxesOuter(4),...
                            posAxesOuter(3:4)])

% --- Executes during object creation, after setting all properties.
function pop_type_Inlet_CreateFcn(hObject, eventdata, handles)
% hObject    handle to pop_type_Inlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end

function edit_Amp_Inlet_Callback(hObject, eventdata, handles)
% hObject    handle to edit_Amp_Inlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% datEdit = str2double(get(hObject, 'String'));
% if isnan(datEdit)
%     set(hObject, 'String', 0);
%     errordlg('Input must be a number','Error');
% end

% --- Executes during object creation, after setting all properties.
function edit_Amp_Inlet_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_Amp_Inlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end

function edit_td_Inlet_Callback(hObject, eventdata, handles)
% hObject    handle to edit_td_Inlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% datEdit = str2double(get(hObject, 'String'));
% if isnan(datEdit)
%     set(hObject, 'String', 0);
%     errordlg('Input must be a number','Error');
% end

% --- Executes during object creation, after setting all properties.
function edit_td_Inlet_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_td_Inlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end

function edit_add_Inlet_Callback(hObject, eventdata, handles)
% hObject    handle to edit_add_Inlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% datEdit = str2double(get(hObject, 'String'));
% if isnan(datEdit)
%     set(hObject, 'String', 0);
%     errordlg('Input must be a number','Error');
% end

% --- Executes during object creation, after setting all properties.
function edit_add_Inlet_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_add_Inlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end

% --- Executes during object creation, after setting all properties.
function pop_type_Outlet_CreateFcn(hObject, eventdata, handles)
% hObject    handle to pop_type_Outlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: popupmenu controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
%
%
function edit_Amp_Outlet_Callback(hObject, eventdata, handles)
% hObject    handle to edit_Amp_Outlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% datEdit = str2double(get(hObject, 'String'));
% if isnan(datEdit)
%     set(hObject, 'String', 0);
%     errordlg('Input must be a number','Error');
% end

% --- Executes during object creation, after setting all properties.
function edit_Amp_Outlet_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_Amp_Outlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
%
%
function edit_td_Outlet_Callback(hObject, eventdata, handles)
% hObject    handle to edit_td_Outlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% datEdit = str2double(get(hObject, 'String'));
% if isnan(datEdit)
%     set(hObject, 'String', 0);
%     errordlg('Input must be a number','Error');
% end

% --- Executes during object creation, after setting all properties.
function edit_td_Outlet_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_td_Outlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end

function edit_add_Outlet_Callback(hObject, eventdata, handles)
% hObject    handle to edit_add_Outlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% datEdit = str2double(get(hObject, 'String'));
% if isnan(datEdit)
%     set(hObject, 'String', 0);
%     errordlg('Input must be a number','Error');
% end

% --- Executes during object creation, after setting all properties.
function edit_add_Outlet_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit_add_Outlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end
%--------------------------------------------------------------------------
% --- Executes when user attempts to close figure.
function figure_CloseRequestFcn(hObject, eventdata, handles)
% hObject    handle to figure (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hint: delete(hObject) closes the figure
delete(hObject);
%--------------------------------------------------------------------------
%-- Color set
function color_type=Fcn_color_set(color_number)
cmap = colormap(hot);
n_sample=round(linspace(1,64,color_number));
for ss=1:length(n_sample)
    color_type(ss,1:3)=cmap(n_sample(ss),1:3);
end

% --------------------------------------------------------------------
function uipushtool1_ClickedCallback(hObject, eventdata, handles)
% hObject    handle to uipushtool1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% hObject    handle to pb_SaveFig (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
handles=guidata(hObject);
% pop_PLot = get(handles.pop_Plot,'Value');
% pop_type_Inlet=get(handles.pop_type_Inlet,'Value');
% pop_type_Outlet=get(handles.pop_type_Outlet,'Value');
Fig = figure;
copyobj(handles.axes_Gain, Fig);
copyobj(handles.axes_Phase, Fig);
set(Fig,        'units','points')
posFig = get(handles.figure,'position');
hAxes = get(Fig,'children');
set(hAxes(1),       'units','points',...
                    'position',[60 60 200 150],...
                    'ActivePositionProperty','position')
set(hAxes(2),       'units','points',...
                    'position',[60 210 200 150],...
                    'ActivePositionProperty','position')
posAxesOuter = [0 0 300 400];
set(Fig,        'units','points',...
                'position', [posFig(1)+0.5*posFig(3)-0.5*posAxesOuter(3),...
                            posFig(2)+0.5*posFig(4)-0.5*posAxesOuter(4),...
                            posAxesOuter(3:4)])

% --- Executes on button press in pb_outlet.
function pb_outlet_Callback(hObject, eventdata, handles)
% hObject    handle to pb_outlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
handles       = guidata(hObject);
currentFolder = pwd;
[filename, pathname] = uigetfile({  '*.mat'}, ...
                                    'Pick a file',...
                                     currentFolder);
if filename~=0
    addpath(pathname)               % add directory to search path
    load(filename);
    handles.sysFit2 = sys;
    set(handles.edit_td_Outlet, 'string', num2str(td.*1e3));
    guidata(hObject, handles);
end

% --- Executes on button press in pb_inlet.
function pb_inlet_Callback(hObject, eventdata, handles)
% hObject    handle to pb_inlet (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
handles       = guidata(hObject);
currentFolder = pwd;
[filename, pathname] = uigetfile({  '*.mat'}, ...
                                    'Pick a file',...
                                     currentFolder);
if filename~=0
    addpath(pathname)               % add directory to search path
    load(filename);
    handles.sysFit1 = sys;
    set(handles.edit_td_Inlet, 'string', num2str(td.*1e3));
    guidata(hObject, handles);
end

redpajama_set_name: RedPajamaGithub


Nice to meet you Selina! Names Baron and its a pleasure to have you with us <3 General Info is filled with helpful reading material and of course you can always jump in the site chat if you ever have questions, someone is bound to be lurking in there lol. Blessed be!
Hey Hannah! Glad to hear you're moving forward in a positive way. Welcome to the site!
Hello! I'm just beginning my journey too. This is a wonderful place to learn and make New friends. If you have questions anybody here will be glad to help. Glad to meet another southern lady. I'm from Alabama!
Welcome to the forums! I hope that we may become friends!
My name is Carl and just starting my journey as well about Wicca. I'm from Ohio and also from a small town. Would you like to be friends?


Systemic lupus erythematosus is a disease that causes inflammation of various parts of the body, especially the skin, joints, blood vessels, and kidneys. It results from a malfunctioning immune system, which attacks the body instead of protecting it. Contributing factors may include genetics, infections, ultraviolet light, extreme stress, and the use of certain drugs.
For two to three weeks, the patient's commonly eaten foods are eliminated from the diet. Common food allergens (such as wheat, eggs, milk, peanuts, and corn) are also avoided.
Every two days, reintroduce (one at a time) the commonly eaten foods and common food allergens that you eliminated, noting if any symptoms appear.
Continue in this fashion with the other foods.
It should be noted that lupus symptoms can go into remission for weeks or years. Linking a remission to an avoided food allergen may take some detective work.
Hydrochloric acid deficiency also has been linked with lupus and rheumatoid arthritis. The stomach normally secretes this strong acid, which helps digest proteins. If indicated by a practitioner, supplements in capsule form can be taken with meals.
It may tax the immune system.
The ideal diet, in addition to being low in protein, should be low in fat and high in green leafy vegetables, such as bok choy, collard greens, and kale. These vegetables may help people with lupus to metabolize estrogen better.
Supplements may also be prescribed, including vitamin B6, vitamin C, and essential fatty acids. Vitamin E, taken orally and applied to the skin, can help heal the skin rashes that sometimes accompany lupus. Supplements are often recommended instead of trying to get the vitamin from food sources because most of the food sources of vitamin E (such as vegetable oils) contain a lot of fat. Fish oil, especially EPA, is another effective supplement.
Like nutritional therapy, environmental medicine recognizes that diet can play a role in triggering lupus. But environmental medicine goes several steps further to implicate pollutants, pesticides, molds, stress, infections -- almost anything in the environment. The exact mix of triggers is different for every person with lupus.
These environmental factors do not trigger the disease in the same way that an allergy might. Instead, it is the repeated exposure to multiple offending substances over time that weakens the body's immune system. Eventually, an autoimmune disease like lupus strikes. An autoimmune disease is one in which the immune system, instead of protecting the body, begins to attack it.
Skin tests, rotary diversified diets, and other testing procedures can help pinpoint the environmental stressors. For example, one procedure checks for culprits by placing drops of certain substances (foods or chemicals) under the tongue. If symptoms develop, then the substance can be identified as a trigger. As an example, overexposure to the chemical formaldehyde has been suggested as a lupus trigger in some people. Formaldehyde can be found in dozens of home and office products, such as plywood paneling and nail polish.
Herbal Medicine for Lupus Erythematosus -- Echinacea, feverfew, goldenseal, and pau d'arco are just a few of the helpful herbs.
Hydrotherapy for Lupus Erythematosus -- Cold or hot compresses can be used for pain relief.
Mind/Body Medicine for Lupus Erythematosus -- Creative visualization, spirituality, relaxation techniques, biofeedback, and other mind/body treatments can strengthen the immune system, as well as reduce joint pain and ease accompanying depression.
Traditional Chinese Medicine for Lupus Erythematosus -- Treatment may involve acupuncture, herbal therapy, dietary alterations, and exercise.


text:
Will Kid Cudi Release His New 'Speedin Bullet To Heaven' Single As Promised?
With a little less than two days before for the end of the month, Kid Cudi still hasn't dropped the new track from the "Speedin' Bullet To Heaven" album that was promised to fans.
(Update: Listen to Kid Cudi's New Single "Confused" From "Speedin' Bullet To Heaven" Below)
My 1st single "CONFUSED" from my upcoming album SPEEDIN BULLET TO HEAVEN is comin anyyyy minute. Stay tunedddddddd
-- The Chosen One (@KidCudi) August 1, 2015
Is it time to panic? The answer is no. Cudi has recently been quite busy with his new venture on Comedy Bang Bang.
Whether you like it or not, Cudi also said the single would be released before the end of the month and well the month isn't over yet.
That being said, as time grows closer fans are becoming a bit more nervous as to whether or not they will be able to have a new Kid Cudi song to add to their playlists, which would then be followed by the "Speedin' Bullet To Heaven" album not too long after if fans are lucky.
With all the fans anticipation and hype built the new single is coming with some seriously high expectations.
The last tweet from Cudi came on July 27 and it was an awesome photo of him and Courtney Love Cobain who commented that she adores Cudi and also called him a genius. This is pretty high regard from a musician who was a master at her craft and who is also the wife of Kurt Cobain, the lead singer of Nirvana who's music is immortal despite Cobain's passing.
It might be possible that Courtney Love Cobain was able to hear the single before fans and that Cudi's very brief absence for social media means the single is coming just as promised.
Empty Lighthouse will have the single uploaded to this post as soon as it's made available to the public so stay tuned and let us know what you want kind of sound you're expecting from the new single in the comments below.
UPDATE: The "Confused" single is here, listen below.
New Kid Cudi Single "Confused off "Speedin' Bullet To Heaven"
"@Courtney: I adore you dude you're a genius @KidCudi xc #bestnightever pic.twitter.com/bc7bJmiWYQ" I ADORE YOU!!!

redpajama_set_name: RedPajamaCommonCrawl


Package Testing | Hazmat Training | Ten-E.com | Who Needs HAZMAT Training?
Working with hazardous materials, or hazmat, can be as dangerous as the name implies. A wide array of materials may be considered hazmat, ranging from flammable liquids to explosives and plenty more in between. It's important to be aware of what's considered hazmat, including which markings may indicate something is hazmat, and whether or not you need hazmat training. Odds are, if you're reading this post, or even thinking that there is a chance you need the training, you probably do.
Hazmat typically refers to any material that has the potential of posing a risk to the safety and well-being of the public. Naturally, anyone working with such things would require hazardous materials training. The different types of workers involved with hazmat vary as widely as the materials themselves. The Code of Federal Regulations stipulates that anyone who designs, represents, modifies, repairs, marks, manufactures, prepares, reconditions, tests, and/or ships hazardous materials must be trained every three years, with noncompliance resulting in penalties of up to $50,000. What this means is that any hazmat worker involved in any step of process- inception, creation, fabrication, packaging, shipping and receiving, must receive training.
Safety is always of optimal importance, but dealing with hazmat calls for an extra level of safety. The best way to stay safe is to be informed and take an active role in protection and prevention. We value safety at TEN-E, and offer hazmat training workshops to promote that value.
With over twenty five years of experience in dangerous goods and medical packaging, TEN-E Packaging Services is an ISO 17025 accredited resource for packaging and component testing services around the world.
Proud to announce our new lab in North Carolina!
Copyright © 2015 TEN-E Packaging Services, Inc. All Rights Reserved.
Responsive Website Design by Solid Cactus.


10 Nov - 4 min - Uploaded by WorldConnections The 2 cd & 1 dvd box Alive in Lisboa brings a complete selection of Sara Tavares best work. 1 Apr - 4 min - Uploaded by I N Z cover de Sara Tavares um agradecimento especial ao Gabriel Roble, por toda a. 1 Oct - 2 min - Uploaded by Gestesom Escola de Musica de Toze Cerdeira Sara Tavares Nha Cretcheu. Gestesom Escola de Musica de Toze Cerdeira. Loading.
Find a Sara Tavares - Nha Cretcheu first pressing or reissue. Complete your Sara Tavares collection. Shop Vinyl and CDs. Check out Nha Cretcheu (Meu Amor) by Sara Tavares on Amazon Music. Stream ad-free or purchase CD's and MP3s now on acanthusplants.com Sara Tavares - Pandora. Nha Cretcheu (Meu Amor). Sara Tavares. From the Album 'Mi Ma Bo'. Start Station. Play Song. Share. ℗ BMG Portugal, Lda.
Song information for Nha Cretcheu - Sara Tavares on AllMusic. Stream Nha Cretcheu (Meu Amor) by Sara Tavares from desktop or your mobile device. Nha Cretcheu by Sara Tavares. - World Connection - Cape Verde. Posted: 26th March 14 plays. 16 likes. Share: RedStar. Florrie Fjord. Afro-Portuguese songwriter Sara Tavares was born in and brought up in Lisbon. Second-generation Portuguese of Cape Verdean descent, Sara was. Chords for Sara Tavares - Nha Cretcheu. Play along with guitar, ukulele, or piano with interactive chords and diagrams. Includes transpose, capo hints.
Download Sara Tavares Nha Cretcheu MP3 and MP4. The best collections about Sara Tavares Nha Cretcheu you can download with easy. Available for MP3. Nha Cretcheu Chords by Sara Tavares Learn to play guitar by chord and tabs and use our crd diagrams, transpose the key and more. Nha Cretcheu Sara Tavares in song HD MP4 and MP3 3GP Lagu Format, List download link of Nha Cretcheu Sara Tavares. You can streaming and download . 25 out. Sara Tavares Management / Planeta Sukri the author of Nha Cretcheu (My Love) clearly shows between the lines of each note played by the.


text:
Patient Portal Partnership
Meet Dr. Marco Fiore
Meet Dr. Ramón E. Martínez
New Patient Package
Medical Record Release Form
Telemedicine Policy
Adrenal Disorders
Parathyroid Disorders
Gonadal Disorders
Meet Dr. Ramón E. Martínezsuperadmin2021-11-18T12:45:32+00:00
Dr. Ramón E. Martínez is a preeminent endocrinologist who serves patients in Pembroke Pines and the Greater Miami area in Florida. He has been in practice for more than 15 years. He is affiliated with Memorial Health System as well as Mount Sinai Medical Center. Dr. Martínez is board-certified in Endocrinology and previously certified by ABIM in Internal Medicine and Geriatrics.
In addition to Diabetes, Dr. Martínez also specializes in treating various Endocrine disorders, like calcium abnormalities and osteoporosis, and diseases of the Adrenal, Pituitary, Thyroid, Parathyroid, Pancreas, and Gonad glands.
Dr. Ramón E. Martínez obtained his MD degree from the Universidad Central de Venezuela in 1999.
Subsequently, he moved to the United States of America, where he did his Internal Medicine residency at Mount Sinai Medical Center in Miami Beach. He then completed a Geriatric and Gerontology fellowship at the University of Miami in 2005. Afterward, he concluded his Endocrinology, Diabetes, and Metabolism fellowship at Beth Israel Medical Center in New York City. Then, he moved to Miami, initially practicing at Miami Beach Community Health Center, where he was the Executive Vicepresident of Medical Education and Research. In this position, Dr. Martínez played a crucial role in helping the organization achieved the best Diabetes quality measures in Florida and one of the best in the USA. Additionally, he led many clinical research studies in areas like diabetes and cholesterol. He now joins My Endo Health at Pembroke Pines to contribute his knowledge and experience to this community.
Dr. Martínez currently holds a Clinical Assistant Professor position at Nova Southeastern University and Ross University Medical School. He enjoys teaching medical students, our future doctors.
Additionally, Dr. Martínez is an active member of Endocrine Society and The American Association of Clinical Endocrinology (AACE). He actively participates in the Hormone Health Network (HHN) as a voluntary contributor and editor. HHN is the patient education arm of Endocrine Society.
Dr. Martínez worked in South Florida with the underserved and underinsured for many years. He was recognized as the Physician of the Year in 2010 for his organization. He is compassionate, knowledgeable, and empathetic, which has earned him an excellent reputation with his patients and peers.
Board Certified with American Board of Endocrinology, Diabetes, and Metabolism – 2007 – Present
Board Certified with American Board of Geriatrics – 2005 – 2015
Board Certified with American Board of Internal Medicine – 2004 – 2014
Additional training and certifications
American Association of Clinical Endocrinology – Diagnostic Neck Ultrasound, Thyroid, and Parathyroid disorders and Ultrasound-Guided Fine Needle Aspiration.
Clinical Densitometrist by the International Society of Clinical Densitometry
Memorial Hospital West
Our practice provides individualized care to patients who have or are suspected to have disorders of the endocrine system or disorders of metabolism.
1 SW 129th Ave #105,
We are a member of the TopLine MD Alliance, a collective group of practices, providers and specialty centers that help patients navigate a complicated healthcare system. Membership in the Alliance is highly selective and based on exceptional patient satisfaction. Our priority is to provide you with top-of-the-line care, through a network of dedicated people you can trust, while making your experience simple and convenient.
Learn more about the Alliance >
© Copyright 2012 - | Notice of Privacy Practice English | Notice of Privacy Practice Spanish | Affiliation Disclaimer


It's that time of the year again. Where red, white, and blue become dress code and fireworks become the entertainment of the night. Not to mention the smoky aroma of that barbecue grill and refreshing cold beverages during the warm summer sun.
4th of July is a day to be festive and a day to be appreciative of the freedom we have living in the United States. It's never a bad thing that the 4th tends to have warm weather accompanying it as well. So as you get ready to hang out with friends, family, or any kind of loved ones, here are some tips to make the most out of your day!
Is there anything more American than grilling on the 4th of July? Barbecue and outdoor get togethers are quintessential ingredients to an enjoyable day out in the summer sun. How you attack this barbecue/party can make or break the day. Here are a few tips to keep everyone happy and definitely not hungry.
Thinking that cooking everything on your own is a bad idea? Chances are it probably is, or at the very least is way too much work. That's why incorporating a potluck style barbecue party is a great way to take stress off of you and allow everyone to contribute. Also, this gives you a chance to focus solely on the grilling aspect of the food, a contribution that needs all the attention it can get.
Don't overthink it. Seriously, people are just happy to be together with good friends and family, they're not expecting a 5-star dining experience. Make sure you season everything properly, marinate when necessary, and not to tinker with the food too much. Simple recipes doesn't mean they aren't flavorful. It just means that you're not up all night before making sure that you didn't over-brine the meat. When in doubt, follow a recipe!
What's worse than bland tasting food? No food at all or food that takes forever to finish cooking. Be smart about your preparations. Barbecuing food like tri tip, pork shoulder, or ribs, leave yourself plenty of time in advance for those meats to cook. The last thing you want to tell your hungry guests is that the food is going to take a couple more hours because you didn't preheat the grill or toss it on earlier.
What does almost every American love to see on that 4th of July night? Bangs and explosions of colorful fireworks of course! Make sure you have a local firework show planned out that you intend to go to. Not only that, but if you plan on going somewhere in a public setting, make sure you stake out a blanket and chairs earlier so that you're not stuck behind a big tree or blocked from the main show.
Whatever way you choose to spend your day of Independence, do so responsibly and with appreciation for what the day truly means!


The Global Events add-on enables receiving Spring's application events on any application block of the distributed system. In the simplest configuration with core and web blocks running in a single JVM, it allows you to send events from core to web to notify UI screens or managed beans. In a cluster environment, an event published inside a block will be received on all other connected parts of the system: on all middleware blocks and on the clients: web, portal and desktop.


From the Department of Intensive Care, Erasme Hospital, Free University of Brussels, Belgium (J-LV, YS); Department of Anesthesiology and Critical Care Medicine, Hadassah Hebrew University Medical Center, Jerusalem, Israel (CLS); Department of Anesthesiology and Intensive Care, S. Giovanni Battista Hospital, University of Turin, Italy (VMR); Department of Anesthesiology and Intensive Care, Friedrich-Schiller-University Jena, Germany (KR); Department of Anesthesiology and Intensive Care, Vivantes-Klinikum Neukölln, Berlin, Germany (HG); Department for Intensive Care, Hospital de St, Antonio dos Capuchos, Lisbon, Portugal (RM); Department of Intensive Care, Saint-Joseph Hospital, Paris, France (JC); Department of Intensive Care, Saint-Louis Hospital, Paris, France (J-RLG); and Department of Anesthesiology and Intensive Care, Centre Hospitalier Universitaire Lariboisiere, Paris, France (DP).
Objective:To better define the incidence of sepsis and the characteristics of critically ill patients in European intensive care units.Design:Cohort, multiple-center, observational study.Setting:One hundred and ninety-eight intensive care units in 24 European countries.Patients:All new adult admissions to a participating intensive care unit between May 1 and 15, 2002.Interventions:None.Measurements and Main Results:Demographic data, comorbid diseases, and clinical and laboratory data were collected prospectively. Patients were followed up until death, until hospital discharge, or for 60 days. Of 3,147 adult patients, with a median age of 64 yrs, 1,177 (37.4%) had sepsis; 777 (24.7%) of these patients had sepsis on admission. In patients with sepsis, the lung was the most common site of infection (68%), followed by the abdomen (22%). Cultures were positive in 60% of the patients with sepsis. The most common organisms were Staphylococcus aureus (30%, including 14% methicillin-resistant), Pseudomonas species (14%), and Escherichia coli (13%). Pseudomonas species was the only microorganism independently associated with increased mortality rates. Patients with sepsis had more severe organ dysfunction, longer intensive care unit and hospital lengths of stay, and higher mortality rate than patients without sepsis. In patients with sepsis, age, positive fluid balance, septic shock, cancer, and medical admission were the important prognostic variables for intensive care unit mortality. There was considerable variation between countries, with a strong correlation between the frequency of sepsis and the intensive care unit mortality rates in each of these countries.Conclusions:This large pan-European study documents the high frequency of sepsis in critically ill patients and shows a close relationship between the proportion of patients with sepsis and the intensive care unit mortality in the various countries. In addition to age, a positive fluid balance was among the strongest prognostic factors for death. Patients with intensive care unit acquired sepsis have a worse outcome despite similar severity scores on intensive care unit admission.


text:
Wiki: Diff for "License"
Differences between revisions 1 and 7 (spanning 7 versions)
This page describes the ideas about the license on the ArgoUML software and User Manual and also the change to the [http://www.opensource.org/licenses/eclipse-1.0.php Eclipse Public License (EPL)].
This page describes the license change to the Eclipse Public License (EPL).
=== Why ===
Why EPL? === Why EPL? ===
The Eclipse Public License is a modern Open-Source license that adheres to the old ArgoUML ideas of allowing companies to make and market their additions. With this License the Eclipse platform has grown to a strong community with a lot of momentum.
=== How === With the vision of eventually changing the old awt-based UI to an Eclipse based UI (the work started in the ArgoEclipse project) and the use of the UML2/EMF based model as a requirement for UML 2.* (work is under way), the ArgoUML project is approaching the Eclipse platform technically from several directions.
=== The future === Changing to EPL will hopefully allow the ArgoUML project to benefit also from the knowledge on legal matters built up around the Eclipse project. Especially in the area of cooperation with companies this experience could be very useful.
=== How the change is done ===
New files are created with the EPL License.
Old files are updated with the EPL License without removing the BSD License.
See the details in the ["When Writing Java Code"] Java coding standards.
This page describes the ideas about the license on the ArgoUML software and User Manual and also the change to the Eclipse Public License (EPL).
License Change to EPL
The old BSD license that we use is so old, it no longer qualifies as an open source license. It is replaced by the New or Simplified BSD License.
Why EPL?
With the vision of eventually changing the old awt-based UI to an Eclipse based UI (the work started in the ArgoEclipse project) and the use of the UML2/EMF based model as a requirement for UML 2.* (work is under way), the ArgoUML project is approaching the Eclipse platform technically from several directions.
Changing to EPL will hopefully allow the ArgoUML project to benefit also from the knowledge on legal matters built up around the Eclipse project. Especially in the area of cooperation with companies this experience could be very useful.
How the change is done
See the details in the When Writing Java Code Java coding standards.
License (last edited 2009-12-30 17:32:59 -0700 by linus)


In this episode of Marketing Trends, Ian talks with Menaka Shroff, Global Head of Marketing of Devices and Mobility at Google. Menaka has also worked in marketing roles for Box and Yahoo.
We cover how she manages to find great companies to work for right before they take off, how to use analytics to drive better marketing, and how to get sales and marketing into better alignment.
1:10 - How Menaka got into marketing.
2:00 - Menaka's strategy for picking great companies.
2:50 - The difference between corporate and start-up life.
5:10 - How to balance analytical marketers with other roles on a marketing team.
7:45 - Aligning sales and marketing on metrics.
10:10 - The best campaign Menaka has ever been a part of.
13:35 - The process of becoming a thought leader in an industry.
14:50 - How to plan and run a great corporate event.
18:20 - The future of AI and machine learning.


Profiles of Individual Radicalization in the United States (PIRUS) is a database of 2,149 Islamist, far-left, far-right, and single-issue extremists who have radicalized to violent and non-violent extremism in the United States from 1948 through 2017. The database is freely available for download on START's webpage at http://www.start.umd.edu/profiles-individual-radicalizationunited-states-pirus-keshif. The analysis for this research brief draws on the full dataset and illustrates the important differences that exist across ideological groups, as well as those which distinguish violent from non-violent extremists.


-exploitationsterart.com on August 17th, 2014.
-filmposters.com on August 17th, 2014.
-trashymovie.wordpress.com on August 17th, 2014.
-Herb Museum on September 8th, 2014.
"She Shoulda Said 'No'!" (also known as Wild Weed; Marijuana, the Devil's Weed; The Story of Lila Leeds and Her Exposé of the Marijuana Racket; and The Devil's Weed) is a 1949 exploitation film that follows in the spirit of morality tales such as the 1936 films Reefer Madness and Marihuana. Directed by Sam Newfield (using the pseudonym "Sherman Scott") and starring Lila Leeds, it was originally produced to capitalize on the arrest of Leeds and Robert Mitchum on a charge of marijuana conspiracy. The film was issued under many titles; it struggled to find a distributor until film presenter Kroger Babb picked up the rights, reissuing it as The Story of Lila Leeds and Her Exposé of the Marijuana Racket. Its relative success came only after the promotional posters were redone and a story fabricated that the film was being presented in conjunction with the United States Treasury.
Leeds' character is "Anne Lester", a young orphan who is trying to pay for her brother's college education. After meeting Markey, a drug dealer, Anne begins to believe that she must smoke marijuana to fit in with her friends. She then goes to a "tea party", where she tries the drug for the first time. She is unaffected by the initial experiment, and loses her fear of drugs as she continues to smoke.
Anne's drug use results in the loss of many of her inhibitions, and the film shows her actions under the influence, including scenes implying sexual promiscuity. As the film progresses, she is fired from her job and begins selling drugs for Markey. Her brother hangs himself when he learns of her new job, and she is arrested and given a tour of the various psychiatric wards and jails that drug users end up in. Finally, after 50 days in jail, she is released, cleaned up and ready to cooperate with the authorities regarding Markey. Text retrieved from Wikipedia.org on August 17th, 2014.


This entry was posted in Kleider lang on August 31, 2018 by superseo.
This entry was posted in Stilvolle kleider on August 31, 2018 by superseo.
This entry was posted in Teure Kleider on August 31, 2018 by superseo.
This entry was posted in Partykleider on August 31, 2018 by superseo.
This entry was posted in Kleider damen on August 31, 2018 by superseo.
This entry was posted in Moderne kleider on August 31, 2018 by superseo.
This entry was posted in Kleid gold on August 31, 2018 by superseo.


text:
Home » Regional » Shannon (page 48)
Bunratty Castle setting for children's book
June 2, 2011	Comments Off on Bunratty Castle setting for children's book
BUNRATTY Castle is the setting for children's author Eithne Massey's new book, The Silver Stag of Bunratty.
Hotel college marks 60 years
May 26, 2011	Comments Off on Hotel college marks 60 years
DOZENS of graduates returned to Shannon College of Hotel Management last Friday as it celebrated its 60th anniversary.Retired North Clare hotelier Eamon Vaughan was in the second class that enrolled at the college. "It was good, it gave us the basics. We used to work for the summer in the kitchens and other parts of the airport, although I used to go home and work in Vaughan's Hotel. Then I went on to Germany and on to London. In the original days, it was so different, we didn't learn anything about food costings or anything like that. You thought all you had to do to be a hotel manager was to walk around," he said of his days at the college.There were 21 in his class and he was the only one from Clare and he said the students met many celebrities of the day there. "I remember I spent half an hour talking to Nat King Cole one night, …
GE acquiring FMC Tech
May 26, 2011	Comments Off on GE acquiring FMC Tech
GE has announced that it is intending to acquire Shannon company FMC Tech. GE is one of the biggest companies in the world and Bob Gilligan CEO-digital energy for GE Energy Services, welcomed the move. "With the acquisition of FMC Tech's portfolio, GE will be able to provide a new level of grid intelligence to utilities, improving decision-making and streamlining operations with real-time information on power outages and available capacity on power lines."He said the move should drive quicker development of technology. "FMC-Tech's expertise in online power management and fault detection combined with GE's distribution management expertise will drive faster technology development, implementation and broader-based solutions, which will enable a broader portfolio of utility management solutions."FMC Tech will become part of GE Energy Services Digital Energy Smart Substation business and all employees will remain in Ireland. The acquisition is expected to be completed by July. FMC-Tech Ltd, was set up in August 2001 for the purpose of developing a new …
Coleman to replace Mulcahy on town council
May 19, 2011	Comments Off on Coleman to replace Mulcahy on town council
NEW Senator Tony Mulcahy's seat on Shannon Town Council will be filled by 35-year-old Vincent Coleman.
Chris qualifies for World Championships
May 19, 2011	Comments Off on Chris qualifies for World Championships
SHANNON swimmer Chris Bryan has met the criteria for entry to this summer's World Championships in Shanghai. Chris competes in open water swimming over 10km and at a competition in Israel, he recorded a time of 1.53:01.The 21-year-old trains at the University of Limerick and his coach, Ronald Claes said he performed well."There are a series of European open water events as part of the overall European competition. Israel is probably one of the bigger ones and it's the first of the year. Swim Ireland set out two criteria to qualify for Shanghai; he had to finish in under two hours and within 10 minutes of the winner. He did both."Chris managed this despite having to overcome a significant obstacle. "The field was very big so they split it into two groups and put the entrants from the stronger swimming countries in the first one. There would have been a big advantage in being in the first group, so that …
Hannan warms up for pro boxing debut
May 12, 2011	Comments Off on Hannan warms up for pro boxing debut
SHANNON boxer Marty Hannan is going to make his professional debut on June 18 in Galway.The 29-year-old light middleweight is fighting English boxer Ryan Casey and he doesn't believe he's too old to be turning pro. "The way I look at it, I took a break from boxing for a few years so I'm still very fresh. I'm always training, I look after my diet. A lot of people might think that at 29, I'm a bit too old but I don't think like that at all. I'm still flying fit. At the club that I'm training in (Our Lady of Lourdes in Limerick), I'm sparring European champions like Willie Casey. "I'm sparring lads who are great, great boxers, who have been around the world and I'm able to compete with them in the ring. My trainer is Shane Daly and he turned Andy Lee professional, he turned Willie Casey professional. He thought I'd do well at it so he …
Golf club remembers Seve
May 12, 2011	Comments Off on Golf club remembers Seve
Memories of the Shannon Golf Club Pro-Am events in the late '70s were recalled this week when news of the death of Seve Ballesteros was announced.The Spaniard was one of the leading attractions at the Shannon event that was played on the Monday after the Irish Open. In the mid-'70s, Christy O'Connor Junior was attached to the Shannon club and he was instrumental in getting many of the leading professionals to play in the Shannon Pro-Am, which raised money for various charities.In addition to the late Ballesteros, winner of 87 titles during his career, Nick Faldo, Ian Woosnam and Greg Norman also visited and played the Shannon course. Norman holds the record of having the longest drive and a special stone was erected on the 18th fairway to mark this."Back then, the Irish Open was staged the week prior to the British Open. The field of competitors in the Shannon event would do justice to any of the majors," recalled …
McLoughlin seeks county council seat
May 5, 2011	Comments Off on McLoughlin seeks county council seat
WITH the election of Tony Mulcahy to the Seanad, opportunity may be about to knock for Sean McLoughlin. Councillor McLoughlin was heavily involved with his party colleague's bids for election to both the Dáil and the Seanad. Now, with Senator Mulcahy going to the upper house, he may take his seat on Clare County Council.The abolition of the so-called dual mandate some years ago means that a member of the Oireachtas cannot sit on a county council or a town council and so Fine Gael will co-opt new members.Following Mulcahy's election, McLoughlin threw his hat into the ring. In a statement, the two-time Mayor of Shannon congratulated the new Senator and announced his interest in taking the county council seat."Seventeen years ago in Shannon the Fine Gael branch reformed. I was proud to be a member of that group. That branch has performed well, subsequently ensuring a greater vote and representation for the party in all elections. This success has …
Page 48 of 68« First...203040«4647484950	»	60...Last »


At the conclusion of World War II, war crimes tribunals were carried out at Nuremberg, Germany. Justice was meted out for major war criminals, and Benjamin Ferencz was chief prosecutor for what the Associated Press said was the largest murder trial in history. This biography of the last living Nuremberg prosecutor traces his life from early childhood growing up as an immigrant in Hell's Kitchen in New York City, to Harvard Law School, to the U.S. Army and Patton's Judge Advocate War Crimes Investigation Section, to the Nuremberg Tribunals and beyond. His life has been spent working toward the goal of world peace through law, not war, including the successful formation of the International Criminal Court, in which Ferencz played a key role.
Tom Hofmann is a retired U.S. Defense Industry consultant whose wife is a first cousin of Benjamin Ferencz. He lives in Sun City West, Arizona.


text:
Skytable
Latest updates from the team behind Skytable
Review of 2022, support-cycle announcements and release dates
Hey everyone! We hope you're doing well and while we did wish everyone on our social channels, our blog visitors didn't get a good enough wish, so here we go – Happy New Year! We hope that everyone has an amazing year ahead. This post is going to be a review
Sayan Nandan Jan 30, 2023 • 4 min read
Flying to 2023: The path to a new sky
We think you've been waiting to hear from us, and we've been waiting to tell you a lot! The past few months have been very quiet on Skytable's public repository, and while it may sound contrarian – it's for good reason! The last release that we made happened almost an era
Sayan Nandan Dec 11, 2022 • 3 min read
Skytable 0.7.6: Fixes, and fixes!
Skytable 0.7.6 has been released, with some very critical fixes. Thanks to our community we discovered two bugs, one of which is very critical. Let's take a quick look into those and what is currently going on at Skytable. Bugs fixedThe cleanup bug The first bug is the
Sayan Nandan Aug 19, 2022 • 1 min read
Skytable 0.7.5: System metrics, improved error infrastructure, new actions and several fixes
The Skytable Team is extremely happy to announce the release of Skytable 0.7.5. Skytable is a free and open-source NoSQL database that aims to provide flexible data modeling at scale. This release packs some new actions while also adding a huge number of very critical fixes. We strongly
Sayan Nandan Mar 30, 2022 • 2 min read
Skytable 0.7.4 is here: authn, entity syntax, fixes and more
The Skytable Team is extremely happy to announce the release of Skytable 0.7.4. Skytable is a free and open-source NoSQL database that aims to provide flexibility in data modeling at scale. This release adds token-based auth, new partial entity syntax and some other improvements and important fixes. Token-based
Skytable 0.7.3 is here: dev/prod mode, list pagination and several fixes
We're extremely happy to announce the release of Skytable 0.7.3. Skytable is a free and open-source NoSQL database that aims to provide flexible data modeling at scale. This release is a small one, but adds a couple of nifty features. Still in dev or pushing to prod? Your
Sayan Nandan Feb 15, 2022 • 2 min read
Planned changes to Docker images
We're currently on our way to change the way we release Docker Images for Skytable and we'd like to share what we plan to do so that we can integrate any feedback that our users may have. What happens todayToday, we maintain three sets of tags for images published on
Skytable 0.7.2 is here: Pipelined querying, improved REPL and much more
The Skytable Team is extremely happy to announce the release of Skytable 0.7.2. Skytable is a free and open-source NoSQL that aims to provide flexible data modeling at scale. Let's jump right into the new stuff in this release! Pipeline itPipelines are way of sending multiple queries to
Sayan Nandan Nov 16, 2021 • 1 min read
Skytable 0.7.1 is here: Lists and more!
We're extremely happy to announce the release of Skytable 0.7.1. Skytable 0.7.1 introduces a new list data type, the sub-action class of actions and easier configuration via environment variables. Also, RFC 1 has been accepted which is going to be a big win for users; let's
Sayan Nandan Oct 8, 2021 • 2 min read
Skytable 0.7 "Metaverse" is here. It's time to get excited.
The Skytable Team is extremely happy to announce the long awaited release of Skytable 0.7. This release is a benchmark in what we've built so far and it only gets better from here. This post is all about what you can expect. #1: The metaverse: Multiple keyspaces and tablesThat's
Skytable 0.6.2 is here
The Skytable team is extremely happy to announce the release of Skytable 0.6.2. Skytable is a free and open-source NoSQL database that aims to reduce the trouble of data modeling without compromising on performance, query-ability or scalability. This release appears to be a short release, but a number
Sayan Nandan Jun 24, 2021 • 1 min read
And Skytable 0.6 is here
The Skytable team is extremely happy to announce the release of Skytable 0.6. Skytable is a free and open-source NoSQL database that aims to provide flexible data modeling at scale. With every release we're moving closer to our goal and this one is no exception. But just like life
Sayan Nandan May 27, 2021 • 1 min read
Announcing Skytable 0.5.2 and the first driver
The Skytable team is extremely happy to announce the release of Skytable 0.5.2. Skytable is a free and open-source NoSQL database with a goal to simplify data modeling – at scale. 0.5.2 introduces many interesting changes and internal improvements; let's take a quick look at those! #1:
Sayan Nandan May 8, 2021 • 1 min read
Woohoo! The Skytable Release Team is happy to announce the release of Skytable 0.5.1. This is the 23rd release of the project and the 2nd release under Skytable. Several features are packed into this release which will enable users to take Sky further. Let's discuss some of the
The end of TerrabaseDB and the beginning of Skytable
After a lot of debate, confusion, and brainstorming — we've finally made it. Today, TerrabaseDB officially becomes Skytable and we couldn't be more excited. We've been hard at work migrating the website, documentation, and source code amongst other things. Also, we discovered a vulnerability for which a patch was released. In
Roadmap: 2021
2021 is here and we've got to clear away the old to make way for the new! This year is going to be a challenging year for the project as we've got several things in mind — and the roadmap you're about to see is more like one
Sayan Nandan Jan 8, 2021 • 2 min read
Announcing TDB v0.5.0
We are happy to announce the release of TerrabaseDB, 0.5.0. TerrabaseDB is a free and open-source NoSQL database that aims to provide a flexible data model while not compromising on performance and complexity of the codebase, enabling anyone to hack into it. TerrabaseDB 0.5.0 introduces a
We're happy to announce the release of TerrabaseDB v0.4.5. Like we had said in the previous post, this is a big release. TDB now supports automated snapshots and remote snapshots for seamless backups. Snapshots are backups of data at specific points in time. These can be used for
Sayan Nandan Oct 29, 2020 • 1 min read
We're happy to announce the release of TerrabaseDB v0.4.4. This release is one of the smallest releases we've ever made; it adds two actions to the key/value store. These actions are: KEYLEN : This returns the length of a key as an unsigned integer USET : Short for Update
We're happy to announce the release of TerrabaseDB v0.4.3, which comes loaded with a bunch of new actions. We'll mainly be looking at strong actions which are specifically built for operations with multiple keys. New actions: SSET: short for Strong SET, will SET all keys and values, only
Sayan Nandan Sep 25, 2020 • 1 min read
We're happy to announce the release of TerrabaseDB v0.4.2. This release is another patch release — and we've always had the trend of introducing small but extremely useful changes in these. To keep up this trend, with v0.4.2, TDB will support BGSAVE . So what is BGSAVE ? You
We are happy to announce the release of TDB v0.4.1 - which we already hinted at in an earlier post. Just like most patches, this is a small release, but it brings in a new feature which would make working with TDB easier. Until now, TDB, by default,
Sayan Nandan Sep 6, 2020 • 1 min read
Roadmap: Q4 2020
We've decided on the roadmap for Q4 2020. In one line, for the remaining months of this year, we will be focusing on reliability, security, drivers and a couple of new features. Read on to know what we're planning to ship by the end of this year. Goals By the
TerrabaseDB reaches v0.4.0 - which we are internally calling "headway" as it paves the path for the future of TDB. We've made exciting changes and added several new features. Read on to know more. Let's admit it - we've had some good trouble with our protocol
Announcing TDB v0.3.2 and our benchmark tool
v0.3.2 of TerrabaseDB is now available - with one exciting thing - we're now shipping the experimental benchmark tool in the bundle. Which means...you can now run your own benchmarks! Read on to know how. As noted in an earlier post, we had built an experimental benchmark
Sayan Nandan Aug 7, 2020 • 1 min read
Skytable © 2023