Package jisa.experiment
Class MCIVPoint
- java.lang.Object
-
- jisa.experiment.MCIVPoint
-
public class MCIVPoint extends java.lang.Object
Structure to hold I-V data from a multi-channel sweep
-
-
Constructor Summary
Constructors Constructor Description MCIVPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAll(java.util.Map<java.lang.Integer,IVPoint> c)
Add a map of channel number and IVPoint objects.void
addChannel(int channel, IVPoint point)
Add IVPoint for the given channel.IVPoint
getChannel(int channel)
Returns the IVPoint corresponding to the given channel number.
-
-
-
Method Detail
-
addChannel
public void addChannel(int channel, IVPoint point)
Add IVPoint for the given channel.- Parameters:
channel
- The channelpoint
- Data point
-
addAll
public void addAll(java.util.Map<java.lang.Integer,IVPoint> c)
Add a map of channel number and IVPoint objects.- Parameters:
c
- Map
-
getChannel
public IVPoint getChannel(int channel)
Returns the IVPoint corresponding to the given channel number. Returns null if it does not exist.- Parameters:
channel
- Channel number- Returns:
- IVPoint of channel
-
-