#system libraries
import sys
import numpy
# UAL library
import imas
# Create a new instance of database
imas_obj = imas.ids(11, 22)
imas_obj.create()
ids = imas_obj.core_profiles
# Mandatory to define this property
ids.ids_properties.homogeneous_time = 1
# Filling fields with TIME-INDEPENDENT data
ids.ids_properties.comment = 'IDS created by putSlice'
#Save time independent fields
ids.putNonTimed()
# Allocate all variables, time coordinate of size 1
ids.time.resize(1)
ids.x.y.resize(1)
# Setting values of time depended data
ids.x.y[0] = |