Changeset 7769 for trunk/MagicSoft/Cosy/main
- Timestamp:
- 06/28/06 14:39:18 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MStarguider.cc
r7768 r7769 1957 1957 // Position corresponding to the camera center (53.2, 293.6) 1958 1958 //Ring skycenter(392, 318); 1959 Ring skycenter(768/2, 576/2);1960 1959 // MStarList spots; 1961 1960 … … 1983 1982 // 53.2 and 293.6 are the "preliminary" camera center 1984 1983 // -9 and 28.5 are the offsets of the pointing position in the sky 1985 const XY offset(53.2+9, 293.6-28.5);1984 Ring skycenter(0, 0); 1986 1985 1987 1986 const Bool_t centerisvalid = sgcenter.GetX()>0 && sgcenter.GetY()>0; 1988 1987 if (centerisvalid) 1989 skycenter.SetXY(sgcenter.GetX() - offset.X(),1990 sgcenter.GetY() - offset.Y());1988 skycenter.SetXY(sgcenter.GetX() - 53.2, 1989 sgcenter.GetY() - 293.6); 1991 1990 1992 1991 // we obtain stars in the effective star FOV and draw them. … … 1994 1993 // We determine the ideal starfield using camera sagging info 1995 1994 // from the LEDs 1996 fSao->CalcStars(stars, 530, 292, skycenter.GetX() , skycenter.GetY());1995 fSao->CalcStars(stars, 530, 292, skycenter.GetX()-9, skycenter.GetY()+28.5); 1997 1996 fSao->DrawStars(stars, cimg); 1998 1997
Note:
See TracChangeset
for help on using the changeset viewer.