ReadCSVfileAsPureCubicalKnot(str):: String --> PureCubicalComplex
ReadCSVfileAsPureCubicalKnot(str,r):: String, Int --> PureCubicalComplex
ReadCSVfileAsPureCubicalKnot(L):: List --> PureCubicalComplex
ReadCSVfileAsPureCubicalKnot(L,R):: List,List --> PureCubicalComplex

Reads a CSV file identified by a string str such as "file.pdb" or "path/file.pdb" and returns a 3-dimensional pure cubical complex K. Each line of the file should contain the coordinates of a point in \mathbb R^3 and the complex K should represent a knot determined by the sequence of points, though the latter is not guaranteed. A useful check in this direction is to test that K has the homotopy type of a circle.

If the test fails then try the function again with an integer r \ge 2 entered as the optional second argument. The integer determines the resolution with which the knot is constructed.

The function can also read in a list L of strings identifying CSV files for several knots. In this case a list R of integer resolutions can also be entered. The lists L and R must be of equal length.