| 1 | package Astro::Nova; | ||
| 2 | |||
| 3 | 3 | ▶ | use 5.008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | # note: internal modules loaded after XS below. | ||
| 8 | |||
| 9 | 3 | our $VERSION = '0.07'; | |
| 10 | |||
| 11 | 3 | require Exporter; | |
| 12 | |||
| 13 | 3 | our @ISA = qw(Exporter); | |
| 14 | |||
| 15 | 3 | our %EXPORT_TAGS = ( 'all' => [ qw( | |
| 16 | get_equ_aber | ||
| 17 | get_ecl_aber | ||
| 18 | get_airmass | ||
| 19 | get_alt_from_airmass | ||
| 20 | get_angular_separation | ||
| 21 | get_rel_posn_angle | ||
| 22 | get_apparent_posn | ||
| 23 | get_asteroid_mag | ||
| 24 | get_asteroid_sdiam_km | ||
| 25 | get_asteroid_sdiam_arc | ||
| 26 | get_ell_comet_mag | ||
| 27 | get_par_comet_mag | ||
| 28 | get_dynamical_time_diff | ||
| 29 | get_jde | ||
| 30 | get_mean_sidereal_time | ||
| 31 | get_apparent_sidereal_time | ||
| 32 | get_earth_helio_coords | ||
| 33 | get_earth_solar_dist | ||
| 34 | get_earth_rect_helio | ||
| 35 | get_earth_centre_dist | ||
| 36 | solve_kepler | ||
| 37 | get_ell_mean_anomaly | ||
| 38 | get_ell_true_anomaly | ||
| 39 | get_ell_radius_vector | ||
| 40 | get_ell_smajor_diam | ||
| 41 | get_ell_sminor_diam | ||
| 42 | get_ell_mean_motion | ||
| 43 | get_ell_geo_rect_posn | ||
| 44 | get_ell_helio_rect_posn | ||
| 45 | get_ell_orbit_len | ||
| 46 | get_ell_orbit_vel | ||
| 47 | get_ell_orbit_pvel | ||
| 48 | get_ell_orbit_avel | ||
| 49 | get_ell_body_phase_angle | ||
| 50 | get_ell_body_elong | ||
| 51 | get_ell_body_solar_dist | ||
| 52 | get_ell_body_earth_dist | ||
| 53 | get_ell_body_equ_coords | ||
| 54 | get_ell_body_rst | ||
| 55 | get_ell_body_rst_horizon | ||
| 56 | get_ell_body_next_rst | ||
| 57 | get_ell_body_next_rst_horizon | ||
| 58 | get_ell_body_next_rst_horizon_future | ||
| 59 | get_ell_last_perihelion | ||
| 60 | get_heliocentric_time_diff | ||
| 61 | solve_hyp_barker | ||
| 62 | get_hyp_true_anomaly | ||
| 63 | get_hyp_radius_vector | ||
| 64 | get_hyp_geo_rect_posn | ||
| 65 | get_hyp_helio_rect_posn | ||
| 66 | get_hyp_body_equ_coords | ||
| 67 | get_hyp_body_earth_dist | ||
| 68 | get_hyp_body_solar_dist | ||
| 69 | get_hyp_body_phase_angle | ||
| 70 | get_hyp_body_elong | ||
| 71 | get_hyp_body_rst | ||
| 72 | get_hyp_body_rst_horizon | ||
| 73 | get_hyp_body_next_rst | ||
| 74 | get_hyp_body_next_rst_horizon | ||
| 75 | get_hyp_body_next_rst_horizon_future | ||
| 76 | get_julian_day | ||
| 77 | get_date | ||
| 78 | get_date_from_timet | ||
| 79 | get_local_date | ||
| 80 | get_day_of_week | ||
| 81 | get_julian_from_sys | ||
| 82 | get_date_from_sys | ||
| 83 | get_julian_from_timet | ||
| 84 | get_timet_from_julian | ||
| 85 | get_julian_local_date | ||
| 86 | date_to_zonedate | ||
| 87 | zonedate_to_date | ||
| 88 | get_jupiter_equ_sdiam | ||
| 89 | get_jupiter_pol_sdiam | ||
| 90 | get_jupiter_rst | ||
| 91 | get_jupiter_helio_coords | ||
| 92 | get_jupiter_equ_coords | ||
| 93 | get_jupiter_earth_dist | ||
| 94 | get_jupiter_solar_dist | ||
| 95 | get_jupiter_magnitude | ||
| 96 | get_jupiter_disk | ||
| 97 | get_jupiter_phase | ||
| 98 | get_jupiter_rect_helio | ||
| 99 | get_saturn_equ_sdiam | ||
| 100 | get_saturn_pol_sdiam | ||
| 101 | get_saturn_rst | ||
| 102 | get_saturn_helio_coords | ||
| 103 | get_saturn_equ_coords | ||
| 104 | get_saturn_earth_dist | ||
| 105 | get_saturn_solar_dist | ||
| 106 | get_saturn_magnitude | ||
| 107 | get_saturn_disk | ||
| 108 | get_saturn_phase | ||
| 109 | get_saturn_rect_helio | ||
| 110 | get_lunar_sdiam | ||
| 111 | get_lunar_rst | ||
| 112 | get_lunar_geo_posn | ||
| 113 | get_lunar_equ_coords_prec | ||
| 114 | get_lunar_equ_coords | ||
| 115 | get_lunar_ecl_coords | ||
| 116 | get_lunar_phase | ||
| 117 | get_lunar_disk | ||
| 118 | get_lunar_earth_dist | ||
| 119 | get_lunar_bright_limb | ||
| 120 | get_lunar_long_asc_node | ||
| 121 | get_lunar_long_perigee | ||
| 122 | |||
| 123 | get_mars_sdiam | ||
| 124 | get_mars_rst | ||
| 125 | get_mars_helio_coords | ||
| 126 | get_mars_equ_coords | ||
| 127 | get_mars_earth_dist | ||
| 128 | get_mars_solar_dist | ||
| 129 | get_mars_magnitude | ||
| 130 | get_mars_disk | ||
| 131 | get_mars_phase | ||
| 132 | get_mars_rect_helio | ||
| 133 | |||
| 134 | get_mercury_sdiam | ||
| 135 | get_mercury_rst | ||
| 136 | get_mercury_helio_coords | ||
| 137 | get_mercury_equ_coords | ||
| 138 | get_mercury_earth_dist | ||
| 139 | get_mercury_solar_dist | ||
| 140 | get_mercury_magnitude | ||
| 141 | get_mercury_disk | ||
| 142 | get_mercury_phase | ||
| 143 | get_mercury_rect_helio | ||
| 144 | get_neptune_sdiam | ||
| 145 | get_neptune_rst | ||
| 146 | get_neptune_helio_coords | ||
| 147 | get_neptune_equ_coords | ||
| 148 | get_neptune_earth_dist | ||
| 149 | get_neptune_solar_dist | ||
| 150 | get_neptune_magnitude | ||
| 151 | get_neptune_disk | ||
| 152 | get_neptune_phase | ||
| 153 | get_neptune_rect_helio | ||
| 154 | |||
| 155 | get_uranus_sdiam | ||
| 156 | get_uranus_rst | ||
| 157 | get_uranus_helio_coords | ||
| 158 | get_uranus_equ_coords | ||
| 159 | get_uranus_earth_dist | ||
| 160 | get_uranus_solar_dist | ||
| 161 | get_uranus_magnitude | ||
| 162 | get_uranus_disk | ||
| 163 | get_uranus_phase | ||
| 164 | get_uranus_rect_helio | ||
| 165 | get_venus_sdiam | ||
| 166 | get_venus_rst | ||
| 167 | get_venus_helio_coords | ||
| 168 | get_venus_equ_coords | ||
| 169 | get_venus_earth_dist | ||
| 170 | get_venus_solar_dist | ||
| 171 | get_venus_magnitude | ||
| 172 | get_venus_disk | ||
| 173 | get_venus_phase | ||
| 174 | get_venus_rect_helio | ||
| 175 | |||
| 176 | get_nutation | ||
| 177 | |||
| 178 | solve_barker | ||
| 179 | get_par_true_anomaly | ||
| 180 | get_par_radius_vector | ||
| 181 | get_par_geo_rect_posn | ||
| 182 | get_par_helio_rect_posn | ||
| 183 | get_par_body_equ_coords | ||
| 184 | get_par_body_earth_dist | ||
| 185 | get_par_body_solar_dist | ||
| 186 | get_par_body_phase_angle | ||
| 187 | get_par_body_elong | ||
| 188 | get_par_body_rst | ||
| 189 | get_par_body_rst_horizon | ||
| 190 | get_par_body_next_rst | ||
| 191 | get_par_body_next_rst_horizon | ||
| 192 | get_par_body_next_rst_horizon_future | ||
| 193 | get_parallax | ||
| 194 | get_parallax_ha | ||
| 195 | get_equ_prec | ||
| 196 | get_equ_prec2 | ||
| 197 | get_ecl_prec | ||
| 198 | get_equ_pm | ||
| 199 | get_equ_pm | ||
| 200 | get_refraction_adj | ||
| 201 | get_object_rst | ||
| 202 | get_object_rst_horizon | ||
| 203 | get_object_next_rst | ||
| 204 | get_object_next_rst_horizon | ||
| 205 | get_solar_rst | ||
| 206 | get_solar_rst_horizon | ||
| 207 | get_solar_geom_coords | ||
| 208 | get_solar_equ_coords | ||
| 209 | get_solar_ecl_coords | ||
| 210 | get_solar_geo_coords | ||
| 211 | get_solar_sdiam | ||
| 212 | get_hrz_from_equ | ||
| 213 | get_hrz_from_equ_sidereal_time | ||
| 214 | get_equ_from_ecl | ||
| 215 | get_ecl_from_equ | ||
| 216 | get_equ_from_hrz | ||
| 217 | get_rect_from_helio | ||
| 218 | get_ecl_from_rect | ||
| 219 | get_equ_from_gal | ||
| 220 | get_equ2000_from_gal | ||
| 221 | get_gal_from_equ | ||
| 222 | get_gal_from_equ2000 | ||
| 223 | get_version | ||
| 224 | get_dec_location | ||
| 225 | get_humanr_location | ||
| 226 | get_rect_distance | ||
| 227 | rad_to_deg | ||
| 228 | deg_to_rad | ||
| 229 | hms_to_deg | ||
| 230 | deg_to_hms | ||
| 231 | hms_to_rad | ||
| 232 | rad_to_hms | ||
| 233 | dms_to_deg | ||
| 234 | deg_to_dms | ||
| 235 | dms_to_rad | ||
| 236 | rad_to_dms | ||
| 237 | hequ_to_equ | ||
| 238 | equ_to_hequ | ||
| 239 | hhrz_to_hrz | ||
| 240 | hrz_to_hhrz | ||
| 241 | hlnlat_to_lnlat | ||
| 242 | lnlat_to_hlnlat | ||
| 243 | add_secs_hms | ||
| 244 | add_hms | ||
| 245 | get_light_time | ||
| 246 | ) ] ); | ||
| 247 | |||
| 248 | 3 | our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | |
| 249 | |||
| 250 | 3 | our @EXPORT = qw(); | |
| 251 | |||
| 252 | 3 | require XSLoader; | |
| 253 | 3 | XSLoader::load('Astro::Nova', $VERSION); | |
| 254 | |||
| 255 | 3 | require Astro::Nova::ZoneDate; | |
| 256 | 3 | require Astro::Nova::DMS; | |
| 257 | 3 | require Astro::Nova::HMS; | |
| 258 | 3 | require Astro::Nova::LnLatPosn; | |
| 259 | 3 | require Astro::Nova::GalPosn; | |
| 260 | 3 | require Astro::Nova::EquPosn; | |
| 261 | |||
| 262 | 3 | 1; | |
| 263 | __END__ | ||