Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/python-ase-3.8.1/ase/io/netcdf.py   python-ase(Download)
def write_netcdf(filename, images):
    from ASE.Trajectories.NetCDFTrajectory import NetCDFTrajectory
 
    if not isinstance(images, (list, tuple)):
        images = [images]
 
    loa = LOA(images)
    traj = NetCDFTrajectory(filename, loa)