You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: BrukerDataLoader.m
    path of file: ./repos/TIGRE/MATLAB/Utilities/IO/Bruker
    
    the code of the file until where you have to start completion: function [proj,geo,angles]=BrukerDataLoader(filepath,varargin)
%BrukerDataLoader(filepath) Loads Bruker uCT datasets into TIGRE standard
%
%   BrukerDataLoader(filepath OPT,VAL,...) uses options and values.
%      These are options in case you don't want to load the entire
%      dataset, but only particular sets of projections.
%      The possible options in OPT are:
%           'sampling': type of sampling. default 'equidistant' Can be:
%                  'equidistant': equidistantly sample the entire set
%                       of angles. 'num_angles' should be set for partial
%                       loading of the data.
%                  'step': sample the entire set of projections every
%                         'sampling_step' angles.
%                  'continous': Load the first 'num_angles' amount of
%                             angles only.
%
%           'num_angles': Number of total angles to load. Default all of
%                    them. Useful for 'equidistant' and 'continous' loading
%
%           'sampling_step': step to load when loading projections.

    
function [proj,geo,angles]=BrukerDataLoader(filepath,varargin)
%BrukerDataLoader(filepath) Loads Bruker uCT datasets into TIGRE standard
%
%   BrukerDataLoader(filepath OPT,VAL,...) uses options and values.
%      These are options in case you don't want to load the entire
%      dataset, but only particular sets of projections.
%      The possible options in OPT are:
%           'sampling': type of sampling. default 'equidistant' Can be:
%                  'equidistant': equidistantly sample the entire set
%                       of angles. 'num_angles' should be set for partial
%                       loading of the data.
%                  'step': sample the entire set of projections every
%                         'sampling_step' angles.
%                  'continous': Load the first 'num_angles' amount of
%                             angles only.
%
%           'num_angles': Number of total angles to load. Default all of
%                    them. Useful for 'equidistant' and 'continous' loading
%
%           'sampling_step': step to load when loading projections.
%                   Default=1. Useful for 'step' loading.
%
%           'dataset_number': some Bruker data has several datasets in a
%                             single folder. This can be the dataset number
%                             of 'all' to load all of them
%% Parse inputs

dataset_number=-1;
for ii=1:2:length(varargin)
    if strcmpi('dataset_number',varargin{ii})
        dataset_number=varargin{ii+1};
        break;
    end