In [14]:
%%bash
cd ~/git/astroplan/
echo "Working on astroplan branch:"
git rev-parse --abbrev-ref HEAD
Working on astroplan branch:
vectorize
In [15]:
from astroplan import Observer, FixedTarget, get_site
from astropy.coordinates import SkyCoord
from astropy.time import Time
keck = Observer(location=get_site('Keck'))
target_names = ['Vega', 'Mira', 'Sirius']
targets = [FixedTarget.from_name(name) for name in target_names]
time = Time('2015-07-24 10:00:00')
In [4]:
run = %prun -r keck.calc_rise(time, targets)
In [6]:
run.print_stats()
88002782 function calls (84692038 primitive calls) in 135.912 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
607010 23.644 0.000 117.151 0.000 baseframe.py:644(get_frame_attr_names)
41744973 15.553 0.000 19.177 0.000 {isinstance}
625459 7.063 0.000 24.032 0.000 collections.py:38(__init__)
3596726/532090 4.450 0.000 113.900 0.000 {getattr}
625459 4.428 0.000 14.623 0.000 _abcoll.py:545(update)
566566 4.112 0.000 4.335 0.000 baseframe.py:264(convert_input)
1821030 3.926 0.000 3.926 0.000 {method 'items' of 'dictproxy' objects}
482934 3.734 0.000 3.734 0.000 {method 'reduce' of 'numpy.ufunc' objects}
1342987 3.719 0.000 3.719 0.000 collections.py:59(__setitem__)
389394/384836 3.470 0.000 9.759 0.000 quantity.py:188(__new__)
51482 3.118 0.000 119.698 0.002 sky_coordinate.py:36(FRAME_ATTR_NAMES_SET)
361082 3.052 0.000 40.090 0.000 baseframe.py:329(convert_input)
2831615/2756477 2.832 0.000 7.569 0.000 {hasattr}
890745/890649 2.771 0.000 2.880 0.000 {numpy.core.multiarray.array}
1288494 2.713 0.000 47.811 0.000 baseframe.py:209(__get__)
34570 2.349 0.000 3.931 0.000 baseframe.py:676(_get_representation_info)
828226 2.321 0.000 3.765 0.000 collections.py:105(keys)
1839745 2.205 0.000 2.205 0.000 _weakrefset.py:70(__contains__)
607148 2.186 0.000 3.623 0.000 abc.py:128(__instancecheck__)
607020 1.795 0.000 2.211 0.000 {method 'sort' of 'list' objects}
186555 1.731 0.000 2.348 0.000 core.py:522(_get_physical_type_id)
744120/738630 1.657 0.000 4.094 0.000 {method 'view' of 'numpy.ndarray' objects}
2894469 1.471 0.000 1.471 0.000 collections.py:78(__iter__)
51876 1.352 0.000 15.210 0.000 quantity.py:283(__array_prepare__)
51814 1.326 0.000 17.452 0.000 quantity.py:752(__eq__)
155442 1.211 0.000 1.918 0.000 generic.py:20(_to_string)
625459 1.182 0.000 2.185 0.000 abc.py:148(__subclasscheck__)
464636 1.127 0.000 7.876 0.000 fromnumeric.py:1852(all)
51814 1.115 0.000 2.072 0.000 quantity.py:53(_can_have_arbitrary_unit)
312934/261120 1.111 0.000 2.848 0.000 {method 'format' of 'unicode' objects}
560676 1.052 0.000 2.529 0.000 quantity.py:273(__array_finalize__)
1895184 0.876 0.000 0.876 0.000 baseframe.py:659(<genexpr>)
484754 0.720 0.000 2.101 0.000 numeric.py:464(asanyarray)
464636 0.676 0.000 4.726 0.000 {method 'all' of 'numpy.ndarray' objects}
2262847 0.674 0.000 0.674 0.000 {method 'append' of 'list' objects}
2613933 0.660 0.000 0.800 0.000 {method 'add' of 'set' objects}
103628 0.639 0.000 1.023 0.000 __init__.py:26(get_format)
309374 0.620 0.000 0.620 0.000 {numpy.core.multiarray.zeros}
47834 0.607 0.000 119.931 0.003 sky_coordinate.py:405(__getattr__)
51856 0.584 0.000 10.157 0.000 quantity_helper.py:257(get_converters_and_unit)
245390 0.569 0.000 0.857 0.000 quantity.py:631(value)
106350 0.568 0.000 2.254 0.000 core.py:1310(physical_type)
110068 0.566 0.000 2.387 0.000 quantity.py:540(_new_view)
58130 0.534 0.000 3.236 0.000 quantity.py:602(to)
576969 0.509 0.000 0.976 0.000 core.py:1744(__call__)
51856 0.496 0.000 9.482 0.000 quantity_helper.py:17(get_converter)
123682 0.481 0.000 3.206 0.000 core.py:908(_to)
464636 0.446 0.000 4.050 0.000 _methods.py:40(_all)
1288174 0.416 0.000 0.416 0.000 baseframe.py:658(<lambda>)
337678 0.412 0.000 0.412 0.000 {numpy.core.multiarray.can_cast}
1672299/1671959 0.409 0.000 0.411 0.000 {len}
103628 0.398 0.000 5.228 0.000 core.py:849(get_err_str)
253259/149778 0.353 0.000 0.562 0.000 core.py:1930(decompose)
51814 0.348 0.000 1.811 0.000 core.py:515(__repr__)
18238 0.314 0.000 3.145 0.000 baseframe.py:724(representation_component_names)
155442 0.309 0.000 0.309 0.000 generic.py:61(__init__)
13682/13676 0.269 0.000 2.326 0.000 angles.py:88(__new__)
51814 0.255 0.000 5.652 0.000 core.py:814(_apply_equivalencies)
106350 0.249 0.000 1.686 0.000 physical.py:48(get_physical_type)
256154/256152 0.248 0.000 0.317 0.000 core.py:2094(decompose)
2 0.239 0.119 0.239 0.119 {astropy._erfa._core._apci13}
103628 0.236 0.000 0.346 0.000 core.py:1530(get_format_name)
103628 0.228 0.000 2.457 0.000 core.py:584(to_string)
661857 0.220 0.000 0.220 0.000 {method 'items' of 'dict' objects}
51814 0.213 0.000 0.213 0.000 {method 'encode' of 'unicode' objects}
71808 0.212 0.000 0.763 0.000 core.py:941(to)
51830 0.211 0.000 10.368 0.000 quantity_helper.py:305(helper_twoarg_comparison)
704262 0.203 0.000 0.203 0.000 {method 'get' of 'dict' objects}
327229 0.196 0.000 0.196 0.000 quantity.py:640(unit)
51876 0.193 0.000 0.933 0.000 quantity.py:441(__array_wrap__)
76312 0.183 0.000 0.227 0.000 baseframe.py:43(_get_repr_cls)
51882 0.170 0.000 0.423 0.000 quantity.py:717(__getattr__)
285270 0.169 0.000 0.169 0.000 core.py:1557(name)
71808 0.167 0.000 0.296 0.000 core.py:866(_get_converter)
155442 0.166 0.000 2.084 0.000 generic.py:447(to_string)
103628 0.155 0.000 0.500 0.000 generic.py:425(_get_unit_name)
85612 0.150 0.000 0.150 0.000 core.py:214(equivalencies)
33789 0.145 0.000 1.420 0.000 core.py:752(is_equivalent)
71808 0.123 0.000 0.145 0.000 core.py:2289(_condition_arg)
11896 0.121 0.000 0.533 0.000 core.py:690(__rmul__)
912/12 0.116 0.000 134.404 11.200 sky_coordinate.py:1327(_parse_coordinate_arg)
33789 0.109 0.000 0.970 0.000 core.py:783(_is_equivalent)
309128 0.109 0.000 0.109 0.000 baseframe.py:176(convert_input)
71808 0.109 0.000 0.254 0.000 core.py:874(<lambda>)
51814 0.103 0.000 0.132 0.000 core.py:1994(__repr__)
6794/6772 0.098 0.000 1.632 0.000 baseframe.py:1064(__setattr__)
27277 0.095 0.000 0.122 0.000 misc.py:32(isiterable)
33789 0.095 0.000 0.217 0.000 core.py:604(_normalize_equivalencies)
256146 0.093 0.000 0.093 0.000 core.py:2026(powers)
32732 0.089 0.000 3.832 0.000 baseframe.py:716(representation_info)
5416 0.088 0.000 2.268 0.000 baseframe.py:770(represent_as)
244896 0.088 0.000 0.088 0.000 {method 'item' of 'numpy.ndarray' objects}
9 0.086 0.010 0.436 0.048 core.py:163(add_enabled_units)
51482 0.085 0.000 0.085 0.000 {method 'copy' of 'set' objects}
67464 0.083 0.000 0.570 0.000 baseframe.py:661(representation)
58132/58126 0.082 0.000 0.254 0.000 numeric.py:394(asarray)
204406 0.082 0.000 0.082 0.000 core.py:2019(bases)
103796 0.081 0.000 0.128 0.000 {any}
51482 0.080 0.000 0.166 0.000 transformations.py:57(frame_set)
51814 0.078 0.000 0.078 0.000 {method 'index' of 'list' objects}
7286/7284 0.075 0.000 4.279 0.001 baseframe.py:1041(__getattr__)
33807 0.070 0.000 0.070 0.000 core.py:67(_normalize_equivalencies)
103642 0.070 0.000 0.070 0.000 {method 'lower' of 'unicode' objects}
2722 0.067 0.000 2.514 0.001 representation.py:317(__init__)
4558 0.067 0.000 0.710 0.000 angles.py:658(_wrap_internal)
155626 0.066 0.000 0.066 0.000 quantity.py:321(<genexpr>)
4560 0.065 0.000 0.348 0.000 angles.py:551(_validate_angles)
38111/38003 0.064 0.000 0.135 0.000 core.py:1936(__hash__)
7330 0.063 0.000 0.480 0.000 angles.py:686(__array_finalize__)
1895 0.062 0.000 0.147 0.000 core.py:700(_replicate)
85643 0.061 0.000 0.061 0.000 core.py:275(get_current_unit_registry)
88486 0.058 0.000 0.058 0.000 sky_coordinate.py:211(frame)
33776 0.057 0.000 0.082 0.000 angles.py:158(_convert_unit_to_angle_unit)
912/12 0.055 0.000 134.670 11.222 sky_coordinate.py:184(__init__)
103712 0.052 0.000 0.052 0.000 quantity_helper.py:261(<genexpr>)
1844 0.050 0.000 3.143 0.002 baseframe.py:535(__init__)
4558 0.050 0.000 2.594 0.001 angles.py:642(__new__)
18298 0.045 0.000 0.289 0.000 fromnumeric.py:1772(any)
77398 0.045 0.000 0.045 0.000 {issubclass}
55720 0.045 0.000 0.079 0.000 {all}
898 0.044 0.000 63.564 0.071 sky_coordinate.py:555(is_equivalent_frame)
9926 0.042 0.000 0.109 0.000 representation.py:134(isscalar)
3644 0.041 0.000 0.117 0.000 stride_tricks.py:136(broadcast_arrays)
10492 0.041 0.000 0.041 0.000 {method 'startswith' of 'str' objects}
912/12 0.037 0.000 134.501 11.208 sky_coordinate.py:251(_parse_inputs)
13694 0.036 0.000 0.066 0.000 sky_coordinate.py:437(__setattr__)
3644 0.036 0.000 0.041 0.000 stride_tricks.py:118(_broadcast_shape)
51736 0.034 0.000 0.035 0.000 core.py:713(__eq__)
6678/4741 0.034 0.000 0.124 0.000 core.py:1064(__getattr__)
20659 0.032 0.000 0.140 0.000 {setattr}
1844 0.031 0.000 0.226 0.000 baseframe.py:475(__new__)
76984/76768 0.030 0.000 0.054 0.000 {hash}
11760 0.030 0.000 0.048 0.000 representation.py:101(components)
51764 0.029 0.000 0.029 0.000 quantity.py:522(__quantity_subclass__)
4560 0.028 0.000 1.104 0.000 angles.py:543(__new__)
27347 0.027 0.000 0.027 0.000 {iter}
4524 0.026 0.000 0.110 0.000 {method 'reshape' of 'numpy.ndarray' objects}
34465 0.025 0.000 0.032 0.000 core.py:1650(decompose)
18298 0.025 0.000 0.172 0.000 {method 'any' of 'numpy.ndarray' objects}
19149 0.025 0.000 0.026 0.000 {zip}
34417 0.024 0.000 0.024 0.000 core.py:570(bases)
38003 0.023 0.000 0.023 0.000 core.py:2004(__hash__)
41364 0.023 0.000 0.023 0.000 {method 'values' of 'dict' objects}
11888 0.023 0.000 0.023 0.000 {method 'astype' of 'numpy.ndarray' objects}
51718 0.022 0.000 0.022 0.000 baseframe.py:385(convert_input)
51814 0.022 0.000 0.022 0.000 {method 'join' of 'unicode' objects}
4558 0.021 0.000 1.371 0.000 angles.py:681(wrap_angle)
912 0.020 0.000 1.115 0.001 sky_coordinate.py:1206(_get_frame)
6418 0.020 0.000 0.288 0.000 angles.py:167(__quantity_subclass__)
18298 0.017 0.000 0.147 0.000 _methods.py:37(_any)
922 0.016 0.000 0.767 0.001 representation.py:430(__init__)
5400 0.015 0.000 0.081 0.000 baseframe.py:640(isscalar)
33970 0.013 0.000 0.013 0.000 {method 'extend' of 'list' objects}
1889 0.012 0.000 0.159 0.000 core.py:663(replicate)
13654 0.012 0.000 0.012 0.000 stride_tricks.py:192(<genexpr>)
1816 0.012 0.000 1.742 0.001 representation.py:491(represent_as)
10126 0.012 0.000 0.012 0.000 quantity.py:681(isscalar)
34465 0.011 0.000 0.011 0.000 core.py:577(powers)
3860 0.010 0.000 0.015 0.000 core.py:1753(__init__)
13598 0.009 0.000 0.009 0.000 baseframe.py:608(data)
912 0.009 0.000 0.217 0.000 sky_coordinate.py:1481(_get_representation_attrs)
2760 0.009 0.000 0.014 0.000 collections.py:109(values)
3697 0.009 0.000 0.013 0.000 collections.py:113(items)
3829 0.009 0.000 0.016 0.000 core.py:1802(_check_scale)
9 0.009 0.001 0.067 0.007 core.py:38(_flatten_units_collection)
914 0.009 0.000 0.012 0.000 sky_coordinate.py:1183(_get_frame_class)
12627 0.008 0.000 0.008 0.000 {method 'setdefault' of 'dict' objects}
937 0.007 0.000 0.098 0.000 core.py:793(__getitem__)
9110 0.007 0.000 0.007 0.000 angles.py:677(wrap_angle)
3873 0.006 0.000 0.023 0.000 core.py:1770(scale)
24127 0.006 0.000 0.006 0.000 {method 'pop' of 'dict' objects}
4510 0.006 0.000 0.054 0.000 representation.py:124(__nonzero__)
1818 0.005 0.000 0.018 0.000 shape_base.py:8(atleast_1d)
5 0.005 0.001 0.123 0.025 core.py:2112(__new__)
3898 0.005 0.000 0.005 0.000 {range}
762 0.004 0.000 0.005 0.000 core.py:708(__hash__)
8134 0.004 0.000 0.004 0.000 representation.py:343(lon)
9 0.004 0.000 0.004 0.000 core.py:268(__exit__)
7250 0.003 0.000 0.003 0.000 representation.py:449(lon)
3867 0.003 0.000 0.026 0.000 core.py:397(scale)
16 0.003 0.000 0.003 0.000 {numpy.core.multiarray.concatenate}
540/356 0.003 0.000 0.012 0.000 copy.py:145(deepcopy)
1895 0.002 0.000 0.003 0.000 core.py:459(precision)
3624 0.002 0.000 0.007 0.000 baseframe.py:825(<genexpr>)
5755 0.002 0.000 0.002 0.000 core.py:451(precision)
1895 0.002 0.000 0.003 0.000 core.py:474(in_subfmt)
918 0.002 0.000 0.003 0.000 inspect.py:59(isclass)
3628 0.002 0.000 0.002 0.000 representation.py:350(lat)
3860 0.002 0.000 0.002 0.000 core.py:1776(scale)
5755 0.002 0.000 0.002 0.000 core.py:466(in_subfmt)
2734 0.002 0.000 0.002 0.000 baseframe.py:620(has_data)
3758 0.002 0.000 0.002 0.000 {built-in method __new__ of type object at 0x100183920}
931 0.002 0.000 0.010 0.000 core.py:402(_set_scale)
1895 0.002 0.000 0.002 0.000 core.py:487(out_subfmt)
1854 0.002 0.000 0.002 0.000 {method 'lower' of 'str' objects}
9 0.002 0.000 0.438 0.049 core.py:113(__init__)
5755 0.002 0.000 0.002 0.000 core.py:480(out_subfmt)
540 0.002 0.000 0.002 0.000 copy.py:267(_keep_alive)
1828 0.002 0.000 0.004 0.000 baseframe.py:119(getter)
88 0.001 0.000 0.017 0.000 data_info.py:161(__set__)
912 0.001 0.000 0.001 0.000 sky_coordinate.py:1296(_get_units)
19 0.001 0.000 0.128 0.007 core.py:283(_get_time_fmt)
88 0.001 0.000 0.002 0.000 data_info.py:180(__init__)
2 0.001 0.001 0.001 0.001 {astropy._erfa._core._apio13}
2706 0.001 0.000 0.001 0.000 representation.py:357(distance)
1828 0.001 0.000 0.001 0.000 representation.py:456(lat)
967 0.001 0.000 0.001 0.000 core.py:497(shape)
58 0.001 0.000 0.001 0.000 core.py:2637(_check_scale)
42 0.001 0.000 0.003 0.000 stride_tricks.py:64(_broadcast_to)
965 0.001 0.000 0.002 0.000 core.py:533(isscalar)
912 0.001 0.000 0.001 0.000 {method 'update' of 'dict' objects}
92 0.001 0.000 0.002 0.000 collections.py:182(__reduce__)
352 0.001 0.000 0.001 0.000 data_info.py:189(__getattr__)
1893 0.001 0.000 0.001 0.000 core.py:350(format)
4 0.001 0.000 0.022 0.005 iers.py:224(_interpolate)
92 0.001 0.000 0.006 0.000 copy.py:306(_reconstruct)
6 0.001 0.000 0.018 0.003 core.py:471(_two_point_interp)
92 0.001 0.000 0.002 0.000 copy.py:234(_deepcopy_tuple)
176 0.001 0.000 0.001 0.000 data_info.py:211(__setattr__)
62 0.001 0.000 0.014 0.000 quantity.py:876(__getitem__)
14 0.001 0.000 0.001 0.000 core.py:7417(utctai)
9/1 0.001 0.000 135.912 135.912 decorators.py:80(wrapper)
914 0.001 0.000 0.001 0.000 core.py:2119(<genexpr>)
2 0.000 0.000 0.000 0.000 {astropy._erfa._core._atioq}
2 0.000 0.000 134.713 67.356 core.py:279(altaz)
9 0.000 0.000 0.002 0.000 _funcsigs.py:643(_bind)
10 0.000 0.000 0.057 0.006 baseframe.py:749(realize_frame)
44 0.000 0.000 0.000 0.000 core.py:2735(two_sum)
2 0.000 0.000 0.000 0.000 {astropy._erfa._core._atciq}
2 0.000 0.000 0.051 0.025 cirs_observed_transforms.py:23(cirs_to_altaz)
2 0.000 0.000 0.004 0.002 core.py:390(_horiz_cross)
92 0.000 0.000 0.003 0.000 {method '__reduce_ex__' of 'object' objects}
138 0.000 0.000 0.001 0.000 quantity.py:900(__len__)
194 0.000 0.000 0.000 0.000 table.py:87(__getitem__)
10 0.000 0.000 0.000 0.000 {numpy.core.multiarray.empty_like}
8 0.000 0.000 0.001 0.000 quantity.py:766(__ne__)
2 0.000 0.000 0.000 0.000 {astropy._erfa._core._taiutc}
1712 0.000 0.000 0.000 0.000 {id}
2 0.000 0.000 134.692 67.346 core.py:78(transform_target_list_to_altaz)
88 0.000 0.000 0.001 0.000 data_info.py:155(__get__)
12 0.000 0.000 0.002 0.000 quantity.py:805(__truediv__)
1 0.000 0.000 135.855 135.855 core.py:672(calc_rise)
14 0.000 0.000 0.002 0.000 core.py:1780(_check_val_type)
2 0.000 0.000 135.846 67.923 core.py:530(_calc_riseset)
2 0.000 0.000 0.246 0.123 icrs_cirs_transforms.py:25(icrs_to_cirs)
950 0.000 0.000 0.000 0.000 core.py:563(scale)
22 0.000 0.000 0.001 0.000 core.py:2693(day_frac)
704 0.000 0.000 0.000 0.000 data_info.py:181(<genexpr>)
30 0.000 0.000 0.266 0.009 altaz.py:92(__init__)
18 0.000 0.000 0.001 0.000 _funcsigs.py:580(parameters)
2 0.000 0.000 0.001 0.000 core.py:22175(atciq)
2 0.000 0.000 0.437 0.219 sky_coordinate.py:323(transform_to)
19 0.000 0.000 0.129 0.007 core.py:253(_init_from_vals)
2 0.000 0.000 0.001 0.001 core.py:5047(apio13)
10 0.000 0.000 0.001 0.000 core.py:2033(_expand_and_gather)
416 0.000 0.000 0.000 0.000 core.py:934(<genexpr>)
42 0.000 0.000 0.002 0.000 stride_tricks.py:32(_maybe_view_as_subclass)
4 0.000 0.000 0.000 0.000 {method 'searchsorted' of 'numpy.ndarray' objects}
7 0.000 0.000 0.002 0.000 core.py:1377(_time_difference)
8 0.000 0.000 0.678 0.085 sky_coordinate.py:232(__getitem__)
6 0.000 0.000 0.002 0.000 quantity.py:778(__mul__)
78 0.000 0.000 0.000 0.000 {numpy.core.multiarray.empty}
14 0.000 0.000 0.000 0.000 {astropy._erfa._core._utctai}
184 0.000 0.000 0.000 0.000 {vars}
4 0.000 0.000 0.000 0.000 iers.py:139(mjd_utc)
2 0.000 0.000 0.000 0.000 core.py:12084(gc2gd)
6 0.000 0.000 0.004 0.001 core.py:1283(__sub__)
6 0.000 0.000 0.002 0.000 table.py:1028(__len__)
27 0.000 0.000 0.001 0.000 core.py:2673(_make_array)
18 0.000 0.000 0.000 0.000 {method 'round' of 'numpy.generic' objects}
2 0.000 0.000 0.309 0.155 transformations.py:902(__call__)
2 0.000 0.000 0.001 0.000 core.py:9037(atioq)
2 0.000 0.000 0.239 0.119 core.py:22829(apci13)
16 0.000 0.000 0.000 0.000 core.py:2034(add_unit)
2 0.000 0.000 0.002 0.001 earth.py:191(to_geodetic)
78 0.000 0.000 0.000 0.000 core.py:537(_shaped_like_input)
92 0.000 0.000 0.000 0.000 copy.py:226(_deepcopy_list)
16 0.000 0.000 0.001 0.000 angles.py:576(__array_wrap__)
174 0.000 0.000 0.001 0.000 table.py:1032(<genexpr>)
30 0.000 0.000 0.004 0.000 baseframe.py:1202(__setattr__)
2 0.000 0.000 0.015 0.008 utils.py:45(get_polar_motion)
42 0.000 0.000 0.000 0.000 baseframe.py:1196(__getattr__)
26 0.000 0.000 0.000 0.000 core.py:1277(__len__)
8 0.000 0.000 0.006 0.001 representation.py:113(__getitem__)
2 0.000 0.000 0.000 0.000 core.py:21495(taiutc)
12 0.000 0.000 0.001 0.000 core.py:634(__div__)
28 0.000 0.000 0.000 0.000 earth.py:282(__array_finalize__)
4 0.000 0.000 0.000 0.000 column.py:259(__eq__)
30 0.000 0.000 0.000 0.000 core.py:2213(_check_val_type)
252 0.000 0.000 0.000 0.000 core.py:2012(scale)
22 0.000 0.000 0.000 0.000 quantity.py:728(get_virtual_unit_attribute)
22 0.000 0.000 0.005 0.000 baseframe.py:672(representation)
9 0.000 0.000 0.438 0.049 core.py:259(__init__)
19 0.000 0.000 0.000 0.000 core.py:200(__new__)
8 0.000 0.000 0.049 0.006 baseframe.py:1021(__getitem__)
18 0.000 0.000 0.001 0.000 core.py:237(add_enabled_equivalencies)
6 0.000 0.000 0.001 0.000 table.py:127(values)
2 0.000 0.000 0.001 0.000 iers.py:367(pm_source)
9 0.000 0.000 0.438 0.049 core.py:416(add_enabled_equivalencies)
14 0.000 0.000 0.000 0.000 utils.py:135(sanitize_scale)
2 0.000 0.000 0.004 0.002 core.py:1330(__add__)
18 0.000 0.000 0.000 0.000 core.py:2113(is_unity)
12 0.000 0.000 0.000 0.000 {numpy.core.multiarray.where}
38 0.000 0.000 0.000 0.000 core.py:540(jd1)
26 0.000 0.000 0.000 0.000 table.py:840(__getitem__)
12 0.000 0.000 0.001 0.000 quantity_helper.py:201(<lambda>)
2 0.000 0.000 0.000 0.000 function_base.py:9(linspace)
264 0.000 0.000 0.000 0.000 copy.py:198(_deepcopy_atomic)
2 0.000 0.000 0.096 0.048 shape_base.py:792(tile)
6 0.000 0.000 0.319 0.053 decorators.py:518(_two_point_interp)
18 0.000 0.000 0.000 0.000 {method 'item' of 'numpy.generic' objects}
203 0.000 0.000 0.000 0.000 _funcsigs.py:261(name)
11 0.000 0.000 0.126 0.011 core.py:214(__init__)
16 0.000 0.000 0.000 0.000 {sorted}
42 0.000 0.000 0.000 0.000 function_base.py:47(iterable)
10 0.000 0.000 0.001 0.000 core.py:1971(__init__)
4 0.000 0.000 0.297 0.074 transformations.py:707(__call__)
2 0.000 0.000 0.010 0.005 core.py:1181(_get_delta_ut1_utc)
20 0.000 0.000 0.000 0.000 transformations.py:332(lookup_name)
16 0.000 0.000 0.000 0.000 representation.py:117(__len__)
6 0.000 0.000 0.001 0.000 core.py:1602(__abs__)
4 0.000 0.000 0.000 0.000 {method 'repeat' of 'numpy.ndarray' objects}
92 0.000 0.000 0.000 0.000 {method 'copy' of 'dict' objects}
10 0.000 0.000 0.000 0.000 {numpy.core.multiarray.copyto}
8 0.000 0.000 0.001 0.000 core.py:2648(set_jds)
5 0.000 0.000 0.000 0.000 core.py:2156(_check_val_type)
2 0.000 0.000 0.004 0.002 core.py:38(_generate_24hr_grid)
4 0.000 0.000 0.001 0.000 core.py:1415(__ne__)
8 0.000 0.000 0.000 0.000 numeric.py:81(zeros_like)
8 0.000 0.000 0.002 0.000 core.py:1480(__init__)
135 0.000 0.000 0.000 0.000 _funcsigs.py:273(kind)
6 0.000 0.000 0.000 0.000 {method 'round' of 'numpy.ndarray' objects}
18 0.000 0.000 0.000 0.000 core.py:554(value)
4 0.000 0.000 0.000 0.000 {method 'clip' of 'numpy.ndarray' objects}
84 0.000 0.000 0.000 0.000 stride_tricks.py:69(<genexpr>)
24 0.000 0.000 0.000 0.000 fromnumeric.py:2633(round_)
32 0.000 0.000 0.000 0.000 utils.py:125(is_effectively_unity)
26 0.000 0.000 0.000 0.000 quantity_helper.py:289(helper_twoarg_invariant)
6 0.000 0.000 0.000 0.000 quantity_helper.py:198(<lambda>)
18 0.000 0.000 0.000 0.000 core.py:1857(value)
12 0.000 0.000 0.000 0.000 {method 'copy' of 'numpy.generic' objects}
9 0.000 0.000 0.002 0.000 _funcsigs.py:771(bind)
2 0.000 0.000 0.000 0.000 {method 'nonzero' of 'numpy.ndarray' objects}
2 0.000 0.000 0.004 0.002 baseframe.py:1186(__init__)
6 0.000 0.000 0.000 0.000 core.py:1853(set_jds)
2 0.000 0.000 0.000 0.000 type_check.py:172(iscomplex)
21 0.000 0.000 0.000 0.000 {method 'pop' of 'list' objects}
8 0.000 0.000 0.000 0.000 utils.py:153(validate_power)
4 0.000 0.000 0.000 0.000 representation.py:106(get_name)
2 0.000 0.000 0.013 0.007 iers.py:193(pm_xy)
2 0.000 0.000 0.001 0.000 column.py:251(__getitem__)
18 0.000 0.000 0.001 0.000 core.py:732(__ne__)
22 0.000 0.000 0.000 0.000 core.py:547(jd2)
10 0.000 0.000 0.000 0.000 six.py:555(iteritems)
2 0.000 0.000 0.009 0.004 iers.py:164(ut1_utc)
2 0.000 0.000 0.001 0.001 core.py:1216(_set_delta_ut1_utc)
9 0.000 0.000 0.000 0.000 core.py:123(_reset_units)
6 0.000 0.000 0.000 0.000 core.py:672(__mul__)
2 0.000 0.000 0.000 0.000 column.py:615(_copy_attrs)
6 0.000 0.000 0.001 0.000 core.py:638(copy)
2 0.000 0.000 0.000 0.000 transformations.py:281(get_transform)
2 0.000 0.000 0.012 0.006 fromnumeric.py:350(repeat)
2 0.000 0.000 0.001 0.000 column.py:265(__array_finalize__)
76 0.000 0.000 0.000 0.000 {next}
2 0.000 0.000 0.091 0.046 decorators.py:518(_horiz_cross)
3 0.000 0.000 0.000 0.000 core.py:1501(replicate)
4 0.000 0.000 0.000 0.000 {numpy.core.multiarray.result_type}
4 0.000 0.000 0.000 0.000 {method 'endswith' of 'str' objects}
20 0.000 0.000 0.000 0.000 transformations.py:46(_cached_names)
2 0.000 0.000 0.000 0.000 {numpy.core.multiarray.arange}
2 0.000 0.000 0.012 0.006 fromnumeric.py:40(_wrapit)
2 0.000 0.000 0.000 0.000 earth.py:293(to)
6 0.000 0.000 0.002 0.000 quantity.py:798(__rmul__)
3 0.000 0.000 0.002 0.001 core.py:1397(__lt__)
2 0.000 0.000 0.002 0.001 representation.py:364(represent_as)
2 0.000 0.000 0.010 0.005 utils.py:73(get_dut1utc)
2 0.000 0.000 0.001 0.000 quantity.py:1208(_wrap_function)
2 0.000 0.000 0.000 0.000 numeric.py:187(ones_like)
1 0.000 0.000 135.912 135.912 decorators.py:518(calc_rise)
8 0.000 0.000 0.000 0.000 utils.py:218(resolve_fractions)
6 0.000 0.000 0.001 0.000 {abs}
2 0.000 0.000 0.000 0.000 transformations.py:163(find_shortest_path)
10 0.000 0.000 0.000 0.000 core.py:2158(<genexpr>)
6 0.000 0.000 0.000 0.000 baseframe.py:627(__len__)
9 0.000 0.000 0.000 0.000 _funcsigs.py:359(__init__)
2 0.000 0.000 0.001 0.000 core.py:1099(_match_shape)
6 0.000 0.000 0.000 0.000 sky_coordinate.py:215(representation)
36 0.000 0.000 0.000 0.000 quantity_helper.py:10(_d)
2 0.000 0.000 0.000 0.000 column.py:314(name)
4 0.000 0.000 0.000 0.000 {method 'resize' of 'numpy.ndarray' objects}
9 0.000 0.000 0.000 0.000 inspect.py:51(ismodule)
22 0.000 0.000 0.000 0.000 core.py:132(registry)
1 0.000 0.000 135.912 135.912 <string>:1(<module>)
2 0.000 0.000 0.001 0.000 quantity.py:1280(round)
6 0.000 0.000 0.000 0.000 sky_coordinate.py:223(__len__)
12 0.000 0.000 0.000 0.000 baseframe.py:924(is_frame_attr_default)
30 0.000 0.000 0.000 0.000 _funcsigs.py:269(annotation)
2 0.000 0.000 0.000 0.000 metadata.py:127(__set__)
2 0.000 0.000 0.000 0.000 {map}
2 0.000 0.000 0.000 0.000 {astropy._erfa._core._gc2gd}
5 0.000 0.000 0.000 0.000 core.py:115(_target_is_vector)
4 0.000 0.000 0.000 0.000 fromnumeric.py:1574(clip)
4 0.000 0.000 0.000 0.000 column.py:148(data)
4 0.000 0.000 0.000 0.000 fromnumeric.py:963(searchsorted)
2 0.000 0.000 0.000 0.000 fromnumeric.py:1380(nonzero)
10 0.000 0.000 0.000 0.000 {method 'iteritems' of 'dict' objects}
6 0.000 0.000 0.000 0.000 core.py:1933(is_unity)
4 0.000 0.000 0.000 0.000 sky_coordinate.py:1396(<genexpr>)
4 0.000 0.000 0.000 0.000 core.py:2081(<lambda>)
2 0.000 0.000 0.000 0.000 np_utils.py:573(fix_column_name)
4 0.000 0.000 0.000 0.000 iers.py:97(open)
9 0.000 0.000 0.000 0.000 core.py:136(all_units)
9 0.000 0.000 0.000 0.000 core.py:265(__enter__)
2 0.000 0.000 0.000 0.000 core.py:123(check_trailing_shape)
4 0.000 0.000 0.000 0.000 {numpy.core.multiarray.count_nonzero}
3 0.000 0.000 0.000 0.000 core.py:1506(_set_scale)
4 0.000 0.000 0.000 0.000 {max}
2 0.000 0.000 0.000 0.000 column.py:159(parent_table)
8 0.000 0.000 0.000 0.000 quantity.py:218(<genexpr>)
6 0.000 0.000 0.000 0.000 core.py:322(<lambda>)
9 0.000 0.000 0.000 0.000 core.py:129(_reset_equivalencies)
2 0.000 0.000 0.000 0.000 earth.py:24(_check_ellipsoid)
2 0.000 0.000 0.000 0.000 metadata.py:122(__get__)
2 0.000 0.000 0.000 0.000 fromnumeric.py:1462(shape)
6 0.000 0.000 0.000 0.000 {method 'pop' of 'set' objects}
2 0.000 0.000 0.000 0.000 column.py:496(unit)
2 0.000 0.000 0.000 0.000 column.py:307(name)
2 0.000 0.000 0.000 0.000 earth.py:177(ellipsoid)
2 0.000 0.000 0.000 0.000 angles.py:140(_tuple_to_float)
6 0.000 0.000 0.000 0.000 quantity.py:387(<genexpr>)
2 0.000 0.000 0.000 0.000 baseframe.py:1193(get_frame_attr_names)
2 0.000 0.000 0.000 0.000 representation.py:81(represent_as)
2 0.000 0.000 0.000 0.000 column.py:485(unit)
2 0.000 0.000 0.000 0.000 quantity_helper.py:52(<lambda>)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
2 0.000 0.000 0.000 0.000 column.py:152(parent_table)
2 0.000 0.000 0.000 0.000 {callable}
Out[6]:
<pstats.Stats instance at 0x105d08368>
In [ ]:
Content source: bmorris3/gsoc2015
Similar notebooks: