diff --git a/OpenEphys.ProbeInterface.NET/Contact.cs b/OpenEphys.ProbeInterface.NET/Contact.cs
index 6e3af5c..b25f9bc 100644
--- a/OpenEphys.ProbeInterface.NET/Contact.cs
+++ b/OpenEphys.ProbeInterface.NET/Contact.cs
@@ -48,24 +48,24 @@ public readonly struct Contact
///
/// Initializes a new instance of the struct.
///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
+ /// Center value of the contact on the X-axis.
+ /// Center value of the contact on the Y-axis.
+ /// The of the contact.
+ /// 's relevant to the of the contact.
+ /// The device channel index () of this contact.
+ /// The contact ID () of this contact.
+ /// The shank ID () of this contact.
+ /// The index of the contact within the context of the .
public Contact(float posX, float posY, ContactShape shape, ContactShapeParam shapeParam,
- int device_id, string contact_id, string shank_id, int index)
+ int deviceId, string contactId, string shankId, int index)
{
PosX = posX;
PosY = posY;
Shape = shape;
ShapeParams = shapeParam;
- DeviceId = device_id;
- ContactId = contact_id;
- ShankId = shank_id;
+ DeviceId = deviceId;
+ ContactId = contactId;
+ ShankId = shankId;
Index = index;
}
}
diff --git a/OpenEphys.ProbeInterface.NET/ContactAnnotations.cs b/OpenEphys.ProbeInterface.NET/ContactAnnotations.cs
index 8e46223..73b241e 100644
--- a/OpenEphys.ProbeInterface.NET/ContactAnnotations.cs
+++ b/OpenEphys.ProbeInterface.NET/ContactAnnotations.cs
@@ -15,7 +15,7 @@ public class ContactAnnotations
///
/// Initializes a new instance of the class.
///
- ///
+ /// Array of strings containing annotations for each contact. Size of the array should match the number of contacts, but they can be empty strings.
[JsonConstructor]
public ContactAnnotations(string[] contactAnnotations)
{
diff --git a/OpenEphys.ProbeInterface.NET/ContactShapeParam.cs b/OpenEphys.ProbeInterface.NET/ContactShapeParam.cs
index 51cab51..943046b 100644
--- a/OpenEphys.ProbeInterface.NET/ContactShapeParam.cs
+++ b/OpenEphys.ProbeInterface.NET/ContactShapeParam.cs
@@ -52,7 +52,7 @@ public ContactShapeParam(float? radius = null, float? width = null, float? heigh
///
/// Copy constructor given an existing object.
///
- ///
+ /// Existing object to be copied.
protected ContactShapeParam(ContactShapeParam shape)
{
Radius = shape.Radius;
diff --git a/OpenEphys.ProbeInterface.NET/Probe.cs b/OpenEphys.ProbeInterface.NET/Probe.cs
index 7944663..b7a84ad 100644
--- a/OpenEphys.ProbeInterface.NET/Probe.cs
+++ b/OpenEphys.ProbeInterface.NET/Probe.cs
@@ -113,18 +113,18 @@ public class Probe
///
/// Public constructor, defined as the default Json constructor.
///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
+ /// Number of dimensions to use while plotting the contacts [ or ].
+ /// Real-world units to use while plotting the contacts [ or ].
+ /// Annotations for the probe.
+ /// Annotations for each contact as an array of strings.
+ /// Center position of each contact in a two-dimensional array of floats. For more info, see .
+ /// Plane axes of each contact in a three-dimensional array of floats. For more info, see .
+ /// Array of shapes for each contact.
+ /// Array of shape parameters for the each contact.
+ /// Two-dimensional array of floats (X and Y positions) defining a closed shape for a probe contour.
+ /// Array of integers containing the device channel indices for each contact. For more info, see .
+ /// Array of strings containing the contact ID for each contact. For more info, see .
+ /// Array of strings containing the shank ID for each contact. For more info, see .
[JsonConstructor]
public Probe(ProbeNdim ndim, ProbeSiUnits si_units, ProbeAnnotations annotations, ContactAnnotations contact_annotations,
float[][] contact_positions, float[][][] contact_plane_axes, ContactShape[] contact_shapes,
@@ -148,7 +148,7 @@ public Probe(ProbeNdim ndim, ProbeSiUnits si_units, ProbeAnnotations annotations
///
/// Copy constructor given an existing object.
///
- ///
+ /// Existing object to be copied.
protected Probe(Probe probe)
{
NumDimensions = probe.NumDimensions;
@@ -252,7 +252,7 @@ public static ContactShapeParam[] DefaultRectParams(int numberOfContacts, float
for (int i = 0; i < numberOfContacts; i++)
{
- contactShapeParams[i] = new ContactShapeParam(height: height);
+ contactShapeParams[i] = new ContactShapeParam(width: width, height: height);
}
return contactShapeParams;
diff --git a/OpenEphys.ProbeInterface.NET/ProbeAnnotations.cs b/OpenEphys.ProbeInterface.NET/ProbeAnnotations.cs
index e7e59ed..72f9011 100644
--- a/OpenEphys.ProbeInterface.NET/ProbeAnnotations.cs
+++ b/OpenEphys.ProbeInterface.NET/ProbeAnnotations.cs
@@ -22,8 +22,8 @@ public class ProbeAnnotations
///
/// Initializes a new instance of the class.
///
- ///
- ///
+ /// String defining the name of the probe.
+ /// String defining the manufacturer of the probe.
[JsonConstructor]
public ProbeAnnotations(string name, string manufacturer)
{
@@ -34,7 +34,7 @@ public ProbeAnnotations(string name, string manufacturer)
///
/// Copy constructor that copies data from an existing object.
///
- ///
+ /// Existing object, containing a and a .
protected ProbeAnnotations(ProbeAnnotations probeAnnotations)
{
Name = probeAnnotations.Name;