Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SophyaExtLibs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab has been updated. More info
here
.
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
SOPHYA
SophyaExtLibs
Commits
14b8ca2c
Commit
14b8ca2c
authored
23 years ago
by
cmv
Browse files
Options
Downloads
Patches
Plain Diff
correct. commentaire cmv 13/12/01
parent
1a60e234
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
XAstroPack/mollweide.cc
+8
-4
8 additions, 4 deletions
XAstroPack/mollweide.cc
with
8 additions
and
4 deletions
XAstroPack/mollweide.cc
+
8
−
4
View file @
14b8ca2c
...
...
@@ -16,6 +16,7 @@ double _t;
\param output: xmoll dans [-2*sqrt(2),2*sqrt(2)]
\param output: ymoll dans [-sqrt(2),sqrt(2)]
\warning Probleme de precision pour t pres de Pi/2 (latitude pres de -Pi/2 ou Pi/2)
\warning Longitude=Pi=180 au milieu en xmoll=0
\return t
\verbatim
- La vraie MollWeide:
...
...
@@ -31,10 +32,12 @@ double _t;
--------------------------------------------------------
REMARQUES:
- xmoll varie [-2*sqrt(2),2*sqrt(2)]
centre galactique au milieu, anti-centre au bord
pour centre galactique au bord, anti-centre au milieu:
xmoll' = 2*sqrt(2)*longitude/Pi*cos(t)
xmoll' varie [0,4*sqrt(2)]
centre galactique (longitude=0) au bord,
anti-centre (longitude=180) au milieu.
pour centre galactique (longitude=0) au milieu,
anti-centre (longitude=180) au bord:
xmoll' = 2*sqrt(2)*longitude/Pi*cos(t) = xmoll+2*sqrt(2)
xmoll' varie [0,4*sqrt(2)]
- ymoll varie [-sqrt(2),sqrt(2)] plan gal en 0
- t varie [-Pi/2,Pi/2]
- a varie [-Pi,Pi] (a <-> -a <==> t <-> -t)
...
...
@@ -109,6 +112,7 @@ double MollWeide_XY(double longitude,double latitude,double* xmoll,double*ymoll)
\param output: latitude [-Pi/2,Pi/2] en radians
\return t
\warning Probleme de precision pour t pres de Pi/2 (latitude pres de -Pi/2 ou Pi/2)
\warning Longitude=Pi=180 au milieu en xmoll=0
\verbatim
--------------------------------------------------------
INPUT: xmoll dans [-2*sqrt(2),2*sqrt(2)]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment