Changeset b3703f5 in sasmodels for sasmodels/guyou.py


Ignore:
Timestamp:
Mar 26, 2018 5:50:35 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
c11d09f, c462169
Parents:
802c412
Message:

lint reduction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/guyou.py

    rd86f0fc rb3703f5  
    195195        plt.plot(x, y, 'g') 
    196196 
    197     for long in range(-limit, limit+1, step): 
    198         x, y = guyou(scale*long, scale*long_line) 
     197    for longitude in range(-limit, limit+1, step): 
     198        x, y = guyou(scale*longitude, scale*long_line) 
    199199        plt.plot(x, y, 'b') 
    200200    #plt.xlabel('longitude') 
    201201    plt.ylabel('latitude') 
     202    plt.title('forward transform') 
    202203 
    203204    plt.subplot(212) 
     
    211212    plt.xlabel('longitude') 
    212213    plt.ylabel('latitude') 
     214    plt.title('inverse transform') 
    213215 
    214216def main(): 
     217    """Show the Guyou transformation""" 
    215218    plot_grid() 
    216219    import matplotlib.pyplot as plt 
Note: See TracChangeset for help on using the changeset viewer.