![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Functions | |
def | makeFITSHeader (filepath, df) |
def | initSimu (config, c) |
def | loop (n, wfs, tel, atm, dms, tar, rtc) |
Variables | |
string | simulName = "PYR_39m" |
string | pathResults = "/volumes/hra/micado/PYR39m_RoundPupil_RUN2/" |
string | dBResult = "/volumes/hra/micado/PYR_39m_RoundPupil_RUN2.h5" |
string | error = 'command line should be:"python -i test.py parameters_filename"\n with "parameters_filename" the path to the parameters file' |
list | freqs = [500.] |
list | gainslist = [1] |
list | magnitudes = [11, 15] |
int | nKL_Filt = 1000 |
list | MODU = [5] |
list | RONS = [0.5] |
Nsimutot = len(gainslist) * len(freqs) * len(RONS) * len(MODU) * len(magnitudes) | |
param_file = sys.argv[1] | |
filename = param_file.split('/')[-1] | |
param_path = param_file.split(filename)[0] | |
string | simul_name = "" |
dictionary | matricesToLoad = {} |
int | clean = 1 |
param_dict = h5u.params_dictionary(config) | |
c = ch.carmaWrap_context(devices=np.array([0, 1, 2, 3], dtype=np.int32)) | |
int | mimg = 0. |
list | SR = [] |
colnames = h5u.params_dictionary(config) | |
dictionary | simunames |
resAll = db.readDataBase(fullpath=dBResult) | |
int | NCurrSim = 0 |
rMod = modulation | |
res | |
wfs | |
tel | |
atm | |
dms | |
tar | |
rtc | |
int | nfilt = nKL_Filt |
lambdaTargetList | |
sr_le | |
sr_se | |
numiter | |
dfparams | |
list | PSFNameList = [] |
PSFtarget = tar.get_image(t, "le") | |
date = time.strftime("_%d-%m-%Y_%H:%M:%S_") | |
string | lam = "%3.2f" % tar.Lambda.tolist()[t] |
string | PSFName = "PYR_" + lam + "_" + date + ".fits" |
clobber | |
string | lam2 = "%3.2f" % tar.Lambda.tolist()[t] |
string | filepath = pathResults + "PSFs/" + PSFName |
hdulist = pf.open(filepath) | |
header = hdulist[0].header | |
complevel | |
complib | |
def script_PYR39m.initSimu | ( | config, | |
c | |||
) |
Definition at line 127 of file script_PYR39m.py.
def script_PYR39m.loop | ( | n, | |
wfs, | |||
tel, | |||
atm, | |||
dms, | |||
tar, | |||
rtc | |||
) |
Definition at line 172 of file script_PYR39m.py.
def script_PYR39m.makeFITSHeader | ( | filepath, | |
df | |||
) |
Definition at line 107 of file script_PYR39m.py.
script_PYR39m.atm |
Definition at line 306 of file script_PYR39m.py.
script_PYR39m.c = ch.carmaWrap_context(devices=np.array([0, 1, 2, 3], dtype=np.int32)) |
Definition at line 102 of file script_PYR39m.py.
int script_PYR39m.clean = 1 |
Definition at line 94 of file script_PYR39m.py.
script_PYR39m.clobber |
Definition at line 352 of file script_PYR39m.py.
script_PYR39m.colnames = h5u.params_dictionary(config) |
Definition at line 244 of file script_PYR39m.py.
script_PYR39m.complevel |
Definition at line 375 of file script_PYR39m.py.
script_PYR39m.complib |
Definition at line 375 of file script_PYR39m.py.
script_PYR39m.date = time.strftime("_%d-%m-%Y_%H:%M:%S_") |
Definition at line 345 of file script_PYR39m.py.
string script_PYR39m.dBResult = "/volumes/hra/micado/PYR_39m_RoundPupil_RUN2.h5" |
Definition at line 23 of file script_PYR39m.py.
script_PYR39m.dfparams |
Definition at line 319 of file script_PYR39m.py.
script_PYR39m.dms |
Definition at line 306 of file script_PYR39m.py.
string script_PYR39m.error = 'command line should be:"python -i test.py parameters_filename"\n with "parameters_filename" the path to the parameters file' |
Definition at line 27 of file script_PYR39m.py.
script_PYR39m.filename = param_file.split('/')[-1] |
Definition at line 68 of file script_PYR39m.py.
script_PYR39m.filepath = pathResults + "PSFs/" + PSFName |
Definition at line 355 of file script_PYR39m.py.
list script_PYR39m.freqs = [500.] |
Definition at line 36 of file script_PYR39m.py.
list script_PYR39m.gainslist = [1] |
Definition at line 37 of file script_PYR39m.py.
script_PYR39m.hdulist = pf.open(filepath) |
Definition at line 358 of file script_PYR39m.py.
script_PYR39m.header = hdulist[0].header |
Definition at line 359 of file script_PYR39m.py.
string script_PYR39m.lam = "%3.2f" % tar.Lambda.tolist()[t] |
Definition at line 346 of file script_PYR39m.py.
string script_PYR39m.lam2 = "%3.2f" % tar.Lambda.tolist()[t] |
Definition at line 353 of file script_PYR39m.py.
script_PYR39m.lambdaTargetList |
Definition at line 317 of file script_PYR39m.py.
list script_PYR39m.magnitudes = [11, 15] |
Definition at line 39 of file script_PYR39m.py.
script_PYR39m.matricesToLoad = {} |
Definition at line 92 of file script_PYR39m.py.
int script_PYR39m.mimg = 0. |
Definition at line 233 of file script_PYR39m.py.
list script_PYR39m.MODU = [5] |
Definition at line 41 of file script_PYR39m.py.
int script_PYR39m.NCurrSim = 0 |
Definition at line 283 of file script_PYR39m.py.
int script_PYR39m.nfilt = nKL_Filt |
Definition at line 307 of file script_PYR39m.py.
script_PYR39m.nKL_Filt = 1000 |
Definition at line 40 of file script_PYR39m.py.
script_PYR39m.Nsimutot = len(gainslist) * len(freqs) * len(RONS) * len(MODU) * len(magnitudes) |
Definition at line 55 of file script_PYR39m.py.
script_PYR39m.numiter |
Definition at line 317 of file script_PYR39m.py.
script_PYR39m.param_dict = h5u.params_dictionary(config) |
Definition at line 97 of file script_PYR39m.py.
script_PYR39m.param_file = sys.argv[1] |
Definition at line 66 of file script_PYR39m.py.
script_PYR39m.param_path = param_file.split(filename)[0] |
Definition at line 69 of file script_PYR39m.py.
string script_PYR39m.pathResults = "/volumes/hra/micado/PYR39m_RoundPupil_RUN2/" |
Definition at line 22 of file script_PYR39m.py.
string script_PYR39m.PSFName = "PYR_" + lam + "_" + date + ".fits" |
Definition at line 348 of file script_PYR39m.py.
list script_PYR39m.PSFNameList = [] |
Definition at line 342 of file script_PYR39m.py.
script_PYR39m.PSFtarget = tar.get_image(t, "le") |
Definition at line 344 of file script_PYR39m.py.
script_PYR39m.res |
Definition at line 299 of file script_PYR39m.py.
script_PYR39m.resAll = db.readDataBase(fullpath=dBResult) |
Definition at line 264 of file script_PYR39m.py.
script_PYR39m.rMod = modulation |
Definition at line 290 of file script_PYR39m.py.
list script_PYR39m.RONS = [0.5] |
Definition at line 42 of file script_PYR39m.py.
script_PYR39m.rtc |
Definition at line 306 of file script_PYR39m.py.
string script_PYR39m.simul_name = "" |
Definition at line 85 of file script_PYR39m.py.
string script_PYR39m.simulName = "PYR_39m" |
Definition at line 21 of file script_PYR39m.py.
dictionary script_PYR39m.simunames |
Definition at line 246 of file script_PYR39m.py.
script_PYR39m.SR = [] |
Definition at line 235 of file script_PYR39m.py.
script_PYR39m.sr_le |
Definition at line 317 of file script_PYR39m.py.
script_PYR39m.sr_se |
Definition at line 317 of file script_PYR39m.py.
script_PYR39m.tar |
Definition at line 306 of file script_PYR39m.py.
script_PYR39m.tel |
Definition at line 306 of file script_PYR39m.py.
script_PYR39m.wfs |
Definition at line 306 of file script_PYR39m.py.