|
|
`arpesbin.data2d` is a class for storing arbitrary data that represents a scalar field over two dimensions.
|
|
|
|
|
|
`arpesbin.data2d(x,y,value)`
|
|
|
|
|
|
`arpesbin.data2d(_,Name,Value)`
|
|
|
|
|
|
Instantiation
|
|
|
---
|
|
|
`arpesbin.data2d(x,y,value)` creates a new data2d object with vectors `x,y` for the values of the independent variables on the x and y-axes respectively. And a matrix `value` for the values of the dependent variable.
|
|
|
The size of `x` must be the width of `value`.
|
|
|
The size of `y` must be the height of `value`.
|
|
|
|
|
|
---
|
|
|
`arpesbin.data2d(_,Name,Value)` specifies optional properties using Name-Value pairs.
|
|
|
A full list is below.
|
|
|
|
|
|
| Name | ValueType| Default | Description |
|
|
|
| ------ | ------ | ------- | ------- |
|
|
|
| info | `struct` | `none` | stuct array containing any additional data about the experiment. Fields are arbitrary. |
|
|
|
| xUnits | `char` | '' | string for storing data about the units of the experiment |
|
|
|
| yUnits | 'char' | '' | string for storing data about the units of the experiment |
|
|
|
|
|
|
---
|
|
|
|
|
|
Methods
|
|
|
---
|
|
|
`data = .curvature(Name,Value)` Calculates 2d curvature over the field and returns a new data2d object with that data.
|
|
|
|
|
|
---
|
|
|
`[intensity,y] = getYDC(x0,delta,range)` Integrate a cut through the data parallel to y-axis. Integrates over range x0-deta < x< x0 + delta. Returns for values of range(1) < y < range(2)
|
|
|
|
|
|
---
|
|
|
`[intensity,x] = getXDC(y0,delta,range)` Integrate a cut through the data parallel to x-axis. Integrates over range y0-deta < y < y0 + delta. Returns for values of range(1) < x < range(2)
|
|
|
|