Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_read_sens”.

```  FT_READ_SENS read sensor positions from various manufacturer specific files. See
further down for the list of file types that are supported.

Use as
elec = ft_read_sens(filename, ...)  % for electrodes

Additional options should be specified in key-value pairs and can be
'fileformat'     = string, see the list of supported file formats (the default is determined automatically)
'senstype'       = string, can be 'eeg' or 'meg', specifies which type of sensors to read from the file (default = 'eeg')
'coilaccuracy'   = can be empty or a number (0, 1 or 2) to specify the accuracy (default = [])

An electrode definition contain the following fields
elec.elecpos = Nx3 matrix with carthesian (x,y,z) coordinates of each
electrode
elec.label   = cell-array of length N with the label of each electrode
elec.chanpos = Nx3 matrix with coordinates of each sensor

A gradiometer definition generally consists of multiple coils per channel, e.g. two
coils for a 1st order gradiometer in which the orientation of the coils is
opposite. Each coil is described separately and a large "tra" matrix has to be
given that defines how the forward computed field is combined over the coils to
generate the output of each channel. The gradiometer definition constsis of the
following fields
grad.coilpos = Mx3 matrix with the position of each coil
grad.coilori = Mx3 matrix with the orientation of each coil
grad.tra     = NxM matrix with the weight of each coil into each channel
grad.label   = cell-array of length N with the label of each of the channels
grad.chanpos = Nx3 matrix with the positions of each sensor

Files from the following acquisition systems and analysis platforms file formats
are supported.

asa_elc besa_elp besa_pos besa_sfp yokogawa_ave yokogawa_con yokogawa_raw 4d
4d_pdf 4d_m4d 4d_xyz ctf_ds ctf_res4 itab_raw itab_mhd netmeg neuromag_fif
{"ft_lang_label":"__label__en","ft_lang_prob":0.7645625,"math_prob":0.9086728,"size":2322,"snap":"2020-24-2020-29","text_gpt3_token_len":575,"char_repetition_ratio":0.11389129,"word_repetition_ratio":0.04692082,"special_character_ratio":0.21877691,"punctuation_ratio":0.096,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.956671,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-07-05T14:26:03Z\",\"WARC-Record-ID\":\"<urn:uuid:8a8a66eb-d50d-4c85-a2fb-a3c88a249345>\",\"Content-Length\":\"22155\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:97844e16-c026-45bf-869f-8464010c1df2>\",\"WARC-Concurrent-To\":\"<urn:uuid:12efeb6d-41d0-44bc-a619-c73c5dfbfb28>\",\"WARC-IP-Address\":\"131.174.44.34\",\"WARC-Target-URI\":\"http://old.fieldtriptoolbox.org/reference/ft_read_sens?bootswatch-theme=darkly\",\"WARC-Payload-Digest\":\"sha1:3NMPU442JUTVVWSZNXKA3F2HORHOFNFZ\",\"WARC-Block-Digest\":\"sha1:RIW2GO3XHGCYCJDDLX6XIRUFJXXVVSHB\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-29/CC-MAIN-2020-29_segments_1593655887360.60_warc_CC-MAIN-20200705121829-20200705151829-00519.warc.gz\"}"}