Question: Python 3 jupyter notebook 7.2 Calculate the actual inclination at every latitude in your birth year: Use the function magMap() to evaluate the magnetic field
Python 3 jupyter notebook

7.2 Calculate the actual inclination at every latitude in your birth year: Use the function magMap() to evaluate the magnetic field for the year you were born Use meshgrid() to make a 2-D array of the latitudes and longitudes that were returned from magMap() Transpose the new 2-D latitude array and then flatten the transposed array into a 1D array Transpose the inclination array that was returned by magMap() and then flatten it into a 1D array. Use the function np.polyfit() to calculate a best fitting 3rd order polynomial through the data Use np.polyval0 to evaluate the curve at all the latitudes 7.2 Calculate the actual inclination at every latitude in your birth year: Use the function magMap() to evaluate the magnetic field for the year you were born Use meshgrid() to make a 2-D array of the latitudes and longitudes that were returned from magMap() Transpose the new 2-D latitude array and then flatten the transposed array into a 1D array Transpose the inclination array that was returned by magMap() and then flatten it into a 1D array. Use the function np.polyfit() to calculate a best fitting 3rd order polynomial through the data Use np.polyval0 to evaluate the curve at all the latitudes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
