Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About some parameters #3

Open
CarminLiu opened this issue Jul 21, 2021 · 1 comment
Open

About some parameters #3

CarminLiu opened this issue Jul 21, 2021 · 1 comment

Comments

@CarminLiu
Copy link

There are some parameters in the 'optimizer.cc' file that I don't know why set them like that.

  double angleInfo = Config::Get<double>("Plane.AngleInfo");
  angleInfo = 3282.8/(angleInfo*angleInfo);
  double disInfo = Config::Get<double>("Plane.DistanceInfo");
  disInfo = disInfo* disInfo;
  double parInfo = Config::Get<double>("Plane.ParallelInfo");
  parInfo = 3282.8/(parInfo*parInfo);
  double verInfo = Config::Get<double>("Plane.VerticalInfo");
  verInfo = 3282.8/(verInfo*verInfo);
  double planeChi = Config::Get<double>("Plane.Chi");
  const float deltaPlane = sqrt(planeChi);
  double VPplaneChi = Config::Get<double>("Plane.VPChi");
  const float VPdeltaPlane = sqrt(VPplaneChi);

I don't know why use 3282.8, 3282.8/(angleInfo*angleInfo), disInfo = disInfo* disInfo,
and all parameters about Plane, like Chi, VPChi,VerticalInfo.

Is there some references which explain them? I have studied about plane recently and it really confused me.
It will be very helpful if I receive your reply. Thanks!

@houyiliang
Copy link

The operation here is degrees to radians.
for example 3282.8 = (180/3.14) * (180/3.14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants