{"comment":{"url":"https://api.github.com/repos/PixInsight/PCL/comments/18133173","html_url":"https://github.com/PixInsight/PCL/commit/0fb8b5856146623515bc1132bf9796eed7459660#commitcomment-18133173","id":18133173,"user":{"login":"kkretzschmar","id":2159270,"avatar_url":"https://avatars.githubusercontent.com/u/2159270?v=3","gravatar_id":"","url":"https://api.github.com/users/kkretzschmar","html_url":"https://github.com/kkretzschmar","followers_url":"https://api.github.com/users/kkretzschmar/followers","following_url":"https://api.github.com/users/kkretzschmar/following{/other_user}","gists_url":"https://api.github.com/users/kkretzschmar/gists{/gist_id}","starred_url":"https://api.github.com/users/kkretzschmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkretzschmar/subscriptions","organizations_url":"https://api.github.com/users/kkretzschmar/orgs","repos_url":"https://api.github.com/users/kkretzschmar/repos","events_url":"https://api.github.com/users/kkretzschmar/events{/privacy}","received_events_url":"https://api.github.com/users/kkretzschmar/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"0fb8b5856146623515bc1132bf9796eed7459660","created_at":"2016-07-05T21:43:57Z","updated_at":"2016-07-05T21:43:57Z","body":"Hi,\r\nI reactivated this thread to keep the following info/discussion team internal ... (github notifications and comments on github notifications are public as I found out recently ) .... I implemented a first prototype of the analytical telescope pointing model of \r\nhttp://www.boulder.swri.edu/~buie/idl/downloads/pointing/pointing.pdf\r\n\r\nI used SVD to compute the Moore-Penrose pseudo inverse which can be used to fit the model (least-square) to the sync data. With this simple model I was able to capture any object over a big area of the sky on a CCD camera on my 10-inch F/3.8 Newton with a FOV of 40 x 32 arc minutes. Without the pointing model, objects disappeared from the CCD FOV after I changed the pier side of my GEM.  So this  should be sufficient to center objects exactly after applying differential correction. But I think we can do it much better with interpolating models like surface splines or similar models. So I would like to offer several pointing/alignment  models as other control software also do. \r\n\r\n@Juan: And here I have an architectural question. Currently I have a simple abstract class/interface representing the alignment method with two methods \r\n\r\n- fitModel(Array<...>& syncData)\r\n-apply(double& hourAngleCorrected, double decCorrected, double apparentRA, double apparentDec)\r\n\r\nDifferent alignment models have to implement this interface. This makes sense since different models have typically different sets of model parameters. That means that after fitting the model to the list of sync data, the INDMount module holds a state, the fitted model (i.e. an instance of the alignment class), which I cannot easily pass as a MetaParameter. I would like to avoid fitting the model for each Mount  GoTo command.  I found the Metaparameter type MetaBlock ... can it be used as a container for a C++ class? However I don't know how to create an instance of such a class from javascript...\r\n\r\nAlso if I would use surface splines for the pointing model, it looks a if I would have to create the surface model for each GoTo command. This is what I definitely would like to avoid ...\r\n\r\n\r\n\r\n \r\n\r\n"}}
{"actor":{"display_login":"kkretzschmar"}}