crseo-sys 1.3.2

Cuda Engined Optics Rust Interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import sys
import numpy as np
import math
#import ceo
#import scipy.io as sio
import os.path
import datetime
#import commands


# In[2]:
mag = float(sys.argv[1])
angle = float(sys.argv[2])
np.savez('batch_params',mag=mag, alpha_ps=angle*60.)
print "Saving param files with: mag %s, angle %s"%(mag, angle)