|
int | galpy_pot_movie.fps = 30 |
|
string | galpy_pot_movie.output_file = 'pot_movie' |
|
string | galpy_pot_movie.plot_format = 'mp4' |
|
int | galpy_pot_movie.n_cpu = 0 |
|
bool | galpy_pot_movie.log_flag = False |
|
| galpy_pot_movie.kwargs = dict() |
|
string | galpy_pot_movie.shortargs = 'f:o:h' |
|
list | galpy_pot_movie.longargs = ['help','vmax=','vmin=','format=','n-cpu=','log'] |
|
| galpy_pot_movie.opts |
|
| galpy_pot_movie.remainder |
|
| galpy_pot_movie.fpar = remainder[0] |
|
| galpy_pot_movie.fp = open(fpar, 'r') |
|
| galpy_pot_movie.header = fp.readline() |
|
| galpy_pot_movie.t0 |
|
| galpy_pot_movie.dt |
|
| galpy_pot_movie.nstep = int(nstep) |
|
| galpy_pot_movie.dt_out |
|
| galpy_pot_movie.xmin = float(xmin)*1e-3 |
|
| galpy_pot_movie.xmax = float(xmax)*1e-3 |
|
| galpy_pot_movie.nx |
|
| galpy_pot_movie.ymin = float(ymin)*1e-3 |
|
| galpy_pot_movie.ymax = float(ymax)*1e-3 |
|
| galpy_pot_movie.ny |
|
| galpy_pot_movie.zmin = float(zmin)*1e-3 |
|
| galpy_pot_movie.zmax = float(zmax)*1e-3 |
|
| galpy_pot_movie.nz |
|
list | galpy_pot_movie.xyscale = [[xmin,xmax,ymin,ymax],[xmin,xmax,zmin,zmax]] |
|
| galpy_pot_movie.pot = np.loadtxt('xy0', unpack=True, usecols=(10),skiprows=1) |
|
| galpy_pot_movie.pot_min = pot.min() |
|
| galpy_pot_movie.pot_max = pot.max() |
|
| galpy_pot_movie.pool = mp.Pool(n_cpu) |
|
int | galpy_pot_movie.n_files = int(nstep)+1 |
|
| galpy_pot_movie.file_list = range(nstep+1) |
|
| galpy_pot_movie.n_pieces = np.ones(n_cpu)*int(n_files/n_cpu) |
|
int | galpy_pot_movie.n_left = n_files%n_cpu |
|
| galpy_pot_movie.n_offset = np.append([0],n_pieces.cumsum()).astype(int) |
|
list | galpy_pot_movie.file_part = [file_list[n_offset[i]:n_offset[i+1]] for i in range(n_cpu)] |
|
list | galpy_pot_movie.results = [None]*n_cpu |
|
list | galpy_pot_movie.png_list = ['pot'+str(file_list[i])+'.png' for i in range(n_files)] |
|