Révision 222 TrouNoir/TrouNoir.py

TrouNoir.py (revision 222)
1050 1050

  
1051 1051
def ImageOutput(sigma,prefix,Colors):
1052 1052
    import matplotlib.pyplot as plt
1053
    start_time=time.time() 
1053 1054
    if Colors == 'Red2Yellow':
1054 1055
        plt.imsave("%s.png" % prefix, sigma, cmap='afmhot')
1055 1056
    else:
1056 1057
        plt.imsave("%s.png" % prefix, sigma, cmap='Greys_r')
1058
    save_time = time.time()-start_time
1059
    print("Save Time : %f" % save_time)
1057 1060

  
1058 1061
def BlackHoleCL(zImage,fImage,InputCL):
1059 1062

  

Formats disponibles : Unified diff