schrodinger.application.desmond.cns_io module¶
-
class
schrodinger.application.desmond.cns_io.CNSData(fname, create_grid_st=True)[source]¶ Bases:
object
-
schrodinger.application.desmond.cns_io.write_cns(grid, length, spacing, filename, center=(0.0, 0.0, 0.0))[source]¶ This function writes out a volumetric file (.cns) in CNS/XPLOR format
- Parameters
grid (
numpy.array) – a 3 dimensionalnumpy.arrayoffloatlength (
listoffloat, ornumpy.array) – the length of the box (x,y,z)spacing (
listoffloat, ornumpy.array) – the spacing of the grid (x,y,z)filename (
str) – filename to write the grid tocenter (iterable of
float, or 1x3numpy.array) – geometric center