Skip to content

xdc.Transducer

Peter Hollender edited this page Dec 8, 2023 · 1 revision

fus.xdc.Transducer

Transducer transducer array array = Transducer("param", value, ...)

Properties

  • id: [string] Transducer ID
  • name: [string] Transducer Name
  • elements: [(1,:) fus.xdc.Element] Element array
  • frequency: [(1,1) double] Nominal center frequency
  • units: [(1,1) string] Spatial units
  • matrix: [(4,4) double] Spatial transformation matrix
  • attrs: [struct]

Methods

  • trans = transform(self, matrix, options) transform the Transducer
  • [trans, trans_ok] = select(self, options) Choose among transducer Transducers
  • varargout = rescale(self, units) rescale the spatial units
  • n = numelements(self) number of elements
  • merged_array = merge(self, options) merge multiple Transducers
  • unit_vectors = get_unit_vectors(self, options) get the unit vectors of the array
  • matrix = get_matrix(self, options) get the spatial transformation matrix
  • positions = get_positions(self, options) get the positions of the array's elements
  • corners = get_corners(self, options) get the corners of the array
  • area = get_area(self, options) get the array of the array's elements
  • h = draw(self, options) draw transducer
  • trans_copy = copy(self)
  • trans = by_id(self, id) get transducer by ID
  • trans = gen_matrix_array(options) generate a simple matrix array
  • trans = from_struct(s, options) load Transducer from struct
  • trans = from_file(filename) load Transducer from file
Clone this wiki locally