xi.py
def plot_xi(xi):
    """
    plot a heap map for a complex matrix xi
    Take the abs of each element and plot
    
    sp: scipy or numpy
    """
    heatmap = plt.imshow(abs(sp.array(xi)), cmap = 'seismic')
    plt.axis([0, xi.shape[1], 0, xi.shape[0]])
    plt.axes().set_aspect('equal')
    plt.savefig('xi.png', format = 'png')
    plt.close()

    plot a heap map for a complex matrix xi
    Take the abs of each element and plot
    
    sp: scipy or numpy
    
plot a heap map for a complex matrix xi
Take the abs of each element and plot

scipy or numpy
plot a heap map for a complex matrix xi Take the abs of each element and plot scipy or numpy
def plot_xi(xi):
    heatmap = plt.imshow(abs(sp.array(xi)), cmap = 'seismic')
    plt.axis([0, xi.shape[1], 0, xi.shape[0]])
    plt.axes().set_aspect('equal')
    plt.savefig('xi.png', format = 'png')
    plt.close()
def plot_xi ( xi ) : heatmap = plt . imshow ( abs ( sp . array ( xi ) ) , cmap = 'seismic' ) plt . axis ( [ 0 , xi . shape [ 1 ] , 0 , xi . shape [ 0 ] ] ) plt . axes ( ) . set_aspect ( 'equal' ) plt . savefig ( 'xi.png' , format = 'png' ) plt . close ( )
plot a heap map for a complex matrix xi
Take the abs of each element and plot
plot a heap map for a complex matrix xi Take the abs of each element and plot
"""
    plot a heap map for a complex matrix xi
    Take the abs of each element and plot
    
    sp: scipy or numpy
    """
xi