File: sph.sed

package info (click to toggle)
wcslib 7.7%2Bds-1~bpo11%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye-backports
  • size: 9,956 kB
  • sloc: ansic: 34,389; lex: 9,328; fortran: 6,731; sh: 3,367; sed: 497; pascal: 190; makefile: 15
file content (13 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
/^[^*]/{p;d;}

s|dist and pa|<VAR>dist</VAR> and <VAR>pa</VAR>|
s|lng and lat|<VAR>lng</VAR> and <VAR>lat</VAR>|
s|phi and theta|<VAR>phi</VAR> and <VAR>theta</VAR>|

s|\([1-9][0-9]*\) degrees|@f$\1^\\circ@f$|g
s|(lng0,+90-epsilon)|@f$(\\alpha_0,+90^\\circ-\\epsilon)@f$|
s|(lng0,-90+epsilon)|@f$(\\alpha_0,-90^\\circ+\\epsilon)@f$|
s| 0 or | @f$0^\\circ@f$ or |
s| epsilon| @f$\\epsilon@f$|g
s|cos(|@f$cos@f$(|g
s|sin(|@f$sin@f$(|g