7 usage =
"""%prog [options] <in_density> <density threshold> <out_pca.cmm>
9 Calculates the map principal components and writes them in cmm format.
10 The 3D points participating in the PCA calculation are the centers of voxels
11 with density above the input threshold."""
13 parser.add_option(
"-p",
"--apix", dest=
"apix",
15 (options, args) = parser.parse_args()
17 parser.error(
"incorrect number of arguments")
19 threshold = float(args[1])
23 dmap.update_voxel_size(float(options.apix))
26 f=open(out_pca_fn,
"w")
30 if __name__ ==
"__main__":