Loading src/lspe_prm/README.md +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ M.Maris 2021 Nov 20 2021 Dec 2 2023 Jul 12 2023 Jul 14 src/lspe_prm/__init__.py +30 −2 Original line number Diff line number Diff line from .roto_translation import * __VERSION__="1.1.0 - 2021 Dec 03 - 2023 jul 12" __VERSION__="1.1.1 - 2021 Dec 03 - 2023 jul 14" __DESCRIPTION__=""" M.Maris first version of order 0 Pointing Reconstruction Model (PRM) order 0 Pointing Reconstruction Model (PRM) ========================= #Example: from lspe_prm import PRM0 # instantiate object as an ideal telescope setup prm=PRM0(Ideal=True) # set some angles prm.tiltFor = 0.1 # deg prm.cphi0 = -5.1 # deg prm.commit() # this is mandatory # creates a list of [theta, phi] couples (deg) theta_phi=np.array([ [15., 20] ,[25., 50] ,[35., 30] ]) #creates the list of pointing matrices RotMatr=prm(theta_phi) #to recover pointings makes dot product with (0,0,1) vector Pointing=np.array([k.dot(np.array([0,0,1])) for k in RotMatr]).T ========================= Elemental Rotation Matrices according to Aereonautical convention Loading Loading @@ -58,6 +85,7 @@ Issue 0.0.3 - 2021 Dec 2 : Structure improved, added example 1.0.0 - 2021 Dec 3 : First Issue after review with the Pointing Working Group 1.1.0 - 2023 Jul 12 : Changed the definition of wobble angles operator 1.1.1 - 2023 Jul 12 : package structure adapted to PyPI requirements """ import numpy as np Loading Loading
src/lspe_prm/README.md +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ M.Maris 2021 Nov 20 2021 Dec 2 2023 Jul 12 2023 Jul 14
src/lspe_prm/__init__.py +30 −2 Original line number Diff line number Diff line from .roto_translation import * __VERSION__="1.1.0 - 2021 Dec 03 - 2023 jul 12" __VERSION__="1.1.1 - 2021 Dec 03 - 2023 jul 14" __DESCRIPTION__=""" M.Maris first version of order 0 Pointing Reconstruction Model (PRM) order 0 Pointing Reconstruction Model (PRM) ========================= #Example: from lspe_prm import PRM0 # instantiate object as an ideal telescope setup prm=PRM0(Ideal=True) # set some angles prm.tiltFor = 0.1 # deg prm.cphi0 = -5.1 # deg prm.commit() # this is mandatory # creates a list of [theta, phi] couples (deg) theta_phi=np.array([ [15., 20] ,[25., 50] ,[35., 30] ]) #creates the list of pointing matrices RotMatr=prm(theta_phi) #to recover pointings makes dot product with (0,0,1) vector Pointing=np.array([k.dot(np.array([0,0,1])) for k in RotMatr]).T ========================= Elemental Rotation Matrices according to Aereonautical convention Loading Loading @@ -58,6 +85,7 @@ Issue 0.0.3 - 2021 Dec 2 : Structure improved, added example 1.0.0 - 2021 Dec 3 : First Issue after review with the Pointing Working Group 1.1.0 - 2023 Jul 12 : Changed the definition of wobble angles operator 1.1.1 - 2023 Jul 12 : package structure adapted to PyPI requirements """ import numpy as np Loading