diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfc9de970e9f447f3264c475886a1f26b3faaec9
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,2 @@
+SCRIVI UN READ ME GIGANTE CHE SPIEGA IL TUO CODICE
+RISCHI DI NON RICORDARE UN CAZZO DEGLI SCRIPT CHE CREI
diff --git a/all_info_fits.py b/all_info_fits.py
new file mode 100644
index 0000000000000000000000000000000000000000..a1a9e7a093e0ee3b0017afab8a9c588aa00d221c
--- /dev/null
+++ b/all_info_fits.py
@@ -0,0 +1,19 @@
+#printa tutte le info di un file fits
+#sostituisci il path del file .fits
+
+from astropy.io import fits
+
+# Percorso del file FITS
+file_path = '/home/alfonso/Scrivania/THESEUS/XGIS-X_0deg_reqEOL_v8.rmf'
+
+# Apri il file FITS
+with fits.open(file_path) as hdul:
+    # Stampa un sommario delle HDU nel file
+    hdul.info()
+    
+    # Itera su tutte le HDU e stampa l'header e i dati
+    for hdu in hdul:
+        print(f"\nHeader HDU {hdul.index(hdu)}:")
+        print(hdu.header)
+        print("\nDati:")
+        print(hdu.data)
diff --git a/arf/SaeFF_0.0_0.0.arf b/arf/SaeFF_0.0_0.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..4c6f3ef1d1bf425613deb54c8ffbea4f2923dd7d
Binary files /dev/null and b/arf/SaeFF_0.0_0.0.arf differ
diff --git a/arf/SaeFF_0.0_180.0.arf b/arf/SaeFF_0.0_180.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..1a0a668b852e72bf2c571f9646147fd911325ff5
Binary files /dev/null and b/arf/SaeFF_0.0_180.0.arf differ
diff --git a/arf/SaeFF_0.0_270.0.arf b/arf/SaeFF_0.0_270.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..030182a92a7fc6441406b9850c1139a1e10c85ec
Binary files /dev/null and b/arf/SaeFF_0.0_270.0.arf differ
diff --git a/arf/SaeFF_0.0_360.0.arf b/arf/SaeFF_0.0_360.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..4c6f3ef1d1bf425613deb54c8ffbea4f2923dd7d
Binary files /dev/null and b/arf/SaeFF_0.0_360.0.arf differ
diff --git a/arf/SaeFF_0.0_90.0.arf b/arf/SaeFF_0.0_90.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..3e6d9833aef1db59516404e4d20aed01033e2703
Binary files /dev/null and b/arf/SaeFF_0.0_90.0.arf differ
diff --git a/arf/SaeFF_30.0_0.0.arf b/arf/SaeFF_30.0_0.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..df8cd1c151e93475a38cb691c2d8b1ae2f222ae7
Binary files /dev/null and b/arf/SaeFF_30.0_0.0.arf differ
diff --git a/arf/SaeFF_30.0_180.0.arf b/arf/SaeFF_30.0_180.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..86a8a4f690825a9201f0acdad5ff352c97abca6e
Binary files /dev/null and b/arf/SaeFF_30.0_180.0.arf differ
diff --git a/arf/SaeFF_30.0_270.0.arf b/arf/SaeFF_30.0_270.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..cc4bf5d0897e8f0d9537914906153b36502d418f
Binary files /dev/null and b/arf/SaeFF_30.0_270.0.arf differ
diff --git a/arf/SaeFF_30.0_360.0.arf b/arf/SaeFF_30.0_360.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..df8cd1c151e93475a38cb691c2d8b1ae2f222ae7
Binary files /dev/null and b/arf/SaeFF_30.0_360.0.arf differ
diff --git a/arf/SaeFF_30.0_90.0.arf b/arf/SaeFF_30.0_90.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..bae1b2d89b7f5651423ed689ef88f586eb0b2624
Binary files /dev/null and b/arf/SaeFF_30.0_90.0.arf differ
diff --git a/arf/SaeFF_60.0_0.0.arf b/arf/SaeFF_60.0_0.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..447a31d96b88d261363c66d130538b2e3ba08697
Binary files /dev/null and b/arf/SaeFF_60.0_0.0.arf differ
diff --git a/arf/SaeFF_60.0_180.0.arf b/arf/SaeFF_60.0_180.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..46486e27aea11cd78c685eb6a03a69696d73e483
Binary files /dev/null and b/arf/SaeFF_60.0_180.0.arf differ
diff --git a/arf/SaeFF_60.0_270.0.arf b/arf/SaeFF_60.0_270.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..c5cef21bc7bd27a4bfa5e2a8a042ef1a31db3de5
Binary files /dev/null and b/arf/SaeFF_60.0_270.0.arf differ
diff --git a/arf/SaeFF_60.0_360.0.arf b/arf/SaeFF_60.0_360.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..447a31d96b88d261363c66d130538b2e3ba08697
Binary files /dev/null and b/arf/SaeFF_60.0_360.0.arf differ
diff --git a/arf/SaeFF_60.0_90.0.arf b/arf/SaeFF_60.0_90.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..5f4cdf76e1597c33bba573d9b11420df28f4d7c1
Binary files /dev/null and b/arf/SaeFF_60.0_90.0.arf differ
diff --git a/arf/SaeFF_90.0_0.0.arf b/arf/SaeFF_90.0_0.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..72e47f9d216a75b160b821ab2e6222f4c0db1f6b
Binary files /dev/null and b/arf/SaeFF_90.0_0.0.arf differ
diff --git a/arf/SaeFF_90.0_180.0.arf b/arf/SaeFF_90.0_180.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..b185dec1c310ae2ccbc20ef148bee111a6495042
Binary files /dev/null and b/arf/SaeFF_90.0_180.0.arf differ
diff --git a/arf/SaeFF_90.0_270.0.arf b/arf/SaeFF_90.0_270.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..b7cd14a0a544e88074ccf18ba1b57108701d8d54
Binary files /dev/null and b/arf/SaeFF_90.0_270.0.arf differ
diff --git a/arf/SaeFF_90.0_360.0.arf b/arf/SaeFF_90.0_360.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..72e47f9d216a75b160b821ab2e6222f4c0db1f6b
Binary files /dev/null and b/arf/SaeFF_90.0_360.0.arf differ
diff --git a/arf/SaeFF_90.0_90.0.arf b/arf/SaeFF_90.0_90.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..31d8d73f5874f8e850bfac8f5ed6da25050a01a0
Binary files /dev/null and b/arf/SaeFF_90.0_90.0.arf differ
diff --git a/arf/XaeFF_0.0_0.0.arf b/arf/XaeFF_0.0_0.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..6936827ee66951150c243d772e9b8e8f7e412f55
Binary files /dev/null and b/arf/XaeFF_0.0_0.0.arf differ
diff --git a/arf/XaeFF_0.0_180.0.arf b/arf/XaeFF_0.0_180.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..60d7d6803a579a1434d3daa0f969a5fafba1375d
Binary files /dev/null and b/arf/XaeFF_0.0_180.0.arf differ
diff --git a/arf/XaeFF_0.0_270.0.arf b/arf/XaeFF_0.0_270.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..2d47ea21e772bbf2dfff1046de72201f3abf31ff
Binary files /dev/null and b/arf/XaeFF_0.0_270.0.arf differ
diff --git a/arf/XaeFF_0.0_360.0.arf b/arf/XaeFF_0.0_360.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..6936827ee66951150c243d772e9b8e8f7e412f55
Binary files /dev/null and b/arf/XaeFF_0.0_360.0.arf differ
diff --git a/arf/XaeFF_0.0_90.0.arf b/arf/XaeFF_0.0_90.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..fef0dcfca91873a8b50a4138950f868aa8ed8351
Binary files /dev/null and b/arf/XaeFF_0.0_90.0.arf differ
diff --git a/arf/XaeFF_30.0_0.0.arf b/arf/XaeFF_30.0_0.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..7396a70e5585df172ce4f9aedace1c987b27f8b2
Binary files /dev/null and b/arf/XaeFF_30.0_0.0.arf differ
diff --git a/arf/XaeFF_30.0_180.0.arf b/arf/XaeFF_30.0_180.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..55a0d264969077faa37c703e2e366cc601c95efd
Binary files /dev/null and b/arf/XaeFF_30.0_180.0.arf differ
diff --git a/arf/XaeFF_30.0_270.0.arf b/arf/XaeFF_30.0_270.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..9fceff18ba43249867dfa0fa176100bdd096fad8
Binary files /dev/null and b/arf/XaeFF_30.0_270.0.arf differ
diff --git a/arf/XaeFF_30.0_360.0.arf b/arf/XaeFF_30.0_360.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..7396a70e5585df172ce4f9aedace1c987b27f8b2
Binary files /dev/null and b/arf/XaeFF_30.0_360.0.arf differ
diff --git a/arf/XaeFF_30.0_90.0.arf b/arf/XaeFF_30.0_90.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..47a824af6fd4fadea51158a8c4772a9420323559
Binary files /dev/null and b/arf/XaeFF_30.0_90.0.arf differ
diff --git a/arf/XaeFF_60.0_0.0.arf b/arf/XaeFF_60.0_0.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..76c693b177a477d0c48fc7d49de658975ea77a55
Binary files /dev/null and b/arf/XaeFF_60.0_0.0.arf differ
diff --git a/arf/XaeFF_60.0_180.0.arf b/arf/XaeFF_60.0_180.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..997670a3fbccf4e2663852ab9b57c65109a8a934
Binary files /dev/null and b/arf/XaeFF_60.0_180.0.arf differ
diff --git a/arf/XaeFF_60.0_270.0.arf b/arf/XaeFF_60.0_270.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..11ded8a25d24592a8d60034802aca00741d5991b
Binary files /dev/null and b/arf/XaeFF_60.0_270.0.arf differ
diff --git a/arf/XaeFF_60.0_360.0.arf b/arf/XaeFF_60.0_360.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..76c693b177a477d0c48fc7d49de658975ea77a55
Binary files /dev/null and b/arf/XaeFF_60.0_360.0.arf differ
diff --git a/arf/XaeFF_60.0_90.0.arf b/arf/XaeFF_60.0_90.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..26b8d6d2c11cb45c0dcd268a9d4ceb12586f4e62
Binary files /dev/null and b/arf/XaeFF_60.0_90.0.arf differ
diff --git a/arf/XaeFF_90.0_0.0.arf b/arf/XaeFF_90.0_0.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..8447185f59cefee94adf552292d772d8652d0128
Binary files /dev/null and b/arf/XaeFF_90.0_0.0.arf differ
diff --git a/arf/XaeFF_90.0_180.0.arf b/arf/XaeFF_90.0_180.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..3cdd6ef2894d7c66653a101244b042edf204737d
Binary files /dev/null and b/arf/XaeFF_90.0_180.0.arf differ
diff --git a/arf/XaeFF_90.0_270.0.arf b/arf/XaeFF_90.0_270.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..0ab2424417c8cda7fd3662ccd7ecb7d6c53f9de1
Binary files /dev/null and b/arf/XaeFF_90.0_270.0.arf differ
diff --git a/arf/XaeFF_90.0_360.0.arf b/arf/XaeFF_90.0_360.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..8447185f59cefee94adf552292d772d8652d0128
Binary files /dev/null and b/arf/XaeFF_90.0_360.0.arf differ
diff --git a/arf/XaeFF_90.0_90.0.arf b/arf/XaeFF_90.0_90.0.arf
new file mode 100644
index 0000000000000000000000000000000000000000..93000e87b747feb66a717c7d5f4132dc65b57b85
Binary files /dev/null and b/arf/XaeFF_90.0_90.0.arf differ
diff --git a/primo.mac b/primo.mac
new file mode 100644
index 0000000000000000000000000000000000000000..10b70ff60710408cb8d03548037bfa97ad5c88a0
--- /dev/null
+++ b/primo.mac
@@ -0,0 +1,19 @@
+/gps/particle gamma
+
+/gps/pos/type Plane
+/gps/pos/shape Square
+/gps/pos/halfx 50 cm
+/gps/pos/halfy 50 cm
+/gps/ang/type cos
+
+/process/em/fluo true
+/process/em/auger true
+/process/em/pixe false
+
+/gps/pos/centre 0.000 0.000 200.000
+/gps/pos/rot1 -0.000 1.000 0.000
+/gps/pos/rot2 1.000 0.000 -0.000
+/gps/direction -0.000 -0.000 -1.000
+
+/gps/energy 2.0 keV
+/run/beamOn 100
diff --git a/python/__pycache__/arf.cpython-312.pyc b/python/__pycache__/arf.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..2db2af91a97d462c470049d34ba658ed5c399b49
Binary files /dev/null and b/python/__pycache__/arf.cpython-312.pyc differ
diff --git a/python/__pycache__/arf.cpython-38.pyc b/python/__pycache__/arf.cpython-38.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..8e30ad9f8724c2f46fb710b04813c56fe4e634b2
Binary files /dev/null and b/python/__pycache__/arf.cpython-38.pyc differ
diff --git a/python/__pycache__/convertRoot2Fits.cpython-312.pyc b/python/__pycache__/convertRoot2Fits.cpython-312.pyc
index 0bff6eb33b12cfc087eab72fac2f36335458a000..3b4e64cafa2fcf42cd19ac6ee2f2441a270d1f8f 100644
Binary files a/python/__pycache__/convertRoot2Fits.cpython-312.pyc and b/python/__pycache__/convertRoot2Fits.cpython-312.pyc differ
diff --git a/python/__pycache__/convertRoot2Fits.cpython-38.pyc b/python/__pycache__/convertRoot2Fits.cpython-38.pyc
index aa9965b246ce205468207f8b0c51884627b56815..f6ed7417ae74281b26d13fd743b02b672a00a171 100644
Binary files a/python/__pycache__/convertRoot2Fits.cpython-38.pyc and b/python/__pycache__/convertRoot2Fits.cpython-38.pyc differ
diff --git a/python/__pycache__/cooTanDir.cpython-312.pyc b/python/__pycache__/cooTanDir.cpython-312.pyc
index a917a47f509f835b091f541be7f491ae4d3f34d8..f3cdaf96bb532e2241ea2d7e5638f2f198b2b5a0 100644
Binary files a/python/__pycache__/cooTanDir.cpython-312.pyc and b/python/__pycache__/cooTanDir.cpython-312.pyc differ
diff --git a/python/__pycache__/data.cpython-312.pyc b/python/__pycache__/data.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..94b882f1f521b7a1d19931fe882aedc23f0f7a00
Binary files /dev/null and b/python/__pycache__/data.cpython-312.pyc differ
diff --git a/python/__pycache__/data.cpython-38.pyc b/python/__pycache__/data.cpython-38.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..0cd0ec4d811ebead27d00714daf4eb0ccab7291b
Binary files /dev/null and b/python/__pycache__/data.cpython-38.pyc differ
diff --git a/python/__pycache__/forRMF.cpython-312.pyc b/python/__pycache__/forRMF.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..e073645b09668b7e4b16d36dd7bd63d360a3a6f9
Binary files /dev/null and b/python/__pycache__/forRMF.cpython-312.pyc differ
diff --git a/python/__pycache__/histocazzo.cpython-312.pyc b/python/__pycache__/histocazzo.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..12c8942542feca5282e3ca7ce812b293b8a95a03
Binary files /dev/null and b/python/__pycache__/histocazzo.cpython-312.pyc differ
diff --git a/python/__pycache__/macro.cpython-312.pyc b/python/__pycache__/macro.cpython-312.pyc
index 1a913efcd641015e337e31656acae35aff7e4b9b..d53c88685e929b59ca57df3e93bb9633eb647b60 100644
Binary files a/python/__pycache__/macro.cpython-312.pyc and b/python/__pycache__/macro.cpython-312.pyc differ
diff --git a/python/__pycache__/main.cpython-38.pyc b/python/__pycache__/main.cpython-38.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..70756c77955b67e1219efe03ba5f62898985e7b8
Binary files /dev/null and b/python/__pycache__/main.cpython-38.pyc differ
diff --git a/python/__pycache__/plot.cpython-312.pyc b/python/__pycache__/plot.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..05787835a4d6a08a4d62f5f429a7bec0993447d9
Binary files /dev/null and b/python/__pycache__/plot.cpython-312.pyc differ
diff --git a/python/__pycache__/plot.cpython-38.pyc b/python/__pycache__/plot.cpython-38.pyc
index fc288386d92bebd640cbaaa91fea6200326e4f65..0730353572a7d395348c7c1e04cfd3c241158793 100644
Binary files a/python/__pycache__/plot.cpython-38.pyc and b/python/__pycache__/plot.cpython-38.pyc differ
diff --git a/python/__pycache__/prova.cpython-38.pyc b/python/__pycache__/prova.cpython-38.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..1dbdae4cbeef76b79377395c141f4fbce4a5f7e1
Binary files /dev/null and b/python/__pycache__/prova.cpython-38.pyc differ
diff --git a/python/__pycache__/rmf.cpython-312.pyc b/python/__pycache__/rmf.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..f4a1a4612c032a37d1f0db18f7ed0d4a64c4f231
Binary files /dev/null and b/python/__pycache__/rmf.cpython-312.pyc differ
diff --git a/python/aeFF.py b/python/aeFF.py
index 38d0a9714e7473d405086edd0efe54612c856480..226d6b3095b4b0d06242d0457906a8195024ee4a 100644
--- a/python/aeFF.py
+++ b/python/aeFF.py
@@ -1,9 +1,11 @@
 # come faccio a sapere se il mio codice è robusto
 
 import numpy as np
+import sys
 from data import data_estraction
 from plot import plot_area
 from arf import arf_file
+from rmf import rmf_file
 
 def main():
     # 1 Estract data from fits file
@@ -41,13 +43,20 @@ def main():
         # Salva i dati per il plot
         plot_data_X.append((energy_filtered, ratio_X_filtered, theta_val, phi_val))
         plot_data_S.append((energy_filtered, ratio_S_filtered, theta_val, phi_val))
-    
-        # 3 Arf
-        arf_file(energy_filtered, ratio_X_filtered, ratio_S_filtered, theta_val, phi_val)
 
-    # 4 Plot
-    plot_area(plot_data_X, 'X', file_name="XGIS_AeffX.png")
-    plot_area(plot_data_S, 'S', file_name="XGIS_AeffS.png")
+        # 3 ARF
+        #arf_file(energy_filtered, ratio_X_filtered, ratio_S_filtered, theta_val, phi_val)
+
+        # 4 RMF
+        print(energy_filtered)
+        print(theta_val)
+        print(phi_val)
+        rmf_file(energy_filtered, theta_val, phi_val)
+
+
+    # 5 Plot
+    #plot_area(plot_data_X, 'X', file_name="XGIS_AeffX.png")
+    #plot_area(plot_data_S, 'S', file_name="XGIS_AeffS.png")
 
 
 if __name__ == "__main__":
diff --git a/python/arf.py b/python/arf.py
index 69abc57d2ff162e9c1185820fc89cabd3ec6ab56..d74d73efe1884723e9548e0728aa6f0c2e808d86 100644
--- a/python/arf.py
+++ b/python/arf.py
@@ -1,10 +1,11 @@
 import astropy.io.fits as pyfits
 import os
 import numpy as np
+import sys
 
 def create_header(extension):
-    extension.header['EXTNAME'] = 'SPECRESP'
     extension.header['TELESCOP'] = 'THESEUS'
+    extension.header['EXTNAME'] = 'SPECRESP'
     extension.header['INSTRUME'] = 'XGIS'
     extension.header['FILTER'] = 'NONE'
     extension.header['HDUCLASS'] = 'OGIP'
@@ -37,6 +38,8 @@ def arf_file(energy_filt, ratio_X_filt, ratio_S_filt, theta, phi):
         ])
         create_header(bin_tableS_hdu)  # Aggiunta header comune per gli eventi S
 
+
+
         # Creazione di HDUList e scrittura del file FITS
         hdulX = pyfits.HDUList([primary_hdu, bin_tableX_hdu])
         hdulS = pyfits.HDUList([primary_hdu, bin_tableS_hdu])
@@ -55,4 +58,3 @@ def arf_file(energy_filt, ratio_X_filt, ratio_S_filt, theta, phi):
         print("File .arf creati correttamente.")
     except Exception as e:
         print(f"Errore durante la creazione del file .arf: {e}")
-
diff --git a/python/convertRoot2Fits.py b/python/convertRoot2Fits.py
index ac5a2ae8ac5d198ae187f7334056d7c36f1a1b6b..273af6f50497eb60841f01143be6e08e344f898a 100644
--- a/python/convertRoot2Fits.py
+++ b/python/convertRoot2Fits.py
@@ -94,7 +94,7 @@ def generate_fits(energy, theta_deg, phi_deg):
         if not os.path.exists(output_dir):
             os.makedirs(output_dir)
 
-        output_file = os.path.join(output_dir, input_file.split(".")[0] + f"_{energy}" + f"_{theta_deg}" + f"_{phi_deg}" + ".fits")
+        output_file = os.path.join(output_dir, "AA" + input_file.split(".")[0] + f"_{energy}" + f"_{theta_deg}" + f"_{phi_deg}" + ".fits")
         hdulist.writeto(output_file, overwrite=True)
 
         # os.system("gzip -f " + input_file.split(".")[0] + ".fits")
diff --git a/python/data.py b/python/data.py
new file mode 100644
index 0000000000000000000000000000000000000000..10b7f1f73c8a1b6f69b31750d0d894f0db3b0254
--- /dev/null
+++ b/python/data.py
@@ -0,0 +1,47 @@
+import os
+from multiprocessing import Pool
+import astropy.io.fits as fits
+
+# Funzione che prende in input un singolo file FITS da processare.
+def get_data(files):
+    
+    # Estrazione di energia, theta e phi dal nome del file
+    base_name = os.path.basename(files)  # Ottiene il nome del file senza il percorso
+    name_parts = base_name.replace('.fits', '').split('_')  # Rimuove l'estensione e suddivide il nome del file in una lista di stringhe usando _ come delimitatore.
+    # Energia, theta e phi sono in posizioni fisse nel nome
+    #energy = float(name_parts[1])
+    theta = float(name_parts[2])
+    phi = float(name_parts[3])
+    
+    # Apertura del file fits e lettura dei dati
+    with fits.open(files) as hdul:
+        data = hdul[1].data
+        tot_events = len(data)
+        scint_id_col = data['Scint_ID']
+        energy = data['En_Primary'][0]
+        eventi_X = (scint_id_col == -1000).sum()
+        eventi_S = tot_events - eventi_X
+        ratio_X = eventi_X/tot_events
+        ratio_S = eventi_S/tot_events
+        
+        return energy, ratio_X, ratio_S, theta, phi
+
+def write_results(file_dat, results):
+    with open(file_dat, "w") as f:
+        for energy, ratio_X, ratio_S, theta, phi in results:
+            f.write(f"{energy:.1f}\t{ratio_X:.3f}\t{ratio_S:.3f}\t{theta}\t{phi}\n")
+
+# Estrae i dati, processa in parallelo tutti i file .fits presenti nella folder, usa le due funzioni già definite
+def data_estraction(file_dat):
+    # Crea una lista di file FITS trovati nella folder. Sorted per leggerli in ordine
+    folder = "/home/alfonso/Scrivania/THESEUS/xgis_m7-main/fits"
+
+    files = sorted([os.path.join(folder, file) for file in os.listdir(folder) if file.endswith(".fits")], key=os.path.getmtime)
+    
+    # Crea un pool di processi che permette di eseguire funzioni in parallelo.
+    # Usa il metodo map() del pool per eseguire la funzione get_data() su ciascun file FITS in parallelo.
+    # I risultati vengono raccolti in una lista chiamata results.
+    with Pool() as pool:
+        results = pool.map(get_data, files) # qui files è l'argomento che passi a get_data
+    
+    write_results(file_dat, results)
\ No newline at end of file
diff --git a/python/figure/HISTONE.png b/python/figure/HISTONE.png
new file mode 100644
index 0000000000000000000000000000000000000000..ef356b98cc3cccb625b334bff8cba27c75a14bf0
Binary files /dev/null and b/python/figure/HISTONE.png differ
diff --git a/python/figure/XGIS_AeffS.png b/python/figure/XGIS_AeffS.png
new file mode 100644
index 0000000000000000000000000000000000000000..cfa724a10c5cfe451c9daeede1bbfe39012cd965
Binary files /dev/null and b/python/figure/XGIS_AeffS.png differ
diff --git a/python/figure/XGIS_AeffX.png b/python/figure/XGIS_AeffX.png
new file mode 100644
index 0000000000000000000000000000000000000000..58998bf3403a0a7a7b96769f968b8dcab42a543a
Binary files /dev/null and b/python/figure/XGIS_AeffX.png differ
diff --git a/python/figure/XGIS_Aeff_All_Theta_Phi.png b/python/figure/XGIS_Aeff_All_Theta_Phi.png
new file mode 100644
index 0000000000000000000000000000000000000000..03c768625ddd1c5739a911fddfe79fc97eed82f5
Binary files /dev/null and b/python/figure/XGIS_Aeff_All_Theta_Phi.png differ
diff --git a/python/figure/areaEfficace.png b/python/figure/areaEfficace1.png
similarity index 100%
rename from python/figure/areaEfficace.png
rename to python/figure/areaEfficace1.png
diff --git a/python/forRMF.py b/python/forRMF.py
new file mode 100644
index 0000000000000000000000000000000000000000..34587ca9b653b6f20ce5109e43c62e0690232965
--- /dev/null
+++ b/python/forRMF.py
@@ -0,0 +1,121 @@
+import numpy as np
+import sys
+import matplotlib.pyplot as plt
+from astropy.io import fits
+import os
+
+bins = np.arange(0, 151, 5)
+
+def get_data(energy, theta, phi):
+    os.chdir('/home/alfonso/Scrivania/THESEUS/xgis_m7-main/fits')
+    # Percorso del file FITS
+    file = f'scorefile_{energy}_{theta}_{phi}.fits' # se il file non esiste da errore ma va avanti con gli altri
+
+    # Legge il file FITS
+    with fits.open(file) as hdul:
+        print(file)
+        
+        data = hdul[1].data  # Legge i dati dalla seconda estensione
+        
+        # Estrae la colonna 'En_dep'
+        en_dep = data['En_dep']
+
+
+        # ! i bin dell isto possono essere gli stessi degli intervalli di energ della simulazione?
+
+        # Imposta i bin dell'istogramma tra 0 keV e 150 keV, con bin larghezza di 5 keV
+        #bins = np.arange(0, 151, 5) #! per ora lo metto fuori altrimenti non lo importa
+
+
+        # Crea l'istogramma normalizzato per il numero totale di righe
+        hist, bin_edges = np.histogram(en_dep, bins=bins, density=False)
+        print(bin_edges)
+        hist_normalized = hist / len(en_dep)
+
+        # Calcola i centri dei bin (centro dell'intervallo per ogni bin di energia)
+        bin_centers = 0.5 * (bin_edges[1:] + bin_edges[:-1])
+
+        # Definisce i "channels" come un array di numeri interi, uno per ogni bin (da 1 a 30)
+        channels = np.arange(1, len(bin_centers) + 1)
+
+        print("Vettore dei conteggi per ciascun canale (binned data):")
+        print(hist)
+
+        print("Vettore dei conteggi NORMALIZZATI per ciascun canale (binned data):")
+        print(hist_normalized)
+
+        # Se vuoi vedere il vettore sotto forma di matrice (per una rappresentazione ordinata)
+        print("Matrice dei conteggi:")
+        for i in range(len(channels)):
+            print(f"Channel {channels[i]}: {hist[i]}")
+
+
+        # Inizializza variabili per il conteggio dei gruppi
+        n_group = 0
+        f_chan = []  # Indici di inizio dei gruppi
+        n_chan = []  # Lunghezza dei gruppi
+
+        # Controlla i gruppi di valori consecutivi non nulli
+        in_group = False  # Stato per controllare se siamo all'interno di un gruppo, booleano
+        group_start = None  # Per memorizzare l'inizio del gruppo, intero, noen= senza valore
+
+        # Il ciclo scorre ogni valore dell'array hist_normalized e controlla se è maggiore di zero (cioè non nullo).
+        for i in range(len(hist_normalized)):
+            if hist_normalized[i] > 0:
+                if not in_group:  # se non sono gia in un gruppo svolgi i seguenti # ! questi comandi li esegue solo per i valori iniziali di ogni gruppo
+                    in_group = True # apro un nuovo gruppo
+                    group_start = i  # Memorizza l'indice di inizio del gruppo
+                    f_chan.append(i)  # Aggiungi l'indice di inizio al vettore f_chan
+                    n_group += 1  # Incrementa il numero di gruppi
+            else:
+                if in_group:  # Termina il gruppo corrente # ! qui esegue solo al primo zero che trova, se ne trova uno consecutivo non esegue perche trova in_group falso
+                    in_group = False
+                    group_length = i - group_start  # Calcola la lunghezza del gruppo
+                    n_chan.append(group_length)  # Aggiungi la lunghezza del gruppo a n_chan
+
+        # Controlla se l'ultimo gruppo arriva fino alla fine dell'array
+        if in_group:  # se è true esegue
+            n_chan.append(len(hist_normalized) - group_start)
+        
+        f_chan = np.array(f_chan)
+        n_chan = np.array(n_chan)
+
+        # Stampa i risultati
+        print(f"Numero di gruppi trovati: {n_group}")
+        print(f"Indici di inizio dei gruppi (f_chan): {f_chan}")
+        print(f"Lunghezza di ciascun gruppo (n_chan): {n_chan}")
+
+
+
+        # # Crea il grafico con i channel sull'asse x e i conteggi normalizzati sull'asse y
+        # plt.figure(figsize=(10, 6))
+        # plt.bar(channels, hist_normalized, width=1, edgecolor="black", align="center")
+
+        # # Etichetta gli assi
+        # plt.xlabel('Channel')
+        # plt.ylabel('Normalized Count')
+        # plt.title('Normalized Histogram with Channels')
+
+        # # Modifica l'asse x per mostrare i channel
+        # plt.xticks(channels)
+
+        # Se vuoi vedere anche la relazione tra bin di energia e channel, puoi stampare:
+        for i in range(len(channels)):
+            print(f'Channel {channels[i]} corrisponde al bin di energia centrato a {bin_centers[i]:.2f} keV')
+
+
+        # Salva il grafico
+        directory = '/home/alfonso/Scrivania/THESEUS/xgis_m7-main/python/figure'  
+        if not os.path.exists(directory):
+            os.makedirs(directory)
+
+        # # cosi non salva
+        # file_name = "HISTONE.png"
+        # file_path = os.path.join(directory, file_name)
+        # plt.savefig(file_path, bbox_inches='tight')
+
+        # # Mostra il grafico
+        # plt.show()
+        # plt.close()
+        
+    return n_group, f_chan, n_chan, hist_normalized, channels
\ No newline at end of file
diff --git a/python/main.py b/python/main.py
index 6a3368b1d98af7d55eb021ee426caacf322037f7..a1f3f2501208a2422a9d99de09ccf7ecb9119975 100644
--- a/python/main.py
+++ b/python/main.py
@@ -22,7 +22,7 @@ def main():
     (rot1_x, rot1_y, rot1_z), (rot2_x, rot2_y, rot2_z) = tangent_plane(theta_rad, phi_rad)
     dir_x, dir_y, dir_z = beam_direction(theta_rad, phi_rad)
 
-    macro_name = "run.mac"
+    macro_name = "primo.mac"
     create_macro(macro_name,  
                     energy, x, y, z,
                         rot1_x, rot1_y, rot1_z,
diff --git a/python/rmf.py b/python/rmf.py
new file mode 100644
index 0000000000000000000000000000000000000000..17639f00de942bd7d170c31ebee92ae98734a19e
--- /dev/null
+++ b/python/rmf.py
@@ -0,0 +1,139 @@
+import astropy.io.fits as pyfits
+import os
+import sys
+import numpy as np
+from forRMF import get_data, bins
+
+    
+def create_ebounds_header(extension):
+    extension.header['EXTNAME'] = 'EBOUNDS'
+    extension.header['TELESCOP'] = 'THESEUS'
+    extension.header['INSTRUME'] = 'XGIS'
+    extension.header['FILTER'] = 'NONE'
+    extension.header['CHANTYPE'] = 'PHA' # PI 
+    extension.header['DETCHANS'] = 'NONE' # the total number of raw detector PHA channels in the full (uncompressed) matrix
+    extension.header['HDUCLASS'] = 'OGIP'
+    extension.header['HDUCLAS1'] = 'RESPONSE'
+    extension.header['HDUCLAS2'] = 'EBOUNDS'
+    extension.header['HDUVERS'] = '1.2.0'
+    # optional
+    extension.header['PHAFILE'] = 'NONE' # name of PHA file for which this file was produced
+    # obsolete (for old software)
+    extension.header['RMFVERSN'] = '1992A'
+    extension.header['HDUVERS1'] = '1.0.0'
+    extension.header['HDUVERS2'] = '1.1.0'  
+
+
+def create_matrix_header(extension):
+    extension.header['EXTNAME'] = 'SPECRESP MATRIX'
+    extension.header['TELESCOP'] = 'THESEUS'
+    extension.header['INSTRUME'] = 'XGIS'
+    extension.header['FILTER'] = 'NONE'
+    extension.header['CHANTYPE'] = 'PHA' # PI 
+    extension.header['DETCHANS'] = 'NONE' # the total number of raw detector PHA channels in the full (uncompressed) matrix.
+    extension.header['HDUCLASS'] = 'OGIP'
+    extension.header['HDUCLAS1'] = 'RESPONSE'
+    extension.header['HDUCLAS2'] = 'RSP_MATRIX'
+    extension.header['HDUVERS'] = '1.3.0'
+    extension.header['TLMIN#'] = 'NONE'  # the first channel in the response. # is the column number for the F_CHAN column (see below).
+    # optional
+    extension.header['NUMGRP'] = 'NONE' # the total number of channel subsets. The sum of the N_GRP column.
+    extension.header['NUMELT'] = 'NONE' # the total number of response elements. The sum of the N_CHAN column
+    extension.header['PHAFILE'] = 'NONE' # name of PHA file for which this file was produced
+    extension.header['LO_THRES '] = '0' # minimum probability threshold used to construct the matrix (matrix elements below this value are considered to zero and are not stored)
+    extension.header['HDUCLAS3'] = 'REDIST' # giving further details of the stored matrix Allowed values are: 'REDIST' for a matrix whose elements represent probabilities associated with the photon redistribution process only 'DETECTOR' for a matrix whose elements have been multiplied by all energy-dependent effects associated with detector (eg detector efficiency, window transmission etc). 'FULL' for a matrix whose elements have been multiplied by all energy-dependent effects associated with detector, optics, collimator, filters etc.
+    # obsolete (for old software)
+    extension.header['RMFVERSN'] = '1992A'
+    extension.header['HDUVERS1'] = '1.0.0'
+    extension.header['HDUVERS2'] = '1.3.0'
+    
+    # altre mandatory che non ho capito
+
+
+# PER OGNI ENERGIA DEVE CHIAMARE  FORRMF E FARSI PASSARE I DATI
+
+def rmf_file(energy_filt, theta, phi):
+    try:
+        # Creazione di "Null" primary array
+        primary_hdu = pyfits.PrimaryHDU()
+        
+        
+        # chan = [1,30]
+        #lista = np.arange(1, 31)
+        # relaivo all'energia di output
+        # Creazione di ebounds BinTableHDU per EVENTI X
+        #ebounds_bin_tableX_hdu = pyfits.BinTableHDU.from_columns([
+        #    pyfits.Column(name='CHANNEL', format='1J', array=lista),
+        #    pyfits.Column(name='E_MIN', format='1E', unit='keV', array=bins[:-1]),           
+        #    pyfits.Column(name='E_MAX', format='1E', unit='keV', array=bins[1:]),      
+        #    ])
+        #create_ebounds_header(ebounds_bin_tableX_hdu)
+        print(energy_filt)
+        for energy in energy_filt:
+            print(energy)
+            n_grp, f_chan, n_chan, hist_normalized, channels = get_data(energy, theta, phi)
+            
+            print(bins)
+            print(f"n_grp: {n_grp}")
+            print(f"f_chan: {f_chan}")
+            print(f"n_chan: {n_chan}")
+            print(channels)
+            print(f"hist_normalized: {hist_normalized}")
+            # relativo all energia di input
+            # Creazione di matrice BinTableHDU per EVENTI X
+            matrix_bin_tableX_hdu = pyfits.BinTableHDU.from_columns([
+                pyfits.Column(name='ENERG_LO', format='1E', unit='keV', array = bins[:-1]),          
+                pyfits.Column(name='ENERG_HI', format='1E', unit='keV', array = bins[1:]),
+                pyfits.Column(name='N_GRP', format='1I', array = [n_grp]),
+                pyfits.Column(name='F_CHAN', format='3J', array = f_chan),
+                pyfits.Column(name='N_CHAN', format='3J', array = n_chan),
+                pyfits.Column(name='MATRIX', format='33E', array = hist_normalized),
+            ])
+        
+        create_matrix_header(matrix_bin_tableX_hdu)  # Aggiunta header comune per gli eventi X
+
+
+
+
+
+
+
+
+
+
+
+        
+        # !!!!      da fare anche per eventi S     !!!!!!!!!!!!!!
+
+
+
+
+
+
+        #ebounds_bin_tableX_hdu,
+
+
+
+        # Creazione di HDUList e scrittura del file FITS
+        hdulX = pyfits.HDUList([primary_hdu, matrix_bin_tableX_hdu])
+        #hdulS = pyfits.HDUList([primary_hdu, ebounds_bin_tableS_hdu, matrix_bin_tableS_hdu])
+
+        output_dir = "/home/alfonso/Scrivania/THESEUS/xgis_m7-main/rmf"
+        
+        if not os.path.exists(output_dir):
+            os.makedirs(output_dir)
+            
+        output_X = os.path.join(output_dir, f"Xrmf_{theta}_{phi}.rmf")
+        #output_S = os.path.join(output_dir, f"Srmf_{theta}_{phi}.rmf")
+
+        hdulX.writeto(output_X, overwrite=True)
+        #hdulS.writeto(output_S, overwrite=True)
+
+        print("File .rmf creati correttamente.")
+    except Exception as e:
+        print(f"Errore durante la creazione del file .rmf: {e}")
+
+
+
+# questa chiamata di funzione appena funziona tutto la porta in aeFF.py
+#rmf_file()
diff --git a/rmf/Xrmf_0.0_0.0.rmf b/rmf/Xrmf_0.0_0.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..119d3633a26aa7fee0f7d39f9d398b81d3527c00
--- /dev/null
+++ b/rmf/Xrmf_0.0_0.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=r�"��������������������������������������������������������������������������������������������������������������������������������@���A ����������������������������;��=��������������������������������������������������������������������������������������������������������������������������������A ��Ap����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;�f��������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;~�=��������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;>���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������;�f��������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������;����������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<)B��������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������<^����������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;��=��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;>���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�f��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�f��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;ޱ���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<f��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<)B��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<)B��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;~�=��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<)B��������������������������������������������������������������������������������������������������������������������������������B���C����������������������������;~�=��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;>���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;��=��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_0.0_180.0.rmf b/rmf/Xrmf_0.0_180.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..1af53ba2cf04a7be9be6ea0c6cb7ce1a4f3c2d18
--- /dev/null
+++ b/rmf/Xrmf_0.0_180.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=�\��������������������������������������������������������������������������������������������������������������������������������@���A ����������������������������<+z���������������������������������������������������������������������������������������������������������������������������������A ��Ap����������������������������;;K��������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������:�ld��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������:�ld��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;����������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;;K��������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������:�ld��������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������;�>���������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������;�>���������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������;yld��������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������<Z>���������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;;K��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<L���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�>���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:�ld��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�K��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<i՞��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;yld��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:�ld��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<L���������������������������������������������������������������������������������������������������������������������������������B���C����������������������������;yld��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;;K��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�K��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�ld��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=L���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_0.0_270.0.rmf b/rmf/Xrmf_0.0_270.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..86c784f8d7e33181d93861cce0abc53dbe37c737
--- /dev/null
+++ b/rmf/Xrmf_0.0_270.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=f�U��������������������������������������������������������������������������������������������������������������������������������@���A ����������������������������<2n��������������������������������������������������������������������������������������������������������������������������������A ��Ap����������������������������;E����������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������;E����������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;���������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;E����������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;���������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������;�U��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<���������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������<�����������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;E����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�U��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�U��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<E����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�U��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;E����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<V���������������������������������������������������������������������������������������������������������������������������������B���C����������������������������;���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������:����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;E����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�U��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<��C��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_0.0_360.0.rmf b/rmf/Xrmf_0.0_360.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..119d3633a26aa7fee0f7d39f9d398b81d3527c00
--- /dev/null
+++ b/rmf/Xrmf_0.0_360.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=r�"��������������������������������������������������������������������������������������������������������������������������������@���A ����������������������������;��=��������������������������������������������������������������������������������������������������������������������������������A ��Ap����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;�f��������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;~�=��������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;>���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������;�f��������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������;����������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<)B��������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������<^����������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;��=��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;>���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�f��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�f��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;ޱ���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<f��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<)B��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<)B��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;~�=��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<)B��������������������������������������������������������������������������������������������������������������������������������B���C����������������������������;~�=��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������:��=��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;>���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;��=��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_0.0_90.0.rmf b/rmf/Xrmf_0.0_90.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..d99504680dc83c7a2b89728b00b4c3531f12c557
--- /dev/null
+++ b/rmf/Xrmf_0.0_90.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=�[��������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������<=����������������������������������������������������������������������������������������������������������������������������������A ��Ap����������������������������;|�n��������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������;|�n��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������:|�n��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;�1 ��������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;=����������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;�1 ��������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������;|�n��������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<1���������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<Mdy��������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������<�����������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������:��n��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�1 ��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:��n��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<l����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:��n��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�1 ��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:��n��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:��n��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���C����������������������������;�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������������������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�1 ��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=1�U��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_30.0_0.0.rmf b/rmf/Xrmf_30.0_0.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..fe823fee64588e87b8f21ace62575a5a7bc8dd90
--- /dev/null
+++ b/rmf/Xrmf_30.0_0.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=E���������������������������������������������������������������������������������������������������������������������������������@���A �������	�������������������<�����������������������������������������������������������������������������������������������������������������������������������A ��Ap������������������
��������;a5���������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������:�5���������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;a5���������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;a5���������������������������������������������������������������������������������������������������������������������������������A���B����������������������������:�5���������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������������������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<(�?��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<E���������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������<�5���������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;��?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:�5���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;a5���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<(�?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<(�?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;��?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;��?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���C����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;a5���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<(�?��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�\_��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_30.0_180.0.rmf b/rmf/Xrmf_30.0_180.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..eec252990f290bbfd15a6e84d8a7d8ee70ec5568
--- /dev/null
+++ b/rmf/Xrmf_30.0_180.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=�����������������������������������������������������������������������������������������������������������������������������������@���A �������	�������������������<To2��������������������������������������������������������������������������������������������������������������������������������A ��Ap������������������
��������;�Sf��������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������:�o2��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;�Sf��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;�Sf��������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;�Sf��������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;�o2��������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������������������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<Sf��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<����������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������=,�Y��������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;�o2��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�s��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;To2��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:�o2��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�Sf��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<9�L��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;To2��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;To2��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<Sf��������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������:�o2��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�o2��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_30.0_270.0.rmf b/rmf/Xrmf_30.0_270.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..fa91ccd06c67a142b4b54e0659e0c46287327a50
--- /dev/null
+++ b/rmf/Xrmf_30.0_270.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=����������������������������������������������������������������������������������������������������������������������������������@���A ������������������
��������<*}��������������������������������������������������������������������������������������������������������������������������������A ��Ap����������������������������;bħ��������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������:�ħ��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;�ħ��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<Fl��������������������������������������������������������������������������������������������������������������������������������A���B����������������������������<;��������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������:�ħ��������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������:�ħ��������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<*}��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<
����������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������=1)���������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������<
����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<
����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:�ħ��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�}��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:�ħ��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�ħ��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<*}��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�ħ��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<
����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�ħ��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�}��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<*}��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�}��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�}��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<*}��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�ħ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_30.0_360.0.rmf b/rmf/Xrmf_30.0_360.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..fe823fee64588e87b8f21ace62575a5a7bc8dd90
--- /dev/null
+++ b/rmf/Xrmf_30.0_360.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=E���������������������������������������������������������������������������������������������������������������������������������@���A �������	�������������������<�����������������������������������������������������������������������������������������������������������������������������������A ��Ap������������������
��������;a5���������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������:�5���������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;a5���������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;a5���������������������������������������������������������������������������������������������������������������������������������A���B����������������������������:�5���������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������������������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<(�?��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<E���������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������<�5���������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;��?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:�5���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;a5���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<(�?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<(�?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;��?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;��?��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���C����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;a5���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�5���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<(�?��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�\_��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_30.0_90.0.rmf b/rmf/Xrmf_30.0_90.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..f58d20d2ddd2850cc14b30225d226df7612f2d63
--- /dev/null
+++ b/rmf/Xrmf_30.0_90.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=�����������������������������������������������������������������������������������������������������������������������������������@���A ������������������
��������<c)C��������������������������������������������������������������������������������������������������������������������������������A ��Ap����������������������������;�^���������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������;�^���������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;�^���������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������;�^���������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;�)C��������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;�^���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������;c)C��������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������;�)C��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<
����������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������<�)C��������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������<c)C��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�,^��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:�)C��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�^���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������:�)C��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<
����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<*^���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�)C��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<
����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<
����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�^���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<c)C��������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<F���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�)C��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�)C��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<*^���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<��k��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_60.0_0.0.rmf b/rmf/Xrmf_60.0_0.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..7025caf17c14c9457245ca8270d8cc9cde26ef75
--- /dev/null
+++ b/rmf/Xrmf_60.0_0.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=�����������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������<��x��������������������������������������������������������������������������������������������������������������������������������A ��Ap��������������������������;����������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������������������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<����������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<����������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������<����������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<�����������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������=����������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�?9��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<F����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<F����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<F����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<%�x��������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<ה6��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<%�x��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=%�x��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_60.0_180.0.rmf b/rmf/Xrmf_60.0_180.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..0a4a1dd65f8770eaa841dbd14c6db26289ce6f64
--- /dev/null
+++ b/rmf/Xrmf_60.0_180.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=�����������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������<�U���������������������������������������������������������������������������������������������������������������������������������A ��Ap��������������������������;U���������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������������������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<U���������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<U���������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������<U���������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<�U���������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<��c��������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������=$+��������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�+��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<E����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<e����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<$+��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<$+��������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<�k9��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<U���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=$+��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_60.0_270.0.rmf b/rmf/Xrmf_60.0_270.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..6230752df25b6f397d3878504dc8c86304a15f31
--- /dev/null
+++ b/rmf/Xrmf_60.0_270.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=Uk9��������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������<�+��������������������������������������������������������������������������������������������������������������������������������A ��Ap��������������������������;U���������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������������������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<$+��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<U���������������������������������������������������������������������������������������������������������������������������������A���B����������������������������<$+��������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<��c��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<$+��������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������=,`s��������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<E����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<E����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<e����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<E����������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�U���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<E����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_60.0_360.0.rmf b/rmf/Xrmf_60.0_360.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..7025caf17c14c9457245ca8270d8cc9cde26ef75
--- /dev/null
+++ b/rmf/Xrmf_60.0_360.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=�����������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������<��x��������������������������������������������������������������������������������������������������������������������������������A ��Ap��������������������������;����������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������������������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<����������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<����������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������<����������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<�����������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������=����������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�?9��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<F����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<F����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<F����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<%�x��������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<ה6��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<%�x��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=%�x��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_60.0_90.0.rmf b/rmf/Xrmf_60.0_90.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..9d60865274480fe96c274c722faf6f75eaf55052
--- /dev/null
+++ b/rmf/Xrmf_60.0_90.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=�E���������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������<Ee���������������������������������������������������������������������������������������������������������������������������������A ��Ap����������������������������;��0��������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������������������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<�0��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<$|��������������������������������������������������������������������������������������������������������������������������������A���B����������������������������;�e���������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������;�e���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������<�0��������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<��0��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<�V��������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������<����������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������;��0��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�0��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�0��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�0��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;��0��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;�0��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<Ee���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�0��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<Ee���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������;��0��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<Ee���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<Ee���������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<�L��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������;�0��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�0��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�0��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=V��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_90.0_0.0.rmf b/rmf/Xrmf_90.0_0.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..10a22e0b3e789017d000de7ce4361fa7a72a0552
--- /dev/null
+++ b/rmf/Xrmf_90.0_0.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=n����������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������������������������������������������������������������������������������������������������������������������������������������������A ��Ap��������������������������������������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������<����������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������=����������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<����������������������������������������������������������������������������������������������������������������������������������A���B����������������������������������������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������<����������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<����������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������>UUU��������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=*����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_90.0_180.0.rmf b/rmf/Xrmf_90.0_180.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..fb5c70037030602fb8cc867178fdde41adcfe58e
--- /dev/null
+++ b/rmf/Xrmf_90.0_180.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=���������������������������������������������������������������������������������������������������������������������������������@���A �������	�������������������<��������������������������������������������������������������������������������������������������������������������������������A ��Ap�������
�������������������<��������������������������������������������������������������������������������������������������������������������������������Ap��A���������������������������<��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<���������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<���������������������������������������������������������������������������������������������������������������������������������A���B����������������������������<���������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������<���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������������������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<��������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������>"���������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=��7��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=?f���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=?f���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=?f���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<宧��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=��7��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=��������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=?f���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<���������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_90.0_270.0.rmf b/rmf/Xrmf_90.0_270.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..874d444467da782d11ba1bdcb9acb579671361b0
--- /dev/null
+++ b/rmf/Xrmf_90.0_270.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=[m���������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������<I%��������������������������������������������������������������������������������������������������������������������������������A ��Ap�������	�������������������������������������������������������������������������������������������������������������������������������������������������������Ap��A���������������������������<I%��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<�I%��������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<I%��������������������������������������������������������������������������������������������������������������������������������A���B����������������������������<�I%��������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������<�m���������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������������������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<I%��������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<�m���������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������>6�n��������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������<I%��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=�I%��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=6�n��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=I%��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=6�n��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�I%��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�m���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�I%��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=6�n��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�m���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=I%��������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<I%��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=6�n��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�I%��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�I%��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�m���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_90.0_360.0.rmf b/rmf/Xrmf_90.0_360.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..10a22e0b3e789017d000de7ce4361fa7a72a0552
--- /dev/null
+++ b/rmf/Xrmf_90.0_360.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=n����������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������������������������������������������������������������������������������������������������������������������������������������������A ��Ap��������������������������������������������������������������������������������������������������������������������������������������������������������������Ap��A�����������������������������<����������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������=����������������������������������������������������������������������������������������������������������������������������������A���A�����������������������������<����������������������������������������������������������������������������������������������������������������������������������A���B����������������������������������������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������<����������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<����������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������>UUU��������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=*����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/rmf/Xrmf_90.0_90.0.rmf b/rmf/Xrmf_90.0_90.0.rmf
new file mode 100644
index 0000000000000000000000000000000000000000..8ec6e0b42b5095c4358178b9ad2bd470d5e465b9
--- /dev/null
+++ b/rmf/Xrmf_90.0_90.0.rmf
@@ -0,0 +1 @@
+SIMPLE  =                    T / conforms to FITS standard                      BITPIX  =                    8 / array data type                                NAXIS   =                    0 / number of array dimensions                     EXTEND  =                    T                                                  END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             XTENSION= 'BINTABLE'           / binary table extension                         BITPIX  =                    8 / array data type                                NAXIS   =                    2 / number of array dimensions                     NAXIS1  =                  166 / length of dimension 1                          NAXIS2  =                   30 / length of dimension 2                          PCOUNT  =                    0 / number of group parameters                     GCOUNT  =                    1 / number of groups                               TFIELDS =                    6 / number of table fields                         TTYPE1  = 'ENERG_LO'                                                            TFORM1  = '1E      '                                                            TUNIT1  = 'keV     '                                                            TTYPE2  = 'ENERG_HI'                                                            TFORM2  = '1E      '                                                            TUNIT2  = 'keV     '                                                            TTYPE3  = 'N_GRP   '                                                            TFORM3  = '1I      '                                                            TTYPE4  = 'F_CHAN  '                                                            TFORM4  = '3J      '                                                            TTYPE5  = 'N_CHAN  '                                                            TFORM5  = '3J      '                                                            TTYPE6  = 'MATRIX  '                                                            TFORM6  = '33E     '                                                            EXTNAME = 'SPECRESP MATRIX'                                                     TELESCOP= 'THESEUS '                                                            INSTRUME= 'XGIS    '                                                            FILTER  = 'NONE    '                                                            CHANTYPE= 'PHA     '                                                            DETCHANS= 'NONE    '                                                            HDUCLASS= 'OGIP    '                                                            HDUCLAS1= 'RESPONSE'                                                            HDUCLAS2= 'RSP_MATRIX'                                                          HDUVERS = '1.3.0   '                                                            HIERARCH TLMIN# = 'NONE    '                                                    NUMGRP  = 'NONE    '                                                            NUMELT  = 'NONE    '                                                            PHAFILE = 'NONE    '                                                            LO_THRES= '0       '                                                            HDUCLAS3= 'REDIST  '                                                            RMFVERSN= '1992A   '                                                            HDUVERS1= '1.0.0   '                                                            HDUVERS2= '1.3.0   '                                                            END                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ����@���������������������������=}�	��������������������������������������������������������������������������������������������������������������������������������@���A ��������������������������<����������������������������������������������������������������������������������������������������������������������������������A ��Ap��������������������������������������������������������������������������������������������������������������������������������������������������������������Ap��A��������	�������������������<����������������������������������������������������������������������������������������������������������������������������������A���A��������
�������������������<�����������������������������������������������������������������������������������������������������������������������������������A���A���������������������������<�����������������������������������������������������������������������������������������������������������������������������������A���B����������������������������������������������������������������������������������������������������������������������������������������������������������������B��B ����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B ��B4����������������������������������������������������������������������������������������������������������������������������������������������������������������B4��BH����������������������������<����������������������������������������������������������������������������������������������������������������������������������BH��B\����������������������������<�|���������������������������������������������������������������������������������������������������������������������������������B\��Bp����������������������������>b�v��������������������������������������������������������������������������������������������������������������������������������Bp��B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=Y|���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������������������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=5=+��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�|���������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=5=+��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������<�����������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=�t��������������������������������������������������������������������������������������������������������������������������������B���B�����������������������������=����������������������������������������������������������������������������������������������������������������������������������B���C����������������������������<����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=5=+��������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������<�����������������������������������������������������������������������������������������������������������������������������������C��C����������������������������=����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file