In [1]:
from fluids import *

ATMOSPHERE_1976


In [3]:
%timeit ATMOSPHERE_1976(5000)
%timeit ATMOSPHERE_1976(500000)
%timeit ATMOSPHERE_1976(0, 4)


The slowest run took 10.39 times longer than the fastest. This could mean that an intermediate result is being cached.
100000 loops, best of 3: 5.87 µs per loop
100000 loops, best of 3: 5.87 µs per loop
100000 loops, best of 3: 4.73 µs per loop

In [6]:
%timeit ATMOSPHERE_1976.density(300, 1E5)


The slowest run took 32.26 times longer than the fastest. This could mean that an intermediate result is being cached.
1000000 loops, best of 3: 185 ns per loop

In [7]:
%timeit ATMOSPHERE_1976.gravity(5000)


The slowest run took 32.80 times longer than the fastest. This could mean that an intermediate result is being cached.
1000000 loops, best of 3: 334 ns per loop

In [8]:
%timeit ATMOSPHERE_1976.sonic_velocity(300)


The slowest run took 37.69 times longer than the fastest. This could mean that an intermediate result is being cached.
1000000 loops, best of 3: 266 ns per loop

In [9]:
%timeit ATMOSPHERE_1976.thermal_conductivity(300)


The slowest run took 23.51 times longer than the fastest. This could mean that an intermediate result is being cached.
1000000 loops, best of 3: 588 ns per loop

In [10]:
%timeit ATMOSPHERE_1976.viscosity(300)


The slowest run took 34.50 times longer than the fastest. This could mean that an intermediate result is being cached.
1000000 loops, best of 3: 408 ns per loop

ATMOSPHERE_NRLMSISE00


In [11]:
%timeit ATMOSPHERE_NRLMSISE00(1E3, 45, 45, 150)


1000 loops, best of 3: 1.25 ms per loop

hwm93


In [15]:
%timeit hwm93(5E5, 45, 50, 365)


The slowest run took 9.16 times longer than the fastest. This could mean that an intermediate result is being cached.
100000 loops, best of 3: 6.32 µs per loop

hwm14


In [14]:
%timeit hwm14(5E5, 45, 50, 365)


The slowest run took 6.08 times longer than the fastest. This could mean that an intermediate result is being cached.
100000 loops, best of 3: 10.7 µs per loop