#  09-11-2007  V7. Added column to ra_trig_eff, removed sw_h and sw_all efficiencies.
#  08-29-2007  V6. New ra_trig efficiencies from Kristin's moment_info_2007_08_13 (second version).
#  07-17-2007  V5. Changed ra_trig velocities to old ones.
#  07-10-2007  V4. Created from STA v4. Different geom factors and ra_trig eff.
#  Calibration File, FM2
#
#	Calibration file for Onboard Moments
#	The calibration file consist of all constants needed to convert onboard moments to physical units 
#  The units for the final moments are:
#  Density:  1/cm^3
#  Velocity:  km/s
#  Momentum flux tensor(used for Pressure and Temp):  Pa = N/m^2 = kg/(m-s^2)
#  Energy flux vector (used for heat flux):  J/m^2-s = kg/s^3
#  
#  Note that density and velocity are NOT in MKS units, and so would need to be converted for further calculations.
#
# The step variable, A,  covers the constants associated with stepping the integral over v, dtheta (elevation) and dphi
# They are the same for all moments and for both spacecraft.  step_variable = dtheta*dphi*dV/V / tacc, where
#  dtheta = 1.25 degrees = 0.0218 radians
#  dphi = 1.41 degrees *2  = 0.0246*2  radians = 0.0492     the factor of 2 is because we only use every other step
#  dv/v = 0.049/2 = 0.0245
#  tacc = 12.8 ms
#  Units = ster/s
#
BEGIN  step_variable

step_variable	2.05E-3

END step_variable

#	The following gives the normalization constant, B.  This parameter takes out the normalization 
#	factors from the onboard 
# 	velocity tables, and includes any other necessary unit changes and mass functions.  
#	These are different for each moment, but should be the same same for each 
#	spacecraft.
#  
#	The units for the constants are:
#	D  s/cm
#	V  km/cm
#	P  kg m/s (cm/m)^2
#	H  kg (m/s)^2 (cm/m)^2
#
BEGIN table_norm_values

table_norm_values	D	4.335e-11
table_norm_values	V	1.950E-08
table_norm_values	P	2.939E-20
table_norm_values	H	1.324E-14

END table_norm_values
#
#	The following gives the normalization constant, B'.  This parameter includes the unit changes
#	and mass functions, but does not include the normalization and bit shifting of the velocity 
# 	tables.  It is for use for using proton-mode data to reproduce the moment calculation.
#	These are different for each moment, but should be the same same for each 
#	spacecraft.
#  
#	The units for the constants are:
#	D  s/cm
#	V  km/cm
#	P  kg m/s (cm/m)^2
#	H  kg (m/s)^2 (cm/m)^2
#
BEGIN table_norm_values_pmode

table_norm_values_pmode	D	2.273e-08
table_norm_values_pmode	V	1.000E-05
table_norm_values_pmode	P	7.348E-18
table_norm_values_pmode	H	1.616E-12

END table_norm_values_pmode
#
#	Each unit has two geometric factors for the SW sector, one for the S-channel (S) and one for the main channel (M)
#  	Here we give the geometric factor for one angular bin (1.41 degrees in position) in cm2-ster-dV/V.
#
BEGIN geom_factor

geom_factor	S	2.885E-7	
geom_factor	M	1.875E-5

END geom_factor

#  In the following table, the efficiencies are taken from Kristin's moments_info_2007_08_13.xls (second verion) for dates 4/25-5/22, 2007.
#  The first velocities are taken from Kristin's moments_info_2007_08_13.xls (second verion) devided by 1000.
#  The second velocities are from Plastic_Moments_table.xls (column H * 440)
#  Columns are esa_step, Kristin velocity, table velocity, efficiency.
BEGIN ra_trig

ra_trig	0	4180.083651	4400		0.02964
ra_trig	1	4081.378385	4293.651687	0.02964
ra_trig	2	3985.000332	4189.87382	0.02964
ra_trig	3	3890.901836	4088.604271	0.02964
ra_trig	4	3799.023701	3989.782415	0.02964
ra_trig	5	3709.313137	3893.34909	0.02964
ra_trig	6	3621.722111	3799.246565	0.02964
ra_trig	7	3536.199673	3707.418505	0.02964
ra_trig	8	3452.697741	3617.809936	0.02964
ra_trig	9	3371.168766	3530.367213	0.02964
ra_trig	10	3291.563016	3445.037986	0.02964
ra_trig	11	3213.83489	3361.771172	0.02964
ra_trig	12	3137.946928	3280.516924	0.02964
ra_trig	13	3063.84801	3201.226596	0.02964
ra_trig	14	2991.498929	3123.852722	0.02964
ra_trig	15	2920.860318	3048.348979	0.02964
ra_trig	16	2851.885783	2974.670167	0.02964
ra_trig	17	2784.54305	2902.772177	0.02964
ra_trig	18	2718.78996	2832.611967	0.02964
ra_trig	19	2654.588677	2764.147534	0.02964
ra_trig	20	2591.906475	2697.337892	0.02964
ra_trig	21	2530.700616	2632.143043	0.02964
ra_trig	22	2470.941867	2568.523958	0.02964
ra_trig	23	2412.595455	2506.442551	0.02964
ra_trig	24	2355.624869	2445.861656	0.02964
ra_trig	25	2300.000636	2386.745006	0.02964
ra_trig	26	2245.687907	2329.057209	0.02964
ra_trig	27	2192.6598	2272.763731	0.02964
ra_trig	28	2140.879708	2217.83087	0.02964
ra_trig	29	2090.32927	2164.22574	0.02964
ra_trig	30	2040.966272	2111.916249	0.02964
ra_trig	31	1992.772545	2060.871083	0.02964
ra_trig	32	1945.715611	2011.059682	0.02964
ra_trig	33	1899.768327	1962.452227	0.02964
ra_trig	34	1854.909721	1915.019617	0.02964
ra_trig	35	1811.109179	1868.733456	0.02964
ra_trig	36	1768.342539	1823.566036	0.02964
ra_trig	37	1726.587207	1779.490315	0.02964
ra_trig	38	1685.816503	1736.479907	0.02964
ra_trig	39	1646.005439	1694.509064	0.02964
ra_trig	40	1607.137366	1653.55266	0.02964
ra_trig	41	1569.185833	1613.586174	0.02964
ra_trig	42	1532.133271	1574.585681	0.02964
ra_trig	43	1495.951979	1536.527833	0.02964
ra_trig	44	1460.630657	1499.389846	0.02964
ra_trig	45	1426.141157	1463.149487	0.02964
ra_trig	46	1392.461895	1427.78506	0.02964
ra_trig	47	1359.581041	1393.275393	0.02964
ra_trig	48	1327.476531	1359.599828	0.02964
ra_trig	49	1296.129708	1326.738203	0.02964
ra_trig	50	1265.523466	1294.670846	0.02964
ra_trig	51	1235.639289	1263.37856	0.02964
ra_trig	52	1206.461366	1232.84261	0.02964
ra_trig	53	1177.972744	1203.044716	0.02964
ra_trig	54	1150.156163	1173.96704	0.02964
ra_trig	55	1122.996824	1145.592173	0.02964
ra_trig	56	1096.479099	1117.903129	0.02964
ra_trig	57	1070.587474	1090.88333	0.02964
ra_trig	58	1045.306647	1064.516603	0.02964
ra_trig	59	1020.623635	1038.787161	0.02964
ra_trig	60	996.5230762	1013.679601	0.02964
ra_trig	61	972.9911721	989.1788929	0.02964
ra_trig	62	950.0149092	965.2703686	0.02964
ra_trig	63	927.5822359	941.9397151	0.02964
ra_trig	64	908.059		919.1729651	0.02964
ra_trig	65	888.92		896.9564891	0.03439
ra_trig	66	870.071		875.2769869	0.03999
ra_trig	67	851.513		854.1214798	0.04656
ra_trig	68	833.245		833.4773029	0.05430
ra_trig	69	815.267		813.3320971	0.06340
ra_trig	70	797.58		793.6738025	0.07406
ra_trig	71	780.183		774.4906501	0.08653
ra_trig	72	763.077		755.771156	0.10106
ra_trig	73	746.261		737.5041134	0.11787
ra_trig	74	729.735		719.6785864	0.13720
ra_trig	75	713.5		702.2839038	0.15920
ra_trig	76	697.555		685.3096518	0.18396
ra_trig	77	681.901		668.7456688	0.21144
ra_trig	78	666.537		652.5820383	0.24147
ra_trig	79	651.463		636.809084	0.27371
ra_trig	80	636.68		621.4173631	0.30766
ra_trig	81	622.187		606.3976612	0.34269
ra_trig	82	607.985		591.7409866	0.37812
ra_trig	83	594.073		577.4385648	0.41329
ra_trig	84	580.451		563.4818336	0.44761
ra_trig	85	567.12		549.8624376	0.48065
ra_trig	86	554.079		536.5722233	0.51219
ra_trig	87	541.329		523.6032345	0.54220
ra_trig	88	528.869		510.947707	0.59000
ra_trig	89	516.699		498.5980646	0.63000
ra_trig	90	504.82		486.5469139	0.68765
ra_trig	91	493.231		474.7870403	0.71679
ra_trig	92	481.933		463.3114038	0.74608
ra_trig	93	470.925		452.1131341	0.77601
ra_trig	94	460.207		441.1855275	0.80701
ra_trig	95	449.78		430.5220419	0.83947
ra_trig	96	439.643		420.1162935	0.87375
ra_trig	97	429.797		409.9620528	0.91010
ra_trig	98	420.241		400.0532408	0.94873
ra_trig	99	410.975		390.3839255	0.98976
ra_trig	100	402		380.9483182	1.03319
ra_trig	101	393.315		371.7407702	1.07896
ra_trig	102	384.921		362.7557694	1.12684
ra_trig	103	376.817		353.9879366	1.17651
ra_trig	104	369.003		345.432023	1.22748
ra_trig	105	361.48		337.0829064	1.27912
ra_trig	106	354.247		328.9355885	1.33066
ra_trig	107	347.305		320.9851919	1.38123
ra_trig	108	340.653		313.226957	1.42986
ra_trig	109	334.291		305.6562392	1.47557
ra_trig	110	328.22		298.2685061	1.44839
ra_trig	111	322.439		291.0593351	1.39768
ra_trig	112	316.949		284.0244102	1.36700
ra_trig	113	311.749		277.15952	1.30720
ra_trig	114	306.839		270.4605547	1.23017
ra_trig	115	302.22		263.9235038	1.14625
ra_trig	116	297.891		257.5444539	1.06280
ra_trig	117	293.853		251.3195862	0.98435
ra_trig	118	290.105		245.2451739	0.91317
ra_trig	119	286.647		239.3175806	0.85010
ra_trig	120	283.48		233.5332576	0.79515
ra_trig	121	280.603		227.8887421	0.74783
ra_trig	122	278.017		222.380655	0.70754
ra_trig	123	275.721		217.0056988	0.67356
ra_trig	124	273.715		211.7606556	0.64526
ra_trig	125	272		206.6423855	0.62207
ra_trig	126	270.575		201.6478243	0.60349
ra_trig	127	269.441		196.773982	0.58916

END ra_trig