<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sternwarte.uni-erlangen.de/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wilms</id>
	<title>Remeis-Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.sternwarte.uni-erlangen.de/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wilms"/>
	<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php/Special:Contributions/Wilms"/>
	<updated>2026-04-04T21:51:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3749</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3749"/>
		<updated>2025-05-23T10:26:43Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* List of project funds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! &lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e., state how much you would like to get reimbursed and put this in&lt;br /&gt;
the remarks field. As a rule of thumb, this should not include per diems and the like, but can include travel and accommodation costs. &lt;br /&gt;
&lt;br /&gt;
After approval, print the summary and give it to Edith.&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be paid from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Kapitel !! Titel !! Info 1 (AWK)  !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401171 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401182 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401186 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401188 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401191 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401196 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458046 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458065 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 2, P5) || 7458208 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458209 || 1518 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI until 2022 || 5002344 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI from 2023 || 0150234 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402745 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402304 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500245 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458204 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458205 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458206 || 1519 || 54741  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458168 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459704 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458207 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458221 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458225 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 0610006 || 1519 || 54740 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 8063141 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, on the form containing the KLR data you need to specify the following:&lt;br /&gt;
&lt;br /&gt;
* KLR-Verfahren: FAUKLR&lt;br /&gt;
* Buchungskreis: 0001&lt;br /&gt;
* Kostenart: 685000&lt;br /&gt;
* Kostenstelle: see above&lt;br /&gt;
* KLR Info 1: see above, leave empty if no info is given above&lt;br /&gt;
* KLR Info 2: your Zahlungspartner Nummer, as obtained from the idm&lt;br /&gt;
&lt;br /&gt;
All other fields should be left empty.&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3748</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3748"/>
		<updated>2025-05-23T10:25:26Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* List of project funds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! &lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e., state how much you would like to get reimbursed and put this in&lt;br /&gt;
the remarks field. As a rule of thumb, this should not include per diems and the like, but can include travel and accommodation costs. &lt;br /&gt;
&lt;br /&gt;
After approval, print the summary and give it to Edith.&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be paid from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Kapitel !! Titel !! Info 1 (AWK)  !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401171 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401182 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401186 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401188 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401191 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401196 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458046 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458065 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 2, P5) || 7458208 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458209 || 1518 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI until 2022 || 5002344 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI from 2023 || 0150234 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402745 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402304 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500245 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458204 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458205 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458206 || 1519 || 54741  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458168 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459704 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458207 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458221 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458225 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 0610006 || 1519 || 54740 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 8063141 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, on the form containing the KLR data you need to specify the following:&lt;br /&gt;
&lt;br /&gt;
* KLR-Verfahren: FAUKLR&lt;br /&gt;
* Buchungskreis: 0001&lt;br /&gt;
* Kostenstelle: see above&lt;br /&gt;
* Kostenart: 685000&lt;br /&gt;
* KLR Info 1: see above, leave empty if no info is given above&lt;br /&gt;
* KLR Info 2: your Zahlungspartner Nummer, as obtained from the idm&lt;br /&gt;
&lt;br /&gt;
All other fields should be left empty.&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3747</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3747"/>
		<updated>2025-05-23T10:17:39Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* List of project funds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! &lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e., state how much you would like to get reimbursed and put this in&lt;br /&gt;
the remarks field. As a rule of thumb, this should not include per diems and the like, but can include travel and accommodation costs. &lt;br /&gt;
&lt;br /&gt;
After approval, print the summary and give it to Edith.&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be paid from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Kapitel !! Titel !! Info 1 (AWK)  !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401171 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401182 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401186 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401188 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401191 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401196 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458046 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458065 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 2, P5) || 7458208 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458209 || 1518 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI until 2022 || 5002344 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI from 2023 || 0150234 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402745 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402304 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500245 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458204 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458205 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458206 || 1519 || 54741  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458168 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459704 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458207 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458221 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458225 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 0610006 || 1519 || 54740 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 8063141 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, on the form containing the KLR data you need to specify the following:&lt;br /&gt;
&lt;br /&gt;
* KLR-Verfahren: FAUKLR&lt;br /&gt;
* Buchungskreis: 0001&lt;br /&gt;
* Kostenstelle: see above&lt;br /&gt;
* Kostenart: 685000&lt;br /&gt;
* KLR Info 1: see above, leave empty if no info is given above&lt;br /&gt;
* KLR Info 2: your Zahlungspartner Nummer, as obtained from the idm&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3746</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3746"/>
		<updated>2025-05-23T10:15:09Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* List of project funds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! &lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e., state how much you would like to get reimbursed and put this in&lt;br /&gt;
the remarks field. As a rule of thumb, this should not include per diems and the like, but can include travel and accommodation costs. &lt;br /&gt;
&lt;br /&gt;
After approval, print the summary and give it to Edith.&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be paid from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Kapitel !! Titel !! Info 1 (AWK)  !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401171 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401182 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401186 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401188 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401191 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401196 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458046 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458065 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 2, P5) || 7458208 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458209 || 1518 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI until 2022 || 5002344 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI from 2023 || 0150234 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402745 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402304 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500245 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458204 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458205 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458206 || 1519 || 54741  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458168 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459704 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458207 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458221 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458225 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 061 000-6 || 1519 || 54740 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 806 3141 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, on the form containing the KLR data you need to specify the following:&lt;br /&gt;
&lt;br /&gt;
* KLR-Verfahren: FAUKLR&lt;br /&gt;
* Buchungskreis: 0001&lt;br /&gt;
* Kostenstelle: see above&lt;br /&gt;
* Kostenart: 685000&lt;br /&gt;
* KLR Info 1: see above, leave empty if no info is given above&lt;br /&gt;
* KLR Info 2: your Zahlungspartner Nummer, as obtained from the idm&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3745</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3745"/>
		<updated>2025-05-23T10:13:38Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* List of project funds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! &lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e., state how much you would like to get reimbursed and put this in&lt;br /&gt;
the remarks field. As a rule of thumb, this should not include per diems and the like, but can include travel and accommodation costs. &lt;br /&gt;
&lt;br /&gt;
After approval, print the summary and give it to Edith.&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be paid from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Kapitel !! Titel !! Info 1 (AWK)  !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401171 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401182 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401186 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401188 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401191 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401196 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458046 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458065 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 2, P5) || 7458208 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458209 || 1518 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI until 2022 || 5002344 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI from 2023 || 150234 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402 745 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402 304 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500 245 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458204 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458205 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458206 || 1519 || 54741  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458168 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459704 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458207 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458221 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458225 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 061 000-6 || 1519 || 54740 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 806 3141 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, on the form containing the KLR data you need to specify the following:&lt;br /&gt;
&lt;br /&gt;
* KLR-Verfahren: FAUKLR&lt;br /&gt;
* Buchungskreis: 0001&lt;br /&gt;
* Kostenstelle: see above&lt;br /&gt;
* Kostenart: 685000&lt;br /&gt;
* KLR Info 1: see above, leave empty if no info is given above&lt;br /&gt;
* KLR Info 2: your Zahlungspartner Nummer, as obtained from the idm&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3744</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3744"/>
		<updated>2025-05-23T09:55:05Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* List of project funds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! &lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e., state how much you would like to get reimbursed and put this in&lt;br /&gt;
the remarks field. As a rule of thumb, this should not include per diems and the like, but can include travel and accommodation costs. &lt;br /&gt;
&lt;br /&gt;
After approval, print the summary and give it to Edith.&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be paid from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Kapitel !! Titel !! Info 1 (AWK)  !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401171 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401182 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401186 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401188 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401191 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401196 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 1, P5) || 7458208 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458046 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458065 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458209 || 1518 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI until 2022 || 5002344 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI from 2023 || 150234 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402 745 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402 304 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500 245 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458204 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458205 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458206 || 1519 || 54741  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458168 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459704 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458207 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458221 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458225 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 061 000-6 || 1519 || 54740 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 806 3141 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the AWK is empty in the table above, do not put anything in the '''Info 1''' field. Otherwise add the given abbreviation.&lt;br /&gt;
&lt;br /&gt;
Additionally, on the form where you are entering the KLR data you need to specify the following:&lt;br /&gt;
&lt;br /&gt;
* KLR-Verfahren: FAUKLR&lt;br /&gt;
* Buchungskreis: 0001&lt;br /&gt;
* Kostenstelle: see above&lt;br /&gt;
* Kostenart: 685000&lt;br /&gt;
* KLR Info 1: see above, leave empty if no info is given above&lt;br /&gt;
* KLR Info 2: your Zahlungspartner Nummer, as obtained from the idm&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3743</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3743"/>
		<updated>2025-05-23T09:49:53Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Reimbursement in advance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! &lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e., state how much you would like to get reimbursed and put this in&lt;br /&gt;
the remarks field. As a rule of thumb, this should not include per diems and the like, but can include travel and accommodation costs. &lt;br /&gt;
&lt;br /&gt;
After approval, print the summary and give it to Edith.&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be payed from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Kapitel !! Titel !! Info 1 (AWK)  !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401171 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401182 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401186 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401188 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401191 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401196 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 1, P5) || 7458208 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458046 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458065 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458209 || 1518 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI until 2022 || 5002344 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI from 2023 || 150234 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402 745 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402 304 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500 245 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458204 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458205 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458206 || 1519 || 54741  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458168 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459704 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458207 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458221 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458225 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 061 000-6 || 1519 || 54740 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 806 3141 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additionally you need to specify the kind of expense (Kostenart): 685000. If the AWK is empty in the table above, do not put anything in the '''Info 1''' field. Otherwise add the given symbol.&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3742</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3742"/>
		<updated>2025-05-23T09:48:03Z</updated>

		<summary type="html">&lt;p&gt;Wilms: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! &lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e. we should already have this in mind while filling out the application. &lt;br /&gt;
&lt;br /&gt;
The following may be outdated: If you need to be reimbursed in advance. After approval of the trip, print the trip summary and talk to Edith.)&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be payed from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Kapitel !! Titel !! Info 1 (AWK)  !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401171 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401182 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401186 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401188 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401191 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401196 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 1, P5) || 7458208 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458046 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458065 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458209 || 1518 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI until 2022 || 5002344 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI from 2023 || 150234 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402 745 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402 304 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500 245 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458204 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458205 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458206 || 1519 || 54741  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458168 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459704 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458207 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458221 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458225 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 061 000-6 || 1519 || 54740 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 806 3141 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additionally you need to specify the kind of expense (Kostenart): 685000. If the AWK is empty in the table above, do not put anything in the '''Info 1''' field. Otherwise add the given symbol.&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3741</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3741"/>
		<updated>2025-05-23T09:47:39Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* List of project funds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! In the field '''Kapitel''' enter '''1519'''!&lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e. we should already have this in mind while filling out the application. &lt;br /&gt;
&lt;br /&gt;
The following may be outdated: If you need to be reimbursed in advance. After approval of the trip, print the trip summary and talk to Edith.)&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be payed from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Kapitel !! Titel !! Info 1 (AWK)  !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401171 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401182 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401186 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401188 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401191 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401196 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 1, P5) || 7458208 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458046 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458065 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458209 || 1518 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI until 2022 || 5002344 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI from 2023 || 150234 || 1519 || 54740 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402 745 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402 304 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500 245 || 1519 || 54741 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458204 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458205 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458206 || 1519 || 54741  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458168 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459704 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 1519 || 54740 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458207 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458221 || 1519 || 54741 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458225 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || ||&lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 061 000-6 || 1519 || 54740 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 806 3141 || 1519 || 54741 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additionally you need to specify the kind of expense (Kostenart): 685000. If the AWK is empty in the table above, do not put anything in the '''Info 1''' field. Otherwise add the given symbol.&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3737</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3737"/>
		<updated>2025-05-16T09:19:37Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Hotel costs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! In the field '''Kapitel''' enter '''1519'''!&lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (this is the German version, see below for additional guidance in English).&lt;br /&gt;
&lt;br /&gt;
In order to receive documents per email you need to sign the [[:Media:Bayrms_data_protection.pdf|data protection waiver]] (in German!) and hand it in (in paper form!).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours. Weekends are also part of the trip, if the conference is more than one week long, so this is not &amp;quot;private time&amp;quot; in this form ((c) - Joern)&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Meals ===&lt;br /&gt;
If food is provided by hotel/conference and you do not pay for it extra - make the corresponding mark in the day&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory, in the very end of the form) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
=== Mitreisende ===&lt;br /&gt;
Only employees of Bavaria (e.g., if you drive from work with someone)&lt;br /&gt;
&lt;br /&gt;
=== Hotel costs ===&lt;br /&gt;
It is good if you have some proof why you have taken this particular option. Get some documentation (e.g., print web-page with costs) at the moment of booking, which would display other possible options in this hotel or in other hotels around.&lt;br /&gt;
&lt;br /&gt;
If you travel with family, you will not be reimbursed for the difference between the single room and the room you've taken (e.g., double), so you need to document the difference of the room cost AT THE TIME OF BOOKING.&lt;br /&gt;
&lt;br /&gt;
If you are staying somewhere without having to pay, choose &amp;quot;unentgeltliche Uebernachtung&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Reimbursement in advance ===&lt;br /&gt;
According to Edith, reimbursement in advance requires entering a remark at the end of the form, i.e. we should already have this in mind while filling out the application. &lt;br /&gt;
&lt;br /&gt;
The following may be outdated: If you need to be reimbursed in advance. After approval of the trip, print the trip summary and talk to Edith.)&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be payed from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Titel !! AWK !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401 171 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401 182 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401 186 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401 188 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401 191 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401 196 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 1, P5) || 7458 208 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458 046 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458 065 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458 209 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI bis 2022 || 5002344 || 547 40 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI ab 2023 || 150234 || 547 40 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402 745 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402 304 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500 245 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458 204 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458 205 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458 206 || 547 41  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458 168 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459 704 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 547 40 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 547 40 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458 207 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458 221 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458 225 || 547 41 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 061 000-6 || 547 40 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 806 3141 || 547 41 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additionally you need to specify the kind of expense (Kostenart): 685000. If the AWK is empty in the table above, do not put anything in the '''Info 1''' field. Otherwise add the given symbol.&lt;br /&gt;
&lt;br /&gt;
== English information ==&lt;br /&gt;
&lt;br /&gt;
Here are some PDFs you might find helpful to navigate through the German landscape of bureaucracy.&lt;br /&gt;
&lt;br /&gt;
Some [[:Media:Additional_information_BayRMS.pdf|additional information]] in Englisch&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_data_protection.pdf|data protection waiver]] (you still have to sign the German one!)&lt;br /&gt;
&lt;br /&gt;
The [[:Media:Bayrms_eng_introduction_slides.pdf|introduction slides]]&lt;br /&gt;
&lt;br /&gt;
A [[:Media:Bayrms_glossary.pdf|glossary]] to match English and German terms. (REALLY HELPFUL, CONTAINS INFORMATION TO INSERT)&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=3725</id>
		<title>Remeis English Checklist</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=3725"/>
		<updated>2025-05-08T10:08:57Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* The Remeis English Checklist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== The Remeis English Checklist ======&lt;br /&gt;
&lt;br /&gt;
(by J. Wilms and K. Pottschmidt)&lt;br /&gt;
&lt;br /&gt;
'''''First of all and most importantly:'''''&lt;br /&gt;
&lt;br /&gt;
* did you read the instructions to authors of the journal? If you are working on a thesis, did you read those of Astronomy and Astrophysics on [https://www.aanda.org/for-authors/language-editing/1-introduction language] and the TeX instructions in file aadoc.pdf, which is part of the Astronomy and Astrophysics package?&lt;br /&gt;
* did you read appendix A of the [https://journals.aps.org/files/rmpguide.pdf instructions to authors] of Rev Mod Phys?&lt;br /&gt;
&lt;br /&gt;
==== Punctuation ====&lt;br /&gt;
&lt;br /&gt;
* did you remove all commas before &amp;quot;that&amp;quot;?&lt;br /&gt;
* did you end your footnotes and captions with a full stop (&amp;quot;.&amp;quot;)?&lt;br /&gt;
* did you make sure that your use of &amp;quot;data&amp;quot; is correct and uses plural verbs?&lt;br /&gt;
* did you make sure that you do not have a &amp;quot;:&amp;quot; anywhere before an equation, but that your equations are seen as part of your sentences?&lt;br /&gt;
* did you make sure that you have commas surrounding &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
==== Spelling and Word usage ====&lt;br /&gt;
&lt;br /&gt;
* do you consistently use either British or American spelling?&lt;br /&gt;
* did you run a spell checker over your manuscript? For TeX, use &amp;quot;ispell&amp;quot; or the built in spell checker in emacs.&lt;br /&gt;
* did you make sure not to use country prefixes in addresses in the author list?&lt;br /&gt;
* did you avoid passive voice as much as possible?&lt;br /&gt;
* did you make sure that you are //not// using &amp;quot;The found results are...&amp;quot; and similar German constructs in your text?&lt;br /&gt;
* did you make sure that everything in your text that is not your original result is accompanied by proper citations?&lt;br /&gt;
* did you make sure that you distinguish between &amp;quot;estimate&amp;quot; and &amp;quot;estimation&amp;quot; by replacing all &amp;quot;estimation&amp;quot; with &amp;quot;estimate&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;exemplary&amp;quot; by &amp;quot;example&amp;quot;?&lt;br /&gt;
* did you use &amp;quot;short&amp;quot; for length intervals and &amp;quot;brief&amp;quot; for time intervals? (but note that &amp;quot;short of duration&amp;quot; is correct) &lt;br /&gt;
* did you replace all uses of &amp;quot;the actual value&amp;quot; by &amp;quot;the real value&amp;quot;? (if you are German, &amp;quot;actual&amp;quot; does not mean &amp;quot;aktuell&amp;quot;!)&lt;br /&gt;
* did you remove all uses of &amp;quot;hence&amp;quot; and &amp;quot;thereby&amp;quot;?&lt;br /&gt;
* did you make sure that you use &amp;quot;however&amp;quot; as sparingly as possible?&lt;br /&gt;
* did you make sure that you did not use &amp;quot;the equation reads..&amp;quot;, but rather used &amp;quot;the equation is...&amp;quot; or &amp;quot;the equation is given by...&amp;quot;?&lt;br /&gt;
* did you avoid split infinitives? (&amp;quot;to boldly go...&amp;quot; is wrong; yes, in many cases split infinitives are ok in current English, but they tend to be so often used wrongly by non-native speakers that it is best to avoid them)&lt;br /&gt;
* did you make sure that you distinguish properly between &amp;quot;this&amp;quot; and &amp;quot;these&amp;quot;?&lt;br /&gt;
* did you make use of the &amp;quot;Oxford comma&amp;quot;, i.e., do you have a comma before &amp;quot;and&amp;quot; in lists?&lt;br /&gt;
* did you use &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot; correctly, i.e., using &amp;quot;i.e.&amp;quot; for a specific clarification or definition and &amp;quot;e.g.&amp;quot; where you would otherwise use &amp;quot;for example&amp;quot;?&lt;br /&gt;
* did you use the IAU recommended year - month - day sequences (2016 March 15)?&lt;br /&gt;
* did you make sure that you did not use contractions such as &amp;quot;didn't&amp;quot; or &amp;quot;you're&amp;quot;?&lt;br /&gt;
* did you replace &amp;quot;cf.&amp;quot; with &amp;quot;see&amp;quot; everywhere since you know that &amp;quot;cf.&amp;quot; means &amp;quot;compare&amp;quot;?&lt;br /&gt;
* did you ensure that you use &amp;quot;opportunity&amp;quot; where in German you would be using &amp;quot;Chance&amp;quot; or &amp;quot;Gelegenheit&amp;quot; (and did not use &amp;quot;chance&amp;quot;...)?&lt;br /&gt;
* did you make sure that the reader will understand what thing you refer to when using &amp;quot;it&amp;quot; rather than naming it? &lt;br /&gt;
* did you make sure that all uses of &amp;quot;this&amp;quot; are followed by the object you are referring to? &lt;br /&gt;
* did you use &amp;quot;led&amp;quot; rather than &amp;quot;lead&amp;quot; when using the past tense of the verb &amp;quot;to lead&amp;quot;?&lt;br /&gt;
* did you reread the manuscript for internal consistency after you added comments from your coauthors?&lt;br /&gt;
* did you make sure that your sentences are short (rule of thumb: if a sentence goes over more than three lines it is probably too long)?&lt;br /&gt;
* did you check that you did not combine two sentences that could be separate sentences with &amp;quot;and&amp;quot;?&lt;br /&gt;
* did you avoid abbreviations as much as possible and only used them when they are really, really common (HST, AGN, XMM,...)?&lt;br /&gt;
* did you check that you defined all abbreviations that you used at their first usage? (&amp;quot;...Active Galactic Nucleus (AGN)...&amp;quot; //not// &amp;quot;...AGN (Active Galactic Nucleus)...&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
==== Citations ====&lt;br /&gt;
&lt;br /&gt;
* did you add the journal to all publications where you list the arXiv-reference and not just blindly copy the erroneous ADS bibtex entry?&lt;br /&gt;
* did you make sure that you distinguished between arXiv references where a paper is submitted and references where a paper is already accepted by checking the paper author's comment on the arXiv-page for that article?&lt;br /&gt;
* did you remove the page number for all ATEL-references downloaded from ADS and changed the journal name to &amp;quot;Astron. Tel.&amp;quot; or &amp;quot;ATEL&amp;quot;? (and similar for IAU telegrams)&lt;br /&gt;
* did you add editors and the title of the conference publication to all conference publications?&lt;br /&gt;
* did you add the publisher and place information (city only) to all books, conference publications, and other book-like publications that you are citing?&lt;br /&gt;
* did you check that your references are correct in that you are using ''\citet{biblabel}'' for references in the text and ''\citep{biblabel}'' for references in parentheses?&lt;br /&gt;
* did you make sure that none of your ''\citet{..}'' commands refer to more than one biblabel?&lt;br /&gt;
* [added by O. Koenig: did you make sure all SPIE references have an address? (you may want to follow this procedure: go to NASA ADS to get bibtex entry (&amp;lt;code&amp;gt;@inproceedings&amp;lt;/code&amp;gt;!), put the entry of &amp;quot;booktitle&amp;quot; into &amp;quot;series&amp;quot;, put &amp;lt;code&amp;gt;booktitle = procspie&amp;lt;/code&amp;gt; (there should be a &amp;lt;code&amp;gt;@STRING{procspie = &amp;quot;Proc. SPIE.&amp;quot;}&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;mnemonic.bib&amp;lt;/code&amp;gt;, go to the SPIE webpage of the paper, get the address, and insert it by hand. A MWE could be &amp;lt;code&amp;gt;@INPROCEEDINGS{Doehring2015a, author = {{D{\&amp;quot;o}hring}, T. and {...}, title = &amp;quot;{The challenge of developing thin mirror shells for future x-ray telescopes}&amp;quot;, series = {Optical Systems Design 2015: Optical Fabrication, Testing, and Metrology V}, year = 2015, editor = {{Duparr}, A. and {Geyl}, R.}, booktitle = procspie, volume = {9628}, address = {Jena, Germany}, pages = {962809}}&amp;lt;/code&amp;gt;)]&lt;br /&gt;
&lt;br /&gt;
==== Typesetting (mainly in TeX) ====&lt;br /&gt;
&lt;br /&gt;
* did you check for missing spaces between values and units?&lt;br /&gt;
* did you make sure that all scientific units are typeset in &amp;lt;code&amp;gt;\mathrm&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure not to use constructs such as &amp;lt;code&amp;gt;$\mathrm{m}/\mathrm{s}$&amp;lt;/code&amp;gt; by using &amp;lt;code&amp;gt;$\mathrm{m}\,\mathrm{s}^{-1}$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that almost all of your error bars are rounded up to only one significant digit rather than following the DIN-norm (which is not applied in astronomical journals)?&lt;br /&gt;
* did you make sure that you are not using any positioning commands for the table or figure environment such as &amp;lt;code&amp;gt;\begin{table}[htpb]&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure that your tables have captions above the table, and figures have captions below the figure or next to it (where allowed by the style)?&lt;br /&gt;
* did you make sure that you use empty lines to denote the start of a new paragraph rather than the ''\\''-command? (use &amp;lt;code&amp;gt;\parindent{0pt}&amp;lt;/code&amp;gt; if you do not want to indent paragraphs)&lt;br /&gt;
* did you make sure that there are no paragraph endings above or below &amp;lt;code&amp;gt;\begin{equation}...\end{equation}&amp;lt;/code&amp;gt; by ensuring that there is no empty line above or below the ''equation''-environment?&lt;br /&gt;
* did you make sure that you are not using &amp;lt;code&amp;gt;$\frac{a}{b}$&amp;lt;/code&amp;gt; in normal text, but use &amp;lt;code&amp;gt;$a/b$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that you are not using the &amp;lt;code&amp;gt;displaymath&amp;lt;/code&amp;gt;-environment and that all equations are numbered?&lt;br /&gt;
* did you make sure that all of your sections, subsections, paragraphs and so on are numbered?&lt;br /&gt;
* did you avoid any and all uses of &amp;lt;code&amp;gt;\bf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\it&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\sl&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;\em&amp;lt;/code&amp;gt; and use the proper commands &amp;lt;code&amp;gt;\textbf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textit&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textsl&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;\emph&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you use the en-dash of TeX for ranges, even if they occur in math, by using &amp;lt;code&amp;gt;--&amp;lt;/code&amp;gt; in text mode rather than a minus sign? (that is, did you typeset a range in an equation as &amp;lt;code&amp;gt;$3x$--$5x$&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$3x\mbox{--}5x$&amp;lt;/code&amp;gt; rather than, erroneously, &amp;lt;code&amp;gt;$3x-5x$&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you correctly use the minus-sign and dashes in astronomical source names, where the name contains coordinates and the &amp;lt;q&amp;gt;dash&amp;lt;/q&amp;gt; really is a southern declination or Galactic latitude, that is, did you typeset &amp;lt;code&amp;gt;Her X-1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LMC X-3&amp;lt;/code&amp;gt;, but &amp;lt;code&amp;gt;GX\,339$-$4&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;IGR J16318$-$4848&amp;lt;/code&amp;gt; (and as a really difficult one: &amp;lt;code&amp;gt;MCG$-$6-30-15&amp;lt;/code&amp;gt;)?&lt;br /&gt;
** as a side note: When the first part of the source name is a constellation name (e.g., Her X-1) it should be followed by a full space (&amp;lt;code&amp;gt;~&amp;lt;/code&amp;gt;), while if the first part of the source name is a catalog (GX, 4U, 2RXS), it should be followed by a half-space (&amp;lt;code&amp;gt;\,&amp;lt;/code&amp;gt;).&lt;br /&gt;
* did you make sure to typeset hydrogen equivalent columns as &amp;lt;code&amp;gt;$N_\mathrm{H}$&amp;lt;/code&amp;gt; rather than $n_H$ or $n_\mathrm{H}$? (note: in astronomy, $n$ denotes a particle density, so it has units of particles per cubic centimeter, while N is a column with units of particles per square centimeter; a certain analysis program uses nH for this parameter, but this does not mean that n should be used in papers).&lt;br /&gt;
&lt;br /&gt;
[[Category:Current Members]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3716</id>
		<title>Travel</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Travel&amp;diff=3716"/>
		<updated>2025-05-07T08:14:41Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Travel days (Reisetage) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal]]&lt;br /&gt;
&lt;br /&gt;
This page documents how to apply for business travel and hand in the reimbursement with the online tool accessible through [https://www.mitarbeiterservice.bayern.de/ authega]. This requires you to have an account set up. If you sign up for the first time you will be send a letter (! yes, physical letter, this can take some days) with information for the login. For further logins it is best to use a certificate file with a password.&lt;br /&gt;
&lt;br /&gt;
Once logged in you can access the travel management (Reisekostenmanagement, RMS) and enter the necessary information there. Certain numbers are tied to the observatory and will always be the same, they are documented below. '''Note:''' When selecting the institution (Besch&amp;amp;auml;ftigungsbeh&amp;amp;ouml;de) do '''not''' use the Remeis-Observatory or any other smaller body. Instead use the general FAU entry with the number '''1519016'''! In the field '''Kapitel''' enter '''1519'''!&lt;br /&gt;
&lt;br /&gt;
More information for the general setup are in the [[:Media:introduction_bayrms.pdf|introductory slides]] (unfortunately only in German, but mostly with images so you should at least get the right buttons from it).&lt;br /&gt;
&lt;br /&gt;
== Application for business travel ==&lt;br /&gt;
&lt;br /&gt;
Some notes on filling in these forms:&lt;br /&gt;
&lt;br /&gt;
=== Travel days (Reisetage) ===&lt;br /&gt;
On each day, you need to input the start and end of your &amp;quot;business&amp;quot;.&lt;br /&gt;
If you are, say attending a conference starting Monday at 2 PM and ending on a Friday at noon, your times should look like this:&lt;br /&gt;
* Monday: Start at 14:00, end at '''23:59'''&lt;br /&gt;
* Tue-Thur: Start at '''0:00''', end at '''23:59'''&lt;br /&gt;
* Fri: Start at '''0:00''', end at 12:00&lt;br /&gt;
&lt;br /&gt;
The point here being that you are still there &amp;quot;on business&amp;quot; even outside the main conference hours.&lt;br /&gt;
&lt;br /&gt;
(NB: There are still discussions between the administration and Joern about this)&lt;br /&gt;
&lt;br /&gt;
=== Mitzeichner (Signatory) ===&lt;br /&gt;
This needs to be your boss, who will then forward it to P6.&lt;br /&gt;
&lt;br /&gt;
== Handing in reimbursement ==&lt;br /&gt;
&lt;br /&gt;
== List of project funds ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of project funds that you travel might be payed from. '''Before submitting your reimbursement form ask your supervisor what project to use! Every time!'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
 |+ Project numbers&lt;br /&gt;
 |-&lt;br /&gt;
 ! Name !! Erweiterung !! Titel !! AWK !! Kostenstelle&lt;br /&gt;
 |-&lt;br /&gt;
| DLR 50 OR 2309 (VF-ULX) || 7401 171 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2417 (THESEUS) || 7401 182 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OR 2410 (VF-XMM Aafia) || 7401 186 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2503 (eROSITA) || 7401 188 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 QR 2508 (ATHENA) || 7401 191 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DLR 50 OO 2507 (AXIS) || 7401 196 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/17-2 (eRO STEP 1, P5) || 7458 208 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/19-1 (eRO STEP 1, P6) || 7458 046 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/20-1 (FOR 5195, P2) || 7458 065 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG WI 1860/21-1 (eRO STEP 2, P7) || 7458 209 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI bis 2022 || 5002344 || 547 40 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead WI ab 2023 || 150234 || 547 40 || PPS || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| ESA (DALI) || 7402 745 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| Wlms Altprojekte || 7402 304 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
| ETI Förderung || 5500 245 || 547 41 ||  || 1415151100&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/13-2 (eRO STEP 2, P1) || 7458 204 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/14-2 (eRO STEP 2, P2) || 7458 205 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/15-2 (eRO STEP 2, TP Z) || 7458 206 || 547 41  ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 2131/18-1 (eROSITA Galaxien) || 7458 168 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA (Altprojekte) || 7459 704 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA bis 2022 || 5002391 || 547 40 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG overhead SA ab 2023 || 0150178 || 547 40 || PPS || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| DFG SA 4388/2-1 (Saeedi) || 7458 207 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG MA 11073/1-1 (Mayer) || 7458 221 || 547 41 ||  || 1415150013&lt;br /&gt;
|-&lt;br /&gt;
| DFG HE 1356/70-2 (Heber) || 7458 225 || 547 41 ||  || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
|  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| 73er Titel || 061 000-6 || 547 40 || FuL || 1415150000&lt;br /&gt;
|-&lt;br /&gt;
| 72er Titel || 806 3141 || 547 41 ||  || 1415150000&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additionally you need to specify the kind of expense (Kostenart): 685000. If the AWK is empty in the table above, do not put anything in the '''Info 1''' field. Otherwise add the given symbol.&lt;br /&gt;
&lt;br /&gt;
== ''OUTDATED!'' Business and private travels ==&lt;br /&gt;
&lt;br /&gt;
If you intend to combine a business trip with a vacation to save money or just because of the occasion, you need to observe a couple of issues:&lt;br /&gt;
&lt;br /&gt;
  * first of all, combining business and private travel is in principle nothing that the university likes&lt;br /&gt;
  * you *need* to get the private travel authorized on the travel request form, i.e. you need to state *both* on travel request form&lt;br /&gt;
  * obviously you will not get any reimbursement for the private part of your trip, or any extra expenses arising from your vacation&lt;br /&gt;
  * to get reimbursement for your business part of the trip, you need to document what the business part alone would have cost. In detail this means that you need to document:&lt;br /&gt;
    * fictitious cost of flights/train tickets/rental car/etc for the business part of the trip&lt;br /&gt;
    * fictitious cost of flights/train tickets/etc to and from the business destination of the trip&lt;br /&gt;
  * nevertheless you also obviously need to state your actual cost (flight tickets etc).&lt;br /&gt;
  * the university will reimburse you only the *lesser* of your actual cost and the fictitious cost!\\ This means that if your flight would have cost 1000 Eur, but because you stayed longer for private reasons (i.e. over the weekend) and the actual flight is cheaper like 700 Eur, the university will only reimburse you 700 Eur.&lt;br /&gt;
&lt;br /&gt;
Furthermore apart from the reimbursement by the university, you have also to consider the taxes: the fiscal authorities might consider such a combination of business and private trip entirely private and therefore the reimbursement as additional income. So far,&lt;br /&gt;
this has never happened in Bamberg to Jörns knowledge, but in principle tax&lt;br /&gt;
regulations state that for a trip to count as a business trip, the&lt;br /&gt;
business portion must outbalance the private portion. To give an&lt;br /&gt;
example: a 3d observing run in Australia followed by a 2 week vacation&lt;br /&gt;
there would probably not be seen as a business related trip (even if it&lt;br /&gt;
was!), even though the university would reimburse you for your flights&lt;br /&gt;
and the 3d per diem.&lt;br /&gt;
((Based on a FAQ Email sent by Jörn to allusers on April 4, 2011))&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xmm&amp;diff=3191</id>
		<title>Xmm</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xmm&amp;diff=3191"/>
		<updated>2024-01-04T15:30:39Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Workaround for the xmmscripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Data ==&lt;br /&gt;
&lt;br /&gt;
Always use the remeis archives at /eu/X-ray/XMM/data/ instead of downloading observation files yourself. You can search for the data of an observation by typing something like '''find /eu/X-ray/xmm/data/????/obsID/odf -type d''' - replacing obsID with your observation ID.&lt;br /&gt;
If the observation you want to analyze is not in the archives: contact the XMM admin (Jonathan Knies) and the observation will be downloaded for you.&lt;br /&gt;
&lt;br /&gt;
== XMM EPIC Data Extraction ==&lt;br /&gt;
&lt;br /&gt;
After the system was updated from Ubuntu 11 to Ubuntu 12 a problem occured with the function &amp;quot;dssetattr&amp;quot; inside the &amp;quot;epchain&amp;quot;.&lt;br /&gt;
This function can set/add an attribute to the HDU (Header/Data Unit).&lt;br /&gt;
The solution is to call &lt;br /&gt;
''''source $SOFTDIR/sas_init.csh''''&lt;br /&gt;
at the beginning of each script in order to initialize SAS inside your script.&lt;br /&gt;
&lt;br /&gt;
A little example script:&lt;br /&gt;
&lt;br /&gt;
     #!/bin/csh                                        &lt;br /&gt;
     source $SOFTDIR/sas_init.csh     # initialize the SAS software &lt;br /&gt;
     set xmmscripts = ${XMMTOOLS}    # make sure the proper xmmscripts are loaded&lt;br /&gt;
     &lt;br /&gt;
     set obsid = '0147190101'&lt;br /&gt;
     set datadir = /eu/X-ray/XMM/data/????/$obsid/odf&lt;br /&gt;
     &lt;br /&gt;
     ${xmmscripts}/xmmprepare --datadir=$datadir --prepdir=$obsid --pn                     # prepare the data&lt;br /&gt;
     ${xmmscripts}/xmmextract --prepdir=$obsid --pn --full                                 # full extraction of the chip&lt;br /&gt;
     ${xmmscripts}/xmmextract --prepdir=$obsid --pn --srcreg=src.fits --bkgreg=bkg.fits    # source and background extraction of the chip&lt;br /&gt;
     &lt;br /&gt;
Note that it is usually better to have the data preparation and the extraction in separate scripts (since one usually prepares once and then tries several extractions with different settings).&lt;br /&gt;
&lt;br /&gt;
The xmmscripts need the region files to be fits files. You can convert them via&lt;br /&gt;
     ds9tocxc outset=outfilename.fits &amp;lt; infilename.reg&lt;br /&gt;
&lt;br /&gt;
For simple extractions of point sources creating region files is not necessary, you can just give the position of the source and background region as well as their extraction radii with the &amp;quot;--ra&amp;quot;, &amp;quot;--dec&amp;quot; and &amp;quot;--bkgra&amp;quot;, &amp;quot;--bkgdec&amp;quot; arguments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;xmmextract&amp;quot; is a very powerful script, use its &amp;quot;--help&amp;quot; argument to get a list of all arguments.&lt;br /&gt;
&lt;br /&gt;
Further important points:&lt;br /&gt;
&lt;br /&gt;
# If your observation includes sub-observations, choose one of them. Do this with &amp;quot;onlyexp=1&amp;quot; not &amp;quot;onlyexp=PNU001&amp;quot; for example.&lt;br /&gt;
# Since our Calibration database gets updated frequently, we ran into the problem that new calibration files only like the latest SAS. As it is very problematic to just install the new SAS, there is a workaround. You have to address the calibration files that are working with our SAS version until the new SAS is installed (we must be patient as this is not trivial). The following, however, works perfectly:&lt;br /&gt;
&lt;br /&gt;
example:&lt;br /&gt;
&lt;br /&gt;
     #!/bin/csh&lt;br /&gt;
     ${XMMTOOLS}/xmmprepare --datadir=/eu/X-ray/XMM/data/2290/0679780201/odf/ &lt;br /&gt;
     --prepdir=./test --pn --analysisdate=2014-01-11T01:05:00.000&lt;br /&gt;
&lt;br /&gt;
== XMM OM Data Extraction ==&lt;br /&gt;
&lt;br /&gt;
For extracting the data of the Optical Monitor (OM) onboard XMM, there exist three tools which do this automatically: ''omichain'', ''omfchain'' and ''omgchain''.&lt;br /&gt;
&amp;quot;i&amp;quot; stands for image mode, &amp;quot;f&amp;quot; for fast mode and &amp;quot;g&amp;quot; for grism mode. Which mode you have can be found on the XMM log browse site: http://xmm2.esac.esa.int/external/xmm_obs_info/obs_view_frame.shtml.&lt;br /&gt;
If you want to extract your images you first have to set some paths:&lt;br /&gt;
&lt;br /&gt;
     $source $SOFTDIR/sas_init.csh &lt;br /&gt;
     $setenv SAS_ODF path_to_your_data   #normally /eu/X-ray/XMM/data/rev/ObsID/odf/&lt;br /&gt;
     $cifbuild&lt;br /&gt;
     $setenv SAS_CCF ccf.cif&lt;br /&gt;
     $odfingest&lt;br /&gt;
     $setenv SAS_ODF `ls -1 *SUM.SAS`&lt;br /&gt;
&lt;br /&gt;
After this you can run&lt;br /&gt;
     &lt;br /&gt;
     $omichain   #or omfchain, omgchain&lt;br /&gt;
     &lt;br /&gt;
You can also do the extraction step-by-step. For a description see http://xmm.esac.esa.int/sas/current/documentation/threads/omi_stepbystep.shtml.&lt;br /&gt;
At the end you should have several images (&amp;lt;code&amp;gt;*IMAGE*&amp;lt;/code&amp;gt;), region files (&amp;lt;code&amp;gt;*REGION*&amp;lt;/code&amp;gt;) and source lists (&amp;lt;code&amp;gt;*SWSRLI*&amp;lt;/code&amp;gt;) for the OM exposures and filters. The nomenclatur for the files are:   &lt;br /&gt;
&lt;br /&gt;
* IOOOOOOOOOODDUEEETTTTTTSXXX.FFF or POOOOOOOOOODDUEEETTTTTTSXXX.FFF (for PPS product files)&lt;br /&gt;
* OOOOOOOOOO = XMM-ObsID (10 characters)&lt;br /&gt;
* DD = Data source idetifier (here OM)&lt;br /&gt;
* U = exposure flag (S = sched, U = unsched, X = not aplicable)&lt;br /&gt;
* EEE = exposure number within the instrument observation (3 characters)&lt;br /&gt;
* TTTTTT = product type (6 characters)&lt;br /&gt;
* S = 0 or data subset number/character&lt;br /&gt;
* XXX = source number or slew step number (3 characters)&lt;br /&gt;
* FFF = file format (3 characters)&lt;br /&gt;
&lt;br /&gt;
From all exposures for one filter a mosaiced sky image is produced which contains *SIMAG?.FIT. The ? stands for the filter: L = UVW1, M = UVM2, S = UVW2, B = B, U = U, V = V. &lt;br /&gt;
Open the image with ds9 and have a look if your source is seen and where it is. You can check this by loading a region file, produced e.g. by simbad2ds9, into the image. &lt;br /&gt;
&lt;br /&gt;
Then check the detector images (&amp;lt;code&amp;gt;P*IMAGE_*000.FIT&amp;lt;/code&amp;gt;) for your source (it can be, that some detector images don't contain your source because the window was off). Load the region file which belongs to the detector image (&amp;lt;code&amp;gt;*REGION*000.ASC&amp;lt;/code&amp;gt;, e.g. &amp;lt;code&amp;gt;P0090050801OMS006IMAGE_0000.FIT&amp;lt;/code&amp;gt; -&amp;gt; ''I0090050801OMS006REGION0000.ASC&amp;lt;/code&amp;gt;) and identify the number of your source. &lt;br /&gt;
&lt;br /&gt;
[[File:image_region.jpeg|thumb]]&lt;br /&gt;
&lt;br /&gt;
Look into the source list for your exposure (&amp;lt;code&amp;gt;P*SWSRLI*.FIT&amp;lt;/code&amp;gt;) and note the SRC_ID in the last column. Open the combined source list (&amp;lt;code&amp;gt;*COMBO*&amp;lt;/code&amp;gt;) and search for your SRC_ID. Here you can find all the magnitudes and fluxes of your source for the different filters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Choosing correct XMM-EPIC filter ==&lt;br /&gt;
&lt;br /&gt;
Choosing the correct EPIC filter for your observation depends on the&lt;br /&gt;
visual magnitudes of the other objects (usually stars) in the EPIC&lt;br /&gt;
field of view.&lt;br /&gt;
&lt;br /&gt;
The XMM user's handbook (sect. 3.3.6; &lt;br /&gt;
http://xmm.esac.esa.int/external/xmm_user_support/documentation/uhb/epicfilters.html) recommends:&lt;br /&gt;
&lt;br /&gt;
Thick filter:  suppress up to magnitudes of  -2 to -1 (pn), or +1 to +4 (mos)&lt;br /&gt;
&lt;br /&gt;
Medium filter: if there is nothing above magnitude ~ 6 to 9&lt;br /&gt;
&lt;br /&gt;
Thin filter:   for point sources that are 12 mag fainter than thick filter limitations&lt;br /&gt;
&lt;br /&gt;
The UHB notes that these magnitudes apply when you use the full frame mode; if you use a partial window mode, then sources up to 2-3 magnitudes brighter than these values should be okay.&lt;br /&gt;
 &lt;br /&gt;
Use the United States Naval Observatory catalog at&lt;br /&gt;
http://www.nofs.navy.mil/data/fchpix/ to find the stars within a 9'&lt;br /&gt;
radius.&lt;br /&gt;
&lt;br /&gt;
At that website, enter your R.A. and Decl., and for the output file&lt;br /&gt;
options in the left column, unclick everything except RA,DEC,&lt;br /&gt;
magnitude, and offset from center.  Then click 'retrieve data' in the&lt;br /&gt;
right column.&lt;br /&gt;
&lt;br /&gt;
Next window: Click on &amp;quot;USNO B1.0 Star List&amp;quot; to download a gzipped&lt;br /&gt;
ASCII file with typically hundreds of rows/stars for lines of sight&lt;br /&gt;
away from the Galactic Plane (or many thousands of rows/stars for&lt;br /&gt;
lines of sight in the Galactic Plane).&lt;br /&gt;
&lt;br /&gt;
Example file: See /home/markowitz/proposals/xmm2014/GS1826USNO for a&lt;br /&gt;
Galactic XRB, GS1826, located in the Galactic Bulge (optically-crowded&lt;br /&gt;
fields).&lt;br /&gt;
&lt;br /&gt;
The star list is ordered by R.A., and but you can then re-order the ASCII list &lt;br /&gt;
by magnitude, e.g.,&lt;br /&gt;
&lt;br /&gt;
 cat GS1826USNO | grep -v '#' | awk '{print $7 &amp;quot;  &amp;quot; $12}' | sort -g &amp;gt;   starlist_sortB&lt;br /&gt;
 cat GS1826USNO | grep -v '#' | awk '{print $8 &amp;quot;  &amp;quot; $12}' | sort -g &amp;gt;   starlist_sortR&lt;br /&gt;
&lt;br /&gt;
since the B and R magnitudes are columns 7 and 8, and distance from the center&lt;br /&gt;
of f.o.v. (in arcsec) is column 12&lt;br /&gt;
&lt;br /&gt;
Ignore the rows with zero magnitudes; a zero means unmeasured flux.&lt;br /&gt;
&lt;br /&gt;
For these example files, e.g., /home/markowitz/proposals/xmm2014/starlist_sortB&lt;br /&gt;
we see that the brightest B- and R-band magnitudes are 10.0-10.3, including some&lt;br /&gt;
objects that are only 3-5' from the center, and at least one that's only 1.2'&lt;br /&gt;
from the center, so one cannot use the thin epic filter; one must use&lt;br /&gt;
the MEDIUM filter for all three EPIC cameras.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== XMM ESAS ==&lt;br /&gt;
&lt;br /&gt;
If you are interested in diffuse X-ray emission it is recommended to use the XMM-Newton Extended Source Analysis Software.&lt;br /&gt;
The manual can be found at [https://heasarc.gsfc.nasa.gov/docs/xmm/esas/cookbook/xmm-esas.html] with very detailed step-by-step instructions.&lt;br /&gt;
&lt;br /&gt;
==== Working with XMM ESAS in the remeis environment ====&lt;br /&gt;
&lt;br /&gt;
Before you start with the data analysis you have to source the SAS init via '''source $SOFTDIR/sas_init.csh'''.&lt;br /&gt;
Since you will need this every time you start a new terminal it is recommended to add an alias to your .cshrc in your home directory, e.g. '''alias setsas 'source $SOFTDIR/sas_init.csh''''.&lt;br /&gt;
&lt;br /&gt;
First you have to find out the observation data path in the archives, which can be done by typing '''find /eu/X-ray/xmm/data/????/obsID/odf -type d''', where you replace obsID with your desired observation.&lt;br /&gt;
Next, you have to set up the environment variables for the SAS tasks to function properly.&lt;br /&gt;
&lt;br /&gt;
Create an analysis directory somewhere in your userdata (usually one analyzed observation has &amp;gt; 1 GB so don't use your home).&lt;br /&gt;
Set the following environment variables:&lt;br /&gt;
&lt;br /&gt;
     setenv SAS_ODF DIR - where DIR is the observation data path from above.&lt;br /&gt;
     setenv SAS_CCF ANALYSIS_DIR/ccf.cif - where ANALYSIS_DIR is your directory for the analysis (on userdata), you have to add '/ccf.cif' to this path. This will create the ccf.cif file in your directory when running cifbuild&lt;br /&gt;
     setenv CALDB_ESAS /userdata/data/knies/XMM/CALDB_ESAS (*)&lt;br /&gt;
     * You need additional calibration files for ESAS. The latest version can be found at /userdata/data/knies/XMM/CALDB_ESAS. Please use this directory instead of downloading it again to safe disk space.&lt;br /&gt;
&lt;br /&gt;
Next you have to run the basic tasks to prepare the data, but with some different options since we are working in the remeis environment:&lt;br /&gt;
&lt;br /&gt;
     cifbuild withccfpath=no analysisdate=now category=XMMCCF calindexset=$SAS_CCF fullpath=yes&lt;br /&gt;
     odfingest outdir=ANALYSIS_DIR&lt;br /&gt;
&lt;br /&gt;
''Important'': you can't move your files after running these steps or you will get errors. &lt;br /&gt;
&lt;br /&gt;
After odfingest is finished there should be a file ending with &amp;quot;SUM.SAS&amp;quot; in your directory. Note the filename and re-set the SAS_ODF variable:&lt;br /&gt;
&lt;br /&gt;
     setenv SAS_ODF ANALYSIS_DIR/*SUM.SAS - replace *SUM.SAS with the filename in your directory&lt;br /&gt;
&lt;br /&gt;
After this step you can follow the ESAS manual normally, starting with [https://heasarc.gsfc.nasa.gov/docs/xmm/esas/cookbook/xmm-esas.html#SECTION00082000000000000000].&lt;br /&gt;
Note that you have to do cifbuild and odfingest only once (and also when SAS was updated) but you have to set the environment variables each time you open a new terminal.&lt;br /&gt;
You can make a small shell script which you can execute each time before you continue your analysis to speed this up, e.g.:&lt;br /&gt;
&lt;br /&gt;
     #!/bin/tcsh -f&lt;br /&gt;
     source $SOFTDIR/sas_init.csh&lt;br /&gt;
     setenv SAS_ODF ANALYSIS_DIR/*SUM.SAS&lt;br /&gt;
     setenv SAS_CCF ANALYSIS_DIR/ccf.cif&lt;br /&gt;
     setenv CALDB_ESAS /userdata/data/knies/XMM/CALDB_ESAS&lt;br /&gt;
&lt;br /&gt;
Replace the directories etc. like shown above, make your script executable with chmod +x scriptfile and then execute it with ./scriptfile.&lt;br /&gt;
&lt;br /&gt;
[[Category:Data Extraction]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xmm&amp;diff=3190</id>
		<title>Xmm</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Xmm&amp;diff=3190"/>
		<updated>2024-01-04T15:28:49Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* XMM EPIC Data Extraction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Data ==&lt;br /&gt;
&lt;br /&gt;
Always use the remeis archives at /eu/X-ray/XMM/data/ instead of downloading observation files yourself. You can search for the data of an observation by typing something like '''find /eu/X-ray/xmm/data/????/obsID/odf -type d''' - replacing obsID with your observation ID.&lt;br /&gt;
If the observation you want to analyze is not in the archives: contact the XMM admin (Jonathan Knies) and the observation will be downloaded for you.&lt;br /&gt;
&lt;br /&gt;
== XMM EPIC Data Extraction ==&lt;br /&gt;
&lt;br /&gt;
After the system was updated from Ubuntu 11 to Ubuntu 12 a problem occured with the function &amp;quot;dssetattr&amp;quot; inside the &amp;quot;epchain&amp;quot;.&lt;br /&gt;
This function can set/add an attribute to the HDU (Header/Data Unit).&lt;br /&gt;
The solution is to call &lt;br /&gt;
''''source $SOFTDIR/sas_init.csh''''&lt;br /&gt;
at the beginning of each script in order to initialize SAS inside your script.&lt;br /&gt;
&lt;br /&gt;
A little example script:&lt;br /&gt;
&lt;br /&gt;
     #!/bin/csh                                        &lt;br /&gt;
     source $SOFTDIR/sas_init.csh     # initialize the SAS software &lt;br /&gt;
     set xmmscripts = ${XMMTOOLS}    # make sure the proper xmmscripts are loaded&lt;br /&gt;
     &lt;br /&gt;
     set obsid = '0147190101'&lt;br /&gt;
     set datadir = /eu/X-ray/XMM/data/????/$obsid/odf&lt;br /&gt;
     &lt;br /&gt;
     ${xmmscripts}/xmmprepare --datadir=$datadir --prepdir=$obsid --pn                     # prepare the data&lt;br /&gt;
     ${xmmscripts}/xmmextract --prepdir=$obsid --pn --full                                 # full extraction of the chip&lt;br /&gt;
     ${xmmscripts}/xmmextract --prepdir=$obsid --pn --srcreg=src.fits --bkgreg=bkg.fits    # source and background extraction of the chip&lt;br /&gt;
     &lt;br /&gt;
Note that it is usually better to have the data preparation and the extraction in separate scripts (since one usually prepares once and then tries several extractions with different settings).&lt;br /&gt;
&lt;br /&gt;
The xmmscripts need the region files to be fits files. You can convert them via&lt;br /&gt;
     ds9tocxc outset=outfilename.fits &amp;lt; infilename.reg&lt;br /&gt;
&lt;br /&gt;
For simple extractions of point sources creating region files is not necessary, you can just give the position of the source and background region as well as their extraction radii with the &amp;quot;--ra&amp;quot;, &amp;quot;--dec&amp;quot; and &amp;quot;--bkgra&amp;quot;, &amp;quot;--bkgdec&amp;quot; arguments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;xmmextract&amp;quot; is a very powerful script, use its &amp;quot;--help&amp;quot; argument to get a list of all arguments.&lt;br /&gt;
&lt;br /&gt;
==== Workaround for the xmmscripts ====&lt;br /&gt;
There were some problems occuring with the XMM-data extraction. Joern has implemented a workaround in the xmmscripts that has to be called as shown in the example below.&lt;br /&gt;
Here the issues:&lt;br /&gt;
# If your observation includes sub-observations, choose one of them. Do this with &amp;quot;onlyexp=1&amp;quot; not &amp;quot;onlyexp=PNU001&amp;quot; for example.&lt;br /&gt;
# Since our Calibration database gets updated frequently, we ran into the problem that new calibration files only like the latest SAS. As it is very problematic to just install the new SAS, there is a workaround. You have to address the calibration files that are working with our SAS version until the new SAS is installed (we must be patient as this is not trivial). The following, however, works perfectly:&lt;br /&gt;
&lt;br /&gt;
example:&lt;br /&gt;
&lt;br /&gt;
     #!/bin/csh&lt;br /&gt;
     ${XMMTOOLS}/xmmprepare --datadir=/eu/X-ray/XMM/data/2290/0679780201/odf/ &lt;br /&gt;
     --prepdir=./test --pn --analysisdate=2014-01-11T01:05:00.000&lt;br /&gt;
&lt;br /&gt;
== XMM OM Data Extraction ==&lt;br /&gt;
&lt;br /&gt;
For extracting the data of the Optical Monitor (OM) onboard XMM, there exist three tools which do this automatically: ''omichain'', ''omfchain'' and ''omgchain''.&lt;br /&gt;
&amp;quot;i&amp;quot; stands for image mode, &amp;quot;f&amp;quot; for fast mode and &amp;quot;g&amp;quot; for grism mode. Which mode you have can be found on the XMM log browse site: http://xmm2.esac.esa.int/external/xmm_obs_info/obs_view_frame.shtml.&lt;br /&gt;
If you want to extract your images you first have to set some paths:&lt;br /&gt;
&lt;br /&gt;
     $source $SOFTDIR/sas_init.csh &lt;br /&gt;
     $setenv SAS_ODF path_to_your_data   #normally /eu/X-ray/XMM/data/rev/ObsID/odf/&lt;br /&gt;
     $cifbuild&lt;br /&gt;
     $setenv SAS_CCF ccf.cif&lt;br /&gt;
     $odfingest&lt;br /&gt;
     $setenv SAS_ODF `ls -1 *SUM.SAS`&lt;br /&gt;
&lt;br /&gt;
After this you can run&lt;br /&gt;
     &lt;br /&gt;
     $omichain   #or omfchain, omgchain&lt;br /&gt;
     &lt;br /&gt;
You can also do the extraction step-by-step. For a description see http://xmm.esac.esa.int/sas/current/documentation/threads/omi_stepbystep.shtml.&lt;br /&gt;
At the end you should have several images (&amp;lt;code&amp;gt;*IMAGE*&amp;lt;/code&amp;gt;), region files (&amp;lt;code&amp;gt;*REGION*&amp;lt;/code&amp;gt;) and source lists (&amp;lt;code&amp;gt;*SWSRLI*&amp;lt;/code&amp;gt;) for the OM exposures and filters. The nomenclatur for the files are:   &lt;br /&gt;
&lt;br /&gt;
* IOOOOOOOOOODDUEEETTTTTTSXXX.FFF or POOOOOOOOOODDUEEETTTTTTSXXX.FFF (for PPS product files)&lt;br /&gt;
* OOOOOOOOOO = XMM-ObsID (10 characters)&lt;br /&gt;
* DD = Data source idetifier (here OM)&lt;br /&gt;
* U = exposure flag (S = sched, U = unsched, X = not aplicable)&lt;br /&gt;
* EEE = exposure number within the instrument observation (3 characters)&lt;br /&gt;
* TTTTTT = product type (6 characters)&lt;br /&gt;
* S = 0 or data subset number/character&lt;br /&gt;
* XXX = source number or slew step number (3 characters)&lt;br /&gt;
* FFF = file format (3 characters)&lt;br /&gt;
&lt;br /&gt;
From all exposures for one filter a mosaiced sky image is produced which contains *SIMAG?.FIT. The ? stands for the filter: L = UVW1, M = UVM2, S = UVW2, B = B, U = U, V = V. &lt;br /&gt;
Open the image with ds9 and have a look if your source is seen and where it is. You can check this by loading a region file, produced e.g. by simbad2ds9, into the image. &lt;br /&gt;
&lt;br /&gt;
Then check the detector images (&amp;lt;code&amp;gt;P*IMAGE_*000.FIT&amp;lt;/code&amp;gt;) for your source (it can be, that some detector images don't contain your source because the window was off). Load the region file which belongs to the detector image (&amp;lt;code&amp;gt;*REGION*000.ASC&amp;lt;/code&amp;gt;, e.g. &amp;lt;code&amp;gt;P0090050801OMS006IMAGE_0000.FIT&amp;lt;/code&amp;gt; -&amp;gt; ''I0090050801OMS006REGION0000.ASC&amp;lt;/code&amp;gt;) and identify the number of your source. &lt;br /&gt;
&lt;br /&gt;
[[File:image_region.jpeg|thumb]]&lt;br /&gt;
&lt;br /&gt;
Look into the source list for your exposure (&amp;lt;code&amp;gt;P*SWSRLI*.FIT&amp;lt;/code&amp;gt;) and note the SRC_ID in the last column. Open the combined source list (&amp;lt;code&amp;gt;*COMBO*&amp;lt;/code&amp;gt;) and search for your SRC_ID. Here you can find all the magnitudes and fluxes of your source for the different filters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Choosing correct XMM-EPIC filter ==&lt;br /&gt;
&lt;br /&gt;
Choosing the correct EPIC filter for your observation depends on the&lt;br /&gt;
visual magnitudes of the other objects (usually stars) in the EPIC&lt;br /&gt;
field of view.&lt;br /&gt;
&lt;br /&gt;
The XMM user's handbook (sect. 3.3.6; &lt;br /&gt;
http://xmm.esac.esa.int/external/xmm_user_support/documentation/uhb/epicfilters.html) recommends:&lt;br /&gt;
&lt;br /&gt;
Thick filter:  suppress up to magnitudes of  -2 to -1 (pn), or +1 to +4 (mos)&lt;br /&gt;
&lt;br /&gt;
Medium filter: if there is nothing above magnitude ~ 6 to 9&lt;br /&gt;
&lt;br /&gt;
Thin filter:   for point sources that are 12 mag fainter than thick filter limitations&lt;br /&gt;
&lt;br /&gt;
The UHB notes that these magnitudes apply when you use the full frame mode; if you use a partial window mode, then sources up to 2-3 magnitudes brighter than these values should be okay.&lt;br /&gt;
 &lt;br /&gt;
Use the United States Naval Observatory catalog at&lt;br /&gt;
http://www.nofs.navy.mil/data/fchpix/ to find the stars within a 9'&lt;br /&gt;
radius.&lt;br /&gt;
&lt;br /&gt;
At that website, enter your R.A. and Decl., and for the output file&lt;br /&gt;
options in the left column, unclick everything except RA,DEC,&lt;br /&gt;
magnitude, and offset from center.  Then click 'retrieve data' in the&lt;br /&gt;
right column.&lt;br /&gt;
&lt;br /&gt;
Next window: Click on &amp;quot;USNO B1.0 Star List&amp;quot; to download a gzipped&lt;br /&gt;
ASCII file with typically hundreds of rows/stars for lines of sight&lt;br /&gt;
away from the Galactic Plane (or many thousands of rows/stars for&lt;br /&gt;
lines of sight in the Galactic Plane).&lt;br /&gt;
&lt;br /&gt;
Example file: See /home/markowitz/proposals/xmm2014/GS1826USNO for a&lt;br /&gt;
Galactic XRB, GS1826, located in the Galactic Bulge (optically-crowded&lt;br /&gt;
fields).&lt;br /&gt;
&lt;br /&gt;
The star list is ordered by R.A., and but you can then re-order the ASCII list &lt;br /&gt;
by magnitude, e.g.,&lt;br /&gt;
&lt;br /&gt;
 cat GS1826USNO | grep -v '#' | awk '{print $7 &amp;quot;  &amp;quot; $12}' | sort -g &amp;gt;   starlist_sortB&lt;br /&gt;
 cat GS1826USNO | grep -v '#' | awk '{print $8 &amp;quot;  &amp;quot; $12}' | sort -g &amp;gt;   starlist_sortR&lt;br /&gt;
&lt;br /&gt;
since the B and R magnitudes are columns 7 and 8, and distance from the center&lt;br /&gt;
of f.o.v. (in arcsec) is column 12&lt;br /&gt;
&lt;br /&gt;
Ignore the rows with zero magnitudes; a zero means unmeasured flux.&lt;br /&gt;
&lt;br /&gt;
For these example files, e.g., /home/markowitz/proposals/xmm2014/starlist_sortB&lt;br /&gt;
we see that the brightest B- and R-band magnitudes are 10.0-10.3, including some&lt;br /&gt;
objects that are only 3-5' from the center, and at least one that's only 1.2'&lt;br /&gt;
from the center, so one cannot use the thin epic filter; one must use&lt;br /&gt;
the MEDIUM filter for all three EPIC cameras.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== XMM ESAS ==&lt;br /&gt;
&lt;br /&gt;
If you are interested in diffuse X-ray emission it is recommended to use the XMM-Newton Extended Source Analysis Software.&lt;br /&gt;
The manual can be found at [https://heasarc.gsfc.nasa.gov/docs/xmm/esas/cookbook/xmm-esas.html] with very detailed step-by-step instructions.&lt;br /&gt;
&lt;br /&gt;
==== Working with XMM ESAS in the remeis environment ====&lt;br /&gt;
&lt;br /&gt;
Before you start with the data analysis you have to source the SAS init via '''source $SOFTDIR/sas_init.csh'''.&lt;br /&gt;
Since you will need this every time you start a new terminal it is recommended to add an alias to your .cshrc in your home directory, e.g. '''alias setsas 'source $SOFTDIR/sas_init.csh''''.&lt;br /&gt;
&lt;br /&gt;
First you have to find out the observation data path in the archives, which can be done by typing '''find /eu/X-ray/xmm/data/????/obsID/odf -type d''', where you replace obsID with your desired observation.&lt;br /&gt;
Next, you have to set up the environment variables for the SAS tasks to function properly.&lt;br /&gt;
&lt;br /&gt;
Create an analysis directory somewhere in your userdata (usually one analyzed observation has &amp;gt; 1 GB so don't use your home).&lt;br /&gt;
Set the following environment variables:&lt;br /&gt;
&lt;br /&gt;
     setenv SAS_ODF DIR - where DIR is the observation data path from above.&lt;br /&gt;
     setenv SAS_CCF ANALYSIS_DIR/ccf.cif - where ANALYSIS_DIR is your directory for the analysis (on userdata), you have to add '/ccf.cif' to this path. This will create the ccf.cif file in your directory when running cifbuild&lt;br /&gt;
     setenv CALDB_ESAS /userdata/data/knies/XMM/CALDB_ESAS (*)&lt;br /&gt;
     * You need additional calibration files for ESAS. The latest version can be found at /userdata/data/knies/XMM/CALDB_ESAS. Please use this directory instead of downloading it again to safe disk space.&lt;br /&gt;
&lt;br /&gt;
Next you have to run the basic tasks to prepare the data, but with some different options since we are working in the remeis environment:&lt;br /&gt;
&lt;br /&gt;
     cifbuild withccfpath=no analysisdate=now category=XMMCCF calindexset=$SAS_CCF fullpath=yes&lt;br /&gt;
     odfingest outdir=ANALYSIS_DIR&lt;br /&gt;
&lt;br /&gt;
''Important'': you can't move your files after running these steps or you will get errors. &lt;br /&gt;
&lt;br /&gt;
After odfingest is finished there should be a file ending with &amp;quot;SUM.SAS&amp;quot; in your directory. Note the filename and re-set the SAS_ODF variable:&lt;br /&gt;
&lt;br /&gt;
     setenv SAS_ODF ANALYSIS_DIR/*SUM.SAS - replace *SUM.SAS with the filename in your directory&lt;br /&gt;
&lt;br /&gt;
After this step you can follow the ESAS manual normally, starting with [https://heasarc.gsfc.nasa.gov/docs/xmm/esas/cookbook/xmm-esas.html#SECTION00082000000000000000].&lt;br /&gt;
Note that you have to do cifbuild and odfingest only once (and also when SAS was updated) but you have to set the environment variables each time you open a new terminal.&lt;br /&gt;
You can make a small shell script which you can execute each time before you continue your analysis to speed this up, e.g.:&lt;br /&gt;
&lt;br /&gt;
     #!/bin/tcsh -f&lt;br /&gt;
     source $SOFTDIR/sas_init.csh&lt;br /&gt;
     setenv SAS_ODF ANALYSIS_DIR/*SUM.SAS&lt;br /&gt;
     setenv SAS_CCF ANALYSIS_DIR/ccf.cif&lt;br /&gt;
     setenv CALDB_ESAS /userdata/data/knies/XMM/CALDB_ESAS&lt;br /&gt;
&lt;br /&gt;
Replace the directories etc. like shown above, make your script executable with chmod +x scriptfile and then execute it with ./scriptfile.&lt;br /&gt;
&lt;br /&gt;
[[Category:Data Extraction]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Zotero&amp;diff=3111</id>
		<title>Zotero</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Zotero&amp;diff=3111"/>
		<updated>2023-11-21T13:43:45Z</updated>

		<summary type="html">&lt;p&gt;Wilms: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Zotero - a reference manager ==&lt;br /&gt;
&lt;br /&gt;
=== Why use a reference manager? ===&lt;br /&gt;
&lt;br /&gt;
When doing research, you will very quickly amass a large number of papers and other publications that are useful for your research (as a rule of thumb, if you're reading less than 1-2 papers per day, you are not reading enough). While you may think that you will remember where you read something, this is not true, and therefore you will soon need some way to store all of that information. While online services such as the ADS provide you with some way to collect papers in &amp;quot;libraries&amp;quot;, they provide little flexibility, often cannot be fine tuned to your needs (e.g., having hierarchical structures of libraries), often do not provide a way to annotate the publication or leave other notes with the paper, and they do not work when you are offline (e.g., on the train between Wuerzburg and Frankfurt, or on a plane). In addition, keeping other publication lists such as files for bibtex up to date is difficult with these online sources.&lt;br /&gt;
&lt;br /&gt;
A reference manager such as zotero is a very good way to solve all of these problems.&lt;br /&gt;
&lt;br /&gt;
On this page I (J. Wilms) explain how I structure my zotero collection.&lt;br /&gt;
&lt;br /&gt;
=== Installing zotero and its plugins ===&lt;br /&gt;
&lt;br /&gt;
==== General Installation ====&lt;br /&gt;
&lt;br /&gt;
* If it is not available, download zotero for your operating system from the [https://www.zotero.org/ Zotero web pages]. On the Remeis cluster, just activate it with '''module load zotero'''.&lt;br /&gt;
&lt;br /&gt;
* On the zotero download page, it will also offer you to install the Zotero Connector for your browser. Install it and give it permission to access the pages you are browsing. The connector is a browser plugin that provides a one-click download of pdf and the bibliographic information from any online source that it recognizes, as well as getting information from PDFs and normal webpages. It only works while zotero is running as well.&lt;br /&gt;
&lt;br /&gt;
* For a smooth experience that works well in astronomy, download the following plugins from the [https://www.zotero.org/support/plugins list of zotero plugins]: Better BibTex, ZotFile, and optionally the Storage Scanner for Zotero.&lt;br /&gt;
&lt;br /&gt;
=== Zotero configuration ===&lt;br /&gt;
&lt;br /&gt;
To configure zotero, go to Edit-&amp;gt;Preferences. The following Image shows my General setup, I have left the other values at their default settings (although you might want to change the data directory location in Advanced-&amp;gt;Files and Folders ).&lt;br /&gt;
&lt;br /&gt;
[[File:zotero_1.png||recommended general options for zotero]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== ZotFile Configuration ====&lt;br /&gt;
&lt;br /&gt;
Next, configure ZotFiles. This plugin can automatically recognize new PDFs in a Source folder and it can also copy new files to a pdf library that is outside of zotero. This is advantageous since it keeps the zotero storage small such that you can use zotero's online library to move the zotero database around. It also makes your life easier since it is also possible to access PDFs directly if necessary. For ZotFile I use the following settings:&lt;br /&gt;
&lt;br /&gt;
* Source Folder for Attaching New Files: I use '''~/Downloads''' &lt;br /&gt;
* Location of Files: Use &amp;quot;Custom Location&amp;quot; and set it to the path where you want to store the PDFs.&lt;br /&gt;
* Tick on &amp;quot;User subfolder defined by&amp;quot; and set the field to '''/%y''' . This will sort your media according to the year of publication into subfolders.&lt;br /&gt;
* On the tab &amp;quot;Renaming Rules&amp;quot;:&lt;br /&gt;
** switch off &amp;quot;User Zotero to Rename&amp;quot;&lt;br /&gt;
** change &amp;quot;Format for all Item Types except Patents to '''%a_%y_%t''' . This gives filenames consisting of the first author, year of publication, and the abbreviated title of the publication (I find leaving the year in the filename useful in case I need to use the file elsewhere).&lt;br /&gt;
** In the additional settings I have '''_''' as the Delimiter between multiple authors and I have ticked &amp;quot;Change to lower case&amp;quot;, &amp;quot;Replace blanks&amp;quot;, &amp;quot;Truncate title after . or : or ?&amp;quot;. Maximum length of title 30 (you might want to shorten this!), maximum number of authors at 1, and I switch off &amp;quot;Add suffix when authors are omitted&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* On the tab &amp;quot;Advanced Settings&amp;quot; I set:&lt;br /&gt;
** Automatically rename new attachments to &amp;quot;Always Rename&amp;quot;&lt;br /&gt;
** ask for batch rename for 2 or more attachments&lt;br /&gt;
** remove special characters from filename&lt;br /&gt;
&lt;br /&gt;
==== Better BibTex Configuration ====&lt;br /&gt;
&lt;br /&gt;
Better BibTex will automatically generate unique bibtex tags. It also contains code to output bib-files from zotero libraries and to keep these updated whenever a new item is added to a library. &lt;br /&gt;
&lt;br /&gt;
In the Better BibTeX configuration, I suggest the following:&lt;br /&gt;
&lt;br /&gt;
* Citation keys: &lt;br /&gt;
** Citation key formula: I suggest ```auth.fold.lower+year'''. This generates citation keys consisting of the first author name and a year (postfixed with a, b, c etc. if there are multiple media from the same author in the year. I recommend using lower case names only for simplicity.&lt;br /&gt;
** Switch on &amp;quot;Force citation key to plan text&amp;quot;&lt;br /&gt;
** I do not use enable citation key search.&lt;br /&gt;
** Set Automatically pin citation key after 0 seconds (this ensures that citation keys are fully under control of the plugin)&lt;br /&gt;
&lt;br /&gt;
* Export:&lt;br /&gt;
** BibTeX tab: &lt;br /&gt;
***switch on &amp;quot;Export unicode as plain-text latex commands&amp;quot;&lt;br /&gt;
*** all other check boxes are off. &lt;br /&gt;
*** add urls to bibtex export: &amp;quot;in the url field&amp;quot;&lt;br /&gt;
** BibLaTex:&lt;br /&gt;
*** I recommend not using BibLaTeX. This is a bit unfortunate, since BibLaTeX is a good idea in principle, but it does not scale to larger libraries and it cannot produce reference lists in the way needed by journals in astronomy and astrophysics.&lt;br /&gt;
** Fields:&lt;br /&gt;
*** export language as langid&lt;br /&gt;
*** when an item has both a DOI and a URL, export both&lt;br /&gt;
*** fields to omit from export: ```abstract,file,urldate,keywords,issn,language,url,shorttitle,copyright''' (although you might want to leave the url in the bibtex)&lt;br /&gt;
*** Include JabRef-specific metadata: no&lt;br /&gt;
** Quick-Copy:&lt;br /&gt;
*** I do not use this, so I left things at their default values&lt;br /&gt;
** postscript&lt;br /&gt;
*** This is javascript code that is used to manipulate the generated bibfile. The following code will generate journal fields with LaTeX-commands appropriate for astrophysical journal styles. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if (Translator.BetterBibTeX) {&lt;br /&gt;
   if (reference.has.journal) {&lt;br /&gt;
       switch(item.publicationTitle) {&lt;br /&gt;
          case &amp;quot;Acta Astronomica&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\actaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Advances in Space Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;Adv.\ Space Res.&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;The Astronomical Journal&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Annual Review of Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\araa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysical Letters and Communications&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aplett&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysical Journal&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal Letters&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal, Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal Supplement Series&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal, Supplement&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apjs&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Applied Optics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\ao&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aplett&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics and Space Physics Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apspr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics and Space Science&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apss&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;  &lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics Reviews&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astronomy &amp;amp; Astrophysics Reviews&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aapr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;    &lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics Supplement&amp;quot;:&lt;br /&gt;
          case &amp;quot;Astronomy and Astrophysics Supplement Series&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aaps&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;         &lt;br /&gt;
          case &amp;quot;Astronomicheskii Zhurnal&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\azh&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the AAS&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\baas&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the Astronomical Institutes of Czechoslovakia&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\bac&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the Astronomical Institute of the Netherlands&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\bain&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Chinese Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\caa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Chinese Journal of Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\cjaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Fundamental Cosmic Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\fcp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Geochimica Cosmochimica Acta&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\gca&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Geophysics Research Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\grl&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;IAU Circular&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\iaucirc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Icarus&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\icarus&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Cosmology and Astroparticle Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jcap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Chemical Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jcp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Geophysics Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jgr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Low Temperature Physics&amp;quot;:&lt;br /&gt;
          case &amp;quot;J Low Temp Phys&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;J.\\ Low Temp.\\ Phys.&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Journal of Quantitative Spectroscopy and Radiative Transfer&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jsqrt&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of the Royal Astronomical Society of Canada&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jrasc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Memoirs of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\memras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Monthly Notices of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\mnras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Monthly Notices of the Royal Astronomical Society: Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\mnras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;           &lt;br /&gt;
         case &amp;quot;Memorie Societa Astronomica Italiana&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\memsai&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;New Astronomy&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\na&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Nuclear Physics A&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\nphysa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review A&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pra&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review B&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prb&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review C&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review D&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prd&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review E&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pre&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prl&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of the Pacific&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of Japan&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of Australia&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physics Reports&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\physrep&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physica Scripta&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\physscr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Planetary Space Science&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\planss&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Proceedings of the SPIE&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\procspie&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Quarterly Journal of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\qjras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Revista Mexicana de Astronomia y Astrofisica&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\rmxaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Sky and Telescope&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\skytel&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Solar Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\solphys&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Soviet Astronomy&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\sovast&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Space Science Reviews&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\ssr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Zeitschrift für Astrophysik&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\zap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
       }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(NB you can also set individual journal abbreviations in the entries for individual articles; this is recommended for journals not in the above list)&lt;br /&gt;
&lt;br /&gt;
* Tab list continued&lt;br /&gt;
**Miscellaneous&lt;br /&gt;
*** switch off &amp;quot;automatically abbreviate journal title&amp;quot; and &amp;quot;include comments about potential problems&amp;quot;&lt;br /&gt;
*** turn on &amp;quot;include automatic tags in export&amp;quot;&lt;br /&gt;
*** when converting to plan text latex: &amp;quot;Minimize the number of switches between math-mode and text-mode&amp;quot;&lt;br /&gt;
*** switch on apply title-casing to titles&lt;br /&gt;
*** switch on apply case-protection to capitalized words by enclosing them in braces&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Automatic export: set &amp;quot;on change&amp;quot; to no - this will keep your bibfiles updated&lt;br /&gt;
&lt;br /&gt;
=== General recommendations ===&lt;br /&gt;
&lt;br /&gt;
These are a few additional comments on how I use zotero:&lt;br /&gt;
&lt;br /&gt;
* When writing a paper I generate a new library and copy the references there. This is mainly because my zotero library is very large (more than 6000 individual papers). In most cases, keep things that belong together in the same library (e.g., all neutron star papers in a &amp;quot;neutron star&amp;quot; library, all AGN papers in an &amp;quot;AGN&amp;quot; library). &lt;br /&gt;
&lt;br /&gt;
* Use sublibraries to structure things (e.g., I have libraries for individual sources)&lt;br /&gt;
&lt;br /&gt;
* papers can be in multiple libraries (so if a paper is, e.g., on accretion in a specific source but also contains interesting thoughts about accretion in general, it will be in both, the &amp;quot;accretion library&amp;quot; and the source specific library.&lt;br /&gt;
&lt;br /&gt;
* keep bibfiles in sync for those libraries pertinent to a project you're working on. You do this by pressing the right mouse button and export the collection using &amp;quot;Better Bibtex&amp;quot;. Enable &amp;quot;use journal abbreviation&amp;quot;, &amp;quot;keep updated&amp;quot;, and &amp;quot;background export&amp;quot;. Do NOT enable &amp;quot;Export notes&amp;quot; and &amp;quot;Export Files&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* SPIE papers are not exported correctly from the ADS. Go to the journal page at SPIE and get the PDF from there. You might want to check that the editors and conference are set correctly. If not, add them by hand (add a new author and then switch from &amp;quot;Author&amp;quot; to &amp;quot;Editor&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Zotero&amp;diff=3109</id>
		<title>Zotero</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Zotero&amp;diff=3109"/>
		<updated>2023-11-21T13:40:24Z</updated>

		<summary type="html">&lt;p&gt;Wilms: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Zotero - a reference manager ==&lt;br /&gt;
&lt;br /&gt;
=== Why use a reference manager? ===&lt;br /&gt;
&lt;br /&gt;
When doing research, you will very quickly amass a large number of papers and other publications that are useful for your research (as a rule of thumb, if you're reading less than 1-2 papers per day, you are not reading enough). While you may think that you will remember where you read something, this is not true, and therefore you will soon need some way to store all of that information. While online services such as the ADS provide you with some way to collect papers in &amp;quot;libraries&amp;quot;, they provide little flexibility, often cannot be fine tuned to your needs (e.g., having hierarchical structures of libraries), often do not provide a way to annotate the publication or leave other notes with the paper, and they do not work when you are offline (e.g., on the train between Wuerzburg and Frankfurt, or on a plane). In addition, keeping other publication lists such as files for bibtex up to date is difficult with these online sources.&lt;br /&gt;
&lt;br /&gt;
A reference manager such as zotero is a very good way to solve all of these problems.&lt;br /&gt;
&lt;br /&gt;
On this page I (J. Wilms) explain how I structure my zotero collection.&lt;br /&gt;
&lt;br /&gt;
=== Installing zotero ===&lt;br /&gt;
&lt;br /&gt;
* If it is not available, download zotero for your operating system from the [https://www.zotero.org/ Zotero web pages]. On the Remeis cluster, just activate it with '''module load zotero'''.&lt;br /&gt;
&lt;br /&gt;
* On the zotero download page, it will also offer you to install the Zotero Connector for your browser. Install it and give it permission to access the pages you are browsing. The connector is a browser plugin that provides a one-click download of pdf and the bibliographic information from any online source that it recognizes, as well as getting information from PDFs and normal webpages. It only works while zotero is running as well.&lt;br /&gt;
&lt;br /&gt;
* For a smooth experience that works well in astronomy, download the following plugins from the [https://www.zotero.org/support/plugins list of zotero plugins]: Better BibTex, ZotFile, and optionally the Storage Scanner for Zotero.&lt;br /&gt;
&lt;br /&gt;
=== Zotero configuration ===&lt;br /&gt;
&lt;br /&gt;
To configure zotero, go to Edit-&amp;gt;Preferences. The following Image shows my General setup, I have left the other values at their default settings (although you might want to change the data directory location in Advanced-&amp;gt;Files and Folders ).&lt;br /&gt;
&lt;br /&gt;
[[File:zotero_1.png||recommended general options for zotero]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ZotFile Configuration ===&lt;br /&gt;
&lt;br /&gt;
Next, configure ZotFiles. This plugin can automatically recognize new PDFs in a Source folder and it can also copy new files to a pdf library that is outside of zotero. This is advantageous since it keeps the zotero storage small such that you can use zotero's online library to move the zotero database around. It also makes your life easier since it is also possible to access PDFs directly if necessary. For ZotFile I use the following settings:&lt;br /&gt;
&lt;br /&gt;
* Source Folder for Attaching New Files: I use '''~/Downloads''' &lt;br /&gt;
* Location of Files: Use &amp;quot;Custom Location&amp;quot; and set it to the path where you want to store the PDFs.&lt;br /&gt;
* Tick on &amp;quot;User subfolder defined by&amp;quot; and set the field to '''/%y''' . This will sort your media according to the year of publication into subfolders.&lt;br /&gt;
* On the tab &amp;quot;Renaming Rules&amp;quot;:&lt;br /&gt;
** switch off &amp;quot;User Zotero to Rename&amp;quot;&lt;br /&gt;
** change &amp;quot;Format for all Item Types except Patents to '''%a_%y_%t''' . This gives filenames consisting of the first author, year of publication, and the abbreviated title of the publication (I find leaving the year in the filename useful in case I need to use the file elsewhere).&lt;br /&gt;
** In the additional settings I have '''_''' as the Delimiter between multiple authors and I have ticked &amp;quot;Change to lower case&amp;quot;, &amp;quot;Replace blanks&amp;quot;, &amp;quot;Truncate title after . or : or ?&amp;quot;. Maximum length of title 30 (you might want to shorten this!), maximum number of authors at 1, and I switch off &amp;quot;Add suffix when authors are omitted&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* On the tab &amp;quot;Advanced Settings&amp;quot; I set:&lt;br /&gt;
** Automatically rename new attachments to &amp;quot;Always Rename&amp;quot;&lt;br /&gt;
** ask for batch rename for 2 or more attachments&lt;br /&gt;
** remove special characters from filename&lt;br /&gt;
&lt;br /&gt;
=== Better BibTex Configuration ===&lt;br /&gt;
&lt;br /&gt;
Better BibTex will automatically generate unique bibtex tags. It also contains code to output bib-files from zotero libraries and to keep these updated whenever a new item is added to a library. &lt;br /&gt;
&lt;br /&gt;
In the Better BibTeX configuration, I suggest the following:&lt;br /&gt;
&lt;br /&gt;
* Citation keys: &lt;br /&gt;
** Citation key formula: I suggest ```auth.fold.lower+year'''. This generates citation keys consisting of the first author name and a year (postfixed with a, b, c etc. if there are multiple media from the same author in the year. I recommend using lower case names only for simplicity.&lt;br /&gt;
** Switch on &amp;quot;Force citation key to plan text&amp;quot;&lt;br /&gt;
** I do not use enable citation key search.&lt;br /&gt;
** Set Automatically pin citation key after 0 seconds (this ensures that citation keys are fully under control of the plugin)&lt;br /&gt;
&lt;br /&gt;
* Export:&lt;br /&gt;
** BibTeX tab: &lt;br /&gt;
***switch on &amp;quot;Export unicode as plain-text latex commands&amp;quot;&lt;br /&gt;
*** all other check boxes are off. &lt;br /&gt;
*** add urls to bibtex export: &amp;quot;in the url field&amp;quot;&lt;br /&gt;
** BibLaTex:&lt;br /&gt;
*** I recommend not using BibLaTeX. This is a bit unfortunate, since BibLaTeX is a good idea in principle, but it does not scale to larger libraries and it cannot produce reference lists in the way needed by journals in astronomy and astrophysics.&lt;br /&gt;
** Fields:&lt;br /&gt;
*** export language as langid&lt;br /&gt;
*** when an item has both a DOI and a URL, export both&lt;br /&gt;
*** fields to omit from export: ```abstract,file,urldate,keywords,issn,language,url,shorttitle,copyright''' (although you might want to leave the url in the bibtex)&lt;br /&gt;
*** Include JabRef-specific metadata: no&lt;br /&gt;
** Quick-Copy:&lt;br /&gt;
*** I do not use this, so I left things at their default values&lt;br /&gt;
** postscript&lt;br /&gt;
*** This is javascript code that is used to manipulate the generated bibfile. The following code will generate journal fields with LaTeX-commands appropriate for astrophysical journal styles. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if (Translator.BetterBibTeX) {&lt;br /&gt;
   if (reference.has.journal) {&lt;br /&gt;
       switch(item.publicationTitle) {&lt;br /&gt;
          case &amp;quot;Acta Astronomica&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\actaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Advances in Space Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;Adv.\ Space Res.&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;The Astronomical Journal&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Annual Review of Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\araa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysical Letters and Communications&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aplett&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysical Journal&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal Letters&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal, Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal Supplement Series&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal, Supplement&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apjs&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Applied Optics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\ao&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aplett&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics and Space Physics Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apspr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics and Space Science&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apss&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;  &lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics Reviews&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astronomy &amp;amp; Astrophysics Reviews&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aapr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;    &lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics Supplement&amp;quot;:&lt;br /&gt;
          case &amp;quot;Astronomy and Astrophysics Supplement Series&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aaps&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;         &lt;br /&gt;
          case &amp;quot;Astronomicheskii Zhurnal&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\azh&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the AAS&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\baas&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the Astronomical Institutes of Czechoslovakia&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\bac&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the Astronomical Institute of the Netherlands&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\bain&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Chinese Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\caa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Chinese Journal of Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\cjaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Fundamental Cosmic Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\fcp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Geochimica Cosmochimica Acta&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\gca&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Geophysics Research Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\grl&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;IAU Circular&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\iaucirc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Icarus&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\icarus&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Cosmology and Astroparticle Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jcap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Chemical Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jcp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Geophysics Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jgr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Low Temperature Physics&amp;quot;:&lt;br /&gt;
          case &amp;quot;J Low Temp Phys&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;J.\\ Low Temp.\\ Phys.&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Journal of Quantitative Spectroscopy and Radiative Transfer&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jsqrt&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of the Royal Astronomical Society of Canada&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jrasc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Memoirs of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\memras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Monthly Notices of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\mnras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Monthly Notices of the Royal Astronomical Society: Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\mnras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;           &lt;br /&gt;
         case &amp;quot;Memorie Societa Astronomica Italiana&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\memsai&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;New Astronomy&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\na&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Nuclear Physics A&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\nphysa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review A&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pra&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review B&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prb&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review C&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review D&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prd&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review E&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pre&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prl&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of the Pacific&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of Japan&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of Australia&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physics Reports&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\physrep&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physica Scripta&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\physscr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Planetary Space Science&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\planss&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Proceedings of the SPIE&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\procspie&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Quarterly Journal of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\qjras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Revista Mexicana de Astronomia y Astrofisica&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\rmxaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Sky and Telescope&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\skytel&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Solar Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\solphys&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Soviet Astronomy&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\sovast&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Space Science Reviews&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\ssr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Zeitschrift für Astrophysik&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\zap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
       }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(NB you can also set individual journal abbreviations in the entries for individual articles; this is recommended for journals not in the above list)&lt;br /&gt;
&lt;br /&gt;
* Tab list continued&lt;br /&gt;
**Miscellaneous&lt;br /&gt;
*** switch off &amp;quot;automatically abbreviate journal title&amp;quot; and &amp;quot;include comments about potential problems&amp;quot;&lt;br /&gt;
*** turn on &amp;quot;include automatic tags in export&amp;quot;&lt;br /&gt;
*** when converting to plan text latex: &amp;quot;Minimize the number of switches between math-mode and text-mode&amp;quot;&lt;br /&gt;
*** switch on apply title-casing to titles&lt;br /&gt;
*** switch on apply case-protection to capitalized words by enclosing them in braces&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Automatic export: set &amp;quot;on change&amp;quot; to no - this will keep your bibfiles updated&lt;br /&gt;
&lt;br /&gt;
== General recommendations for zotero ==&lt;br /&gt;
&lt;br /&gt;
These are a few additional comments on how I use zotero:&lt;br /&gt;
&lt;br /&gt;
* When writing a paper I generate a new library and copy the references there. This is mainly because my zotero library is very large (more than 6000 individual papers). In most cases, keep things that belong together in the same library (e.g., all neutron star papers in a &amp;quot;neutron star&amp;quot; library, all AGN papers in an &amp;quot;AGN&amp;quot; library). &lt;br /&gt;
&lt;br /&gt;
* Use sublibraries to structure things (e.g., I have libraries for individual sources)&lt;br /&gt;
&lt;br /&gt;
* papers can be in multiple libraries (so if a paper is, e.g., on accretion in a specific source but also contains interesting thoughts about accretion in general, it will be in both, the &amp;quot;accretion library&amp;quot; and the source specific library.&lt;br /&gt;
&lt;br /&gt;
* keep bibfiles in sync for those libraries pertinent to a project you're working on. You do this by pressing the right mouse button and export the collection using &amp;quot;Better Bibtex&amp;quot;. Enable &amp;quot;use journal abbreviation&amp;quot;, &amp;quot;keep updated&amp;quot;, and &amp;quot;background export&amp;quot;. Do NOT enable &amp;quot;Export notes&amp;quot; and &amp;quot;Export Files&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* SPIE papers are not exported correctly from the ADS. Go to the journal page at SPIE and get the PDF from there. You might want to check that the editors and conference are set correctly. If not, add them by hand (add a new author and then switch from &amp;quot;Author&amp;quot; to &amp;quot;Editor&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Zotero&amp;diff=3108</id>
		<title>Zotero</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Zotero&amp;diff=3108"/>
		<updated>2023-11-21T13:38:28Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Zotero and plugin installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Zotero - a reference manager ==&lt;br /&gt;
&lt;br /&gt;
=== Why use a reference manager? ===&lt;br /&gt;
&lt;br /&gt;
When doing research, you will very quickly amass a large number of papers and other publications that are useful for your research (as a rule of thumb, if you're reading less than 1-2 papers per day, you are not reading enough). While you may think that you will remember where you read something, this is not true, and therefore you will soon need some way to store all of that information. While online services such as the ADS provide you with some way to collect papers in &amp;quot;libraries&amp;quot;, they provide little flexibility, often cannot be fine tuned to your needs (e.g., having hierarchical structures of libraries), often do not provide a way to annotate the publication or leave other notes with the paper, and they do not work when you are offline (e.g., on the train between Wuerzburg and Frankfurt, or on a plane). In addition, keeping other publication lists such as files for bibtex up to date is difficult with these online sources.&lt;br /&gt;
&lt;br /&gt;
A reference manager such as zotero is a very good way to solve all of these problems.&lt;br /&gt;
&lt;br /&gt;
On this page I (J. Wilms) explain how I structure my zotero collection.&lt;br /&gt;
&lt;br /&gt;
=== Installing zotero ===&lt;br /&gt;
&lt;br /&gt;
==== Zotero and plugin installation ====&lt;br /&gt;
&lt;br /&gt;
* If it is not available, download zotero for your operating system from the [https://www.zotero.org/ Zotero web pages]. On the Remeis cluster, just activate it with '''module load zotero'''.&lt;br /&gt;
&lt;br /&gt;
* On the zotero download page, it will also offer you to install the Zotero Connector for your browser. Install it and give it permission to access the pages you are browsing. The connector is a browser plugin that provides a one-click download of pdf and the bibliographic information from any online source that it recognizes, as well as getting information from PDFs and normal webpages. It only works while zotero is running as well.&lt;br /&gt;
&lt;br /&gt;
* For a smooth experience that works well in astronomy, download the following plugins from the [https://www.zotero.org/support/plugins list of zotero plugins]: Better BibTex, ZotFile, and optionally the Storage Scanner for Zotero.&lt;br /&gt;
&lt;br /&gt;
=== Zotero configuration ===&lt;br /&gt;
&lt;br /&gt;
To configure zotero, go to Edit-&amp;gt;Preferences. The following Image shows my General setup, I have left the other values at their default settings (although you might want to change the data directory location in Advanced-&amp;gt;Files and Folders ).&lt;br /&gt;
&lt;br /&gt;
[[File:zotero_1.png||recommended general options for zotero]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ZotFile Configuration ===&lt;br /&gt;
&lt;br /&gt;
Next, configure ZotFiles. This plugin can automatically recognize new PDFs in a Source folder and it can also copy new files to a pdf library that is outside of zotero. This is advantageous since it keeps the zotero storage small such that you can use zotero's online library to move the zotero database around. It also makes your life easier since it is also possible to access PDFs directly if necessary. For ZotFile I use the following settings:&lt;br /&gt;
&lt;br /&gt;
* Source Folder for Attaching New Files: I use '''~/Downloads''' &lt;br /&gt;
* Location of Files: Use &amp;quot;Custom Location&amp;quot; and set it to the path where you want to store the PDFs.&lt;br /&gt;
* Tick on &amp;quot;User subfolder defined by&amp;quot; and set the field to '''/%y''' . This will sort your media according to the year of publication into subfolders.&lt;br /&gt;
* On the tab &amp;quot;Renaming Rules&amp;quot;:&lt;br /&gt;
** switch off &amp;quot;User Zotero to Rename&amp;quot;&lt;br /&gt;
** change &amp;quot;Format for all Item Types except Patents to '''%a_%y_%t''' . This gives filenames consisting of the first author, year of publication, and the abbreviated title of the publication (I find leaving the year in the filename useful in case I need to use the file elsewhere).&lt;br /&gt;
** In the additional settings I have '''_''' as the Delimiter between multiple authors and I have ticked &amp;quot;Change to lower case&amp;quot;, &amp;quot;Replace blanks&amp;quot;, &amp;quot;Truncate title after . or : or ?&amp;quot;. Maximum length of title 30 (you might want to shorten this!), maximum number of authors at 1, and I switch off &amp;quot;Add suffix when authors are omitted&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* On the tab &amp;quot;Advanced Settings&amp;quot; I set:&lt;br /&gt;
** Automatically rename new attachments to &amp;quot;Always Rename&amp;quot;&lt;br /&gt;
** ask for batch rename for 2 or more attachments&lt;br /&gt;
** remove special characters from filename&lt;br /&gt;
&lt;br /&gt;
=== Better BibTex Configuration ===&lt;br /&gt;
&lt;br /&gt;
Better BibTex will automatically generate unique bibtex tags. It also contains code to output bib-files from zotero libraries and to keep these updated whenever a new item is added to a library. &lt;br /&gt;
&lt;br /&gt;
In the Better BibTeX configuration, I suggest the following:&lt;br /&gt;
&lt;br /&gt;
* Citation keys: &lt;br /&gt;
** Citation key formula: I suggest ```auth.fold.lower+year'''. This generates citation keys consisting of the first author name and a year (postfixed with a, b, c etc. if there are multiple media from the same author in the year. I recommend using lower case names only for simplicity.&lt;br /&gt;
** Switch on &amp;quot;Force citation key to plan text&amp;quot;&lt;br /&gt;
** I do not use enable citation key search.&lt;br /&gt;
** Set Automatically pin citation key after 0 seconds (this ensures that citation keys are fully under control of the plugin)&lt;br /&gt;
&lt;br /&gt;
* Export:&lt;br /&gt;
** BibTeX tab: &lt;br /&gt;
***switch on &amp;quot;Export unicode as plain-text latex commands&amp;quot;&lt;br /&gt;
*** all other check boxes are off. &lt;br /&gt;
*** add urls to bibtex export: &amp;quot;in the url field&amp;quot;&lt;br /&gt;
** BibLaTex:&lt;br /&gt;
*** I recommend not using BibLaTeX. This is a bit unfortunate, since BibLaTeX is a good idea in principle, but it does not scale to larger libraries and it cannot produce reference lists in the way needed by journals in astronomy and astrophysics.&lt;br /&gt;
** Fields:&lt;br /&gt;
*** export language as langid&lt;br /&gt;
*** when an item has both a DOI and a URL, export both&lt;br /&gt;
*** fields to omit from export: ```abstract,file,urldate,keywords,issn,language,url,shorttitle,copyright''' (although you might want to leave the url in the bibtex)&lt;br /&gt;
*** Include JabRef-specific metadata: no&lt;br /&gt;
** Quick-Copy:&lt;br /&gt;
*** I do not use this, so I left things at their default values&lt;br /&gt;
** postscript&lt;br /&gt;
*** This is javascript code that is used to manipulate the generated bibfile. The following code will generate journal fields with LaTeX-commands appropriate for astrophysical journal styles. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if (Translator.BetterBibTeX) {&lt;br /&gt;
   if (reference.has.journal) {&lt;br /&gt;
       switch(item.publicationTitle) {&lt;br /&gt;
          case &amp;quot;Acta Astronomica&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\actaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Advances in Space Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;Adv.\ Space Res.&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;The Astronomical Journal&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Annual Review of Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\araa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysical Letters and Communications&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aplett&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysical Journal&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal Letters&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal, Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal Supplement Series&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal, Supplement&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apjs&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Applied Optics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\ao&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aplett&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics and Space Physics Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apspr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics and Space Science&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apss&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;  &lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics Reviews&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astronomy &amp;amp; Astrophysics Reviews&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aapr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;    &lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics Supplement&amp;quot;:&lt;br /&gt;
          case &amp;quot;Astronomy and Astrophysics Supplement Series&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aaps&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;         &lt;br /&gt;
          case &amp;quot;Astronomicheskii Zhurnal&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\azh&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the AAS&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\baas&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the Astronomical Institutes of Czechoslovakia&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\bac&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the Astronomical Institute of the Netherlands&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\bain&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Chinese Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\caa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Chinese Journal of Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\cjaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Fundamental Cosmic Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\fcp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Geochimica Cosmochimica Acta&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\gca&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Geophysics Research Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\grl&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;IAU Circular&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\iaucirc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Icarus&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\icarus&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Cosmology and Astroparticle Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jcap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Chemical Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jcp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Geophysics Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jgr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Low Temperature Physics&amp;quot;:&lt;br /&gt;
          case &amp;quot;J Low Temp Phys&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;J.\\ Low Temp.\\ Phys.&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Journal of Quantitative Spectroscopy and Radiative Transfer&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jsqrt&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of the Royal Astronomical Society of Canada&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jrasc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Memoirs of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\memras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Monthly Notices of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\mnras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Monthly Notices of the Royal Astronomical Society: Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\mnras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;           &lt;br /&gt;
         case &amp;quot;Memorie Societa Astronomica Italiana&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\memsai&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;New Astronomy&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\na&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Nuclear Physics A&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\nphysa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review A&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pra&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review B&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prb&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review C&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review D&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prd&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review E&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pre&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prl&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of the Pacific&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of Japan&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of Australia&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physics Reports&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\physrep&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physica Scripta&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\physscr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Planetary Space Science&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\planss&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Proceedings of the SPIE&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\procspie&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Quarterly Journal of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\qjras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Revista Mexicana de Astronomia y Astrofisica&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\rmxaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Sky and Telescope&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\skytel&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Solar Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\solphys&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Soviet Astronomy&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\sovast&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Space Science Reviews&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\ssr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Zeitschrift für Astrophysik&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\zap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
       }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(NB you can also set individual journal abbreviations in the entries for individual articles; this is recommended for journals not in the above list)&lt;br /&gt;
&lt;br /&gt;
* Tab list continued&lt;br /&gt;
**Miscellaneous&lt;br /&gt;
*** switch off &amp;quot;automatically abbreviate journal title&amp;quot; and &amp;quot;include comments about potential problems&amp;quot;&lt;br /&gt;
*** turn on &amp;quot;include automatic tags in export&amp;quot;&lt;br /&gt;
*** when converting to plan text latex: &amp;quot;Minimize the number of switches between math-mode and text-mode&amp;quot;&lt;br /&gt;
*** switch on apply title-casing to titles&lt;br /&gt;
*** switch on apply case-protection to capitalized words by enclosing them in braces&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Automatic export: set &amp;quot;on change&amp;quot; to no - this will keep your bibfiles updated&lt;br /&gt;
&lt;br /&gt;
== General recommendations for zotero ==&lt;br /&gt;
&lt;br /&gt;
These are a few additional comments on how I use zotero:&lt;br /&gt;
&lt;br /&gt;
* When writing a paper I generate a new library and copy the references there. This is mainly because my zotero library is very large (more than 6000 individual papers). In most cases, keep things that belong together in the same library (e.g., all neutron star papers in a &amp;quot;neutron star&amp;quot; library, all AGN papers in an &amp;quot;AGN&amp;quot; library). &lt;br /&gt;
&lt;br /&gt;
* Use sublibraries to structure things (e.g., I have libraries for individual sources)&lt;br /&gt;
&lt;br /&gt;
* papers can be in multiple libraries (so if a paper is, e.g., on accretion in a specific source but also contains interesting thoughts about accretion in general, it will be in both, the &amp;quot;accretion library&amp;quot; and the source specific library.&lt;br /&gt;
&lt;br /&gt;
* keep bibfiles in sync for those libraries pertinent to a project you're working on. You do this by pressing the right mouse button and export the collection using &amp;quot;Better Bibtex&amp;quot;. Enable &amp;quot;use journal abbreviation&amp;quot;, &amp;quot;keep updated&amp;quot;, and &amp;quot;background export&amp;quot;. Do NOT enable &amp;quot;Export notes&amp;quot; and &amp;quot;Export Files&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* SPIE papers are not exported correctly from the ADS. Go to the journal page at SPIE and get the PDF from there. You might want to check that the editors and conference are set correctly. If not, add them by hand (add a new author and then switch from &amp;quot;Author&amp;quot; to &amp;quot;Editor&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=File:Zotero_1.png&amp;diff=3107</id>
		<title>File:Zotero 1.png</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=File:Zotero_1.png&amp;diff=3107"/>
		<updated>2023-11-21T13:36:33Z</updated>

		<summary type="html">&lt;p&gt;Wilms: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Zotero&amp;diff=3106</id>
		<title>Zotero</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Zotero&amp;diff=3106"/>
		<updated>2023-11-21T13:36:09Z</updated>

		<summary type="html">&lt;p&gt;Wilms: How Joern uses Zotero&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Zotero - a reference manager ==&lt;br /&gt;
&lt;br /&gt;
=== Why use a reference manager? ===&lt;br /&gt;
&lt;br /&gt;
When doing research, you will very quickly amass a large number of papers and other publications that are useful for your research (as a rule of thumb, if you're reading less than 1-2 papers per day, you are not reading enough). While you may think that you will remember where you read something, this is not true, and therefore you will soon need some way to store all of that information. While online services such as the ADS provide you with some way to collect papers in &amp;quot;libraries&amp;quot;, they provide little flexibility, often cannot be fine tuned to your needs (e.g., having hierarchical structures of libraries), often do not provide a way to annotate the publication or leave other notes with the paper, and they do not work when you are offline (e.g., on the train between Wuerzburg and Frankfurt, or on a plane). In addition, keeping other publication lists such as files for bibtex up to date is difficult with these online sources.&lt;br /&gt;
&lt;br /&gt;
A reference manager such as zotero is a very good way to solve all of these problems.&lt;br /&gt;
&lt;br /&gt;
On this page I (J. Wilms) explain how I structure my zotero collection.&lt;br /&gt;
&lt;br /&gt;
=== Installing zotero ===&lt;br /&gt;
&lt;br /&gt;
==== Zotero and plugin installation ====&lt;br /&gt;
&lt;br /&gt;
* If it is not available, download zotero for your operating system from the [https://www.zotero.org/ Zotero web pages].&lt;br /&gt;
&lt;br /&gt;
* On the zotero download page, it will also offer you to install the Zotero Connector for your browser. Install it and give it permission to access the pages you are browsing. The connector is a browser plugin that provides a one-click download of pdf and the bibliographic information from any online source that it recognizes, as well as getting information from PDFs and normal webpages. It only works while zotero is running as well.&lt;br /&gt;
&lt;br /&gt;
* For a smooth experience that works well in astronomy, download the following plugins from the [https://www.zotero.org/support/plugins list of zotero plugins]: Better BibTex, ZotFile, and optionally the Storage Scanner for Zotero.&lt;br /&gt;
&lt;br /&gt;
=== Zotero configuration ===&lt;br /&gt;
&lt;br /&gt;
To configure zotero, go to Edit-&amp;gt;Preferences. The following Image shows my General setup, I have left the other values at their default settings (although you might want to change the data directory location in Advanced-&amp;gt;Files and Folders ).&lt;br /&gt;
&lt;br /&gt;
[[File:zotero_1.png||recommended general options for zotero]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== ZotFile Configuration ===&lt;br /&gt;
&lt;br /&gt;
Next, configure ZotFiles. This plugin can automatically recognize new PDFs in a Source folder and it can also copy new files to a pdf library that is outside of zotero. This is advantageous since it keeps the zotero storage small such that you can use zotero's online library to move the zotero database around. It also makes your life easier since it is also possible to access PDFs directly if necessary. For ZotFile I use the following settings:&lt;br /&gt;
&lt;br /&gt;
* Source Folder for Attaching New Files: I use '''~/Downloads''' &lt;br /&gt;
* Location of Files: Use &amp;quot;Custom Location&amp;quot; and set it to the path where you want to store the PDFs.&lt;br /&gt;
* Tick on &amp;quot;User subfolder defined by&amp;quot; and set the field to '''/%y''' . This will sort your media according to the year of publication into subfolders.&lt;br /&gt;
* On the tab &amp;quot;Renaming Rules&amp;quot;:&lt;br /&gt;
** switch off &amp;quot;User Zotero to Rename&amp;quot;&lt;br /&gt;
** change &amp;quot;Format for all Item Types except Patents to '''%a_%y_%t''' . This gives filenames consisting of the first author, year of publication, and the abbreviated title of the publication (I find leaving the year in the filename useful in case I need to use the file elsewhere).&lt;br /&gt;
** In the additional settings I have '''_''' as the Delimiter between multiple authors and I have ticked &amp;quot;Change to lower case&amp;quot;, &amp;quot;Replace blanks&amp;quot;, &amp;quot;Truncate title after . or : or ?&amp;quot;. Maximum length of title 30 (you might want to shorten this!), maximum number of authors at 1, and I switch off &amp;quot;Add suffix when authors are omitted&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* On the tab &amp;quot;Advanced Settings&amp;quot; I set:&lt;br /&gt;
** Automatically rename new attachments to &amp;quot;Always Rename&amp;quot;&lt;br /&gt;
** ask for batch rename for 2 or more attachments&lt;br /&gt;
** remove special characters from filename&lt;br /&gt;
&lt;br /&gt;
=== Better BibTex Configuration ===&lt;br /&gt;
&lt;br /&gt;
Better BibTex will automatically generate unique bibtex tags. It also contains code to output bib-files from zotero libraries and to keep these updated whenever a new item is added to a library. &lt;br /&gt;
&lt;br /&gt;
In the Better BibTeX configuration, I suggest the following:&lt;br /&gt;
&lt;br /&gt;
* Citation keys: &lt;br /&gt;
** Citation key formula: I suggest ```auth.fold.lower+year'''. This generates citation keys consisting of the first author name and a year (postfixed with a, b, c etc. if there are multiple media from the same author in the year. I recommend using lower case names only for simplicity.&lt;br /&gt;
** Switch on &amp;quot;Force citation key to plan text&amp;quot;&lt;br /&gt;
** I do not use enable citation key search.&lt;br /&gt;
** Set Automatically pin citation key after 0 seconds (this ensures that citation keys are fully under control of the plugin)&lt;br /&gt;
&lt;br /&gt;
* Export:&lt;br /&gt;
** BibTeX tab: &lt;br /&gt;
***switch on &amp;quot;Export unicode as plain-text latex commands&amp;quot;&lt;br /&gt;
*** all other check boxes are off. &lt;br /&gt;
*** add urls to bibtex export: &amp;quot;in the url field&amp;quot;&lt;br /&gt;
** BibLaTex:&lt;br /&gt;
*** I recommend not using BibLaTeX. This is a bit unfortunate, since BibLaTeX is a good idea in principle, but it does not scale to larger libraries and it cannot produce reference lists in the way needed by journals in astronomy and astrophysics.&lt;br /&gt;
** Fields:&lt;br /&gt;
*** export language as langid&lt;br /&gt;
*** when an item has both a DOI and a URL, export both&lt;br /&gt;
*** fields to omit from export: ```abstract,file,urldate,keywords,issn,language,url,shorttitle,copyright''' (although you might want to leave the url in the bibtex)&lt;br /&gt;
*** Include JabRef-specific metadata: no&lt;br /&gt;
** Quick-Copy:&lt;br /&gt;
*** I do not use this, so I left things at their default values&lt;br /&gt;
** postscript&lt;br /&gt;
*** This is javascript code that is used to manipulate the generated bibfile. The following code will generate journal fields with LaTeX-commands appropriate for astrophysical journal styles. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if (Translator.BetterBibTeX) {&lt;br /&gt;
   if (reference.has.journal) {&lt;br /&gt;
       switch(item.publicationTitle) {&lt;br /&gt;
          case &amp;quot;Acta Astronomica&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\actaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Advances in Space Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;Adv.\ Space Res.&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;The Astronomical Journal&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Annual Review of Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\araa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysical Letters and Communications&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aplett&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysical Journal&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal Letters&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal, Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal Supplement Series&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astrophysical Journal, Supplement&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apjs&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Applied Optics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\ao&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aplett&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics and Space Physics Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apspr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astrophysics and Space Science&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\apss&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;  &lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics Reviews&amp;quot;:&lt;br /&gt;
          case &amp;quot;The Astronomy &amp;amp; Astrophysics Reviews&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aapr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;    &lt;br /&gt;
          case &amp;quot;Astronomy &amp;amp; Astrophysics Supplement&amp;quot;:&lt;br /&gt;
          case &amp;quot;Astronomy and Astrophysics Supplement Series&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\aaps&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;         &lt;br /&gt;
          case &amp;quot;Astronomicheskii Zhurnal&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\azh&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the AAS&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\baas&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the Astronomical Institutes of Czechoslovakia&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\bac&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Bulletin of the Astronomical Institute of the Netherlands&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\bain&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Chinese Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\caa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Chinese Journal of Astronomy and Astrophysics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\cjaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Fundamental Cosmic Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\fcp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Geochimica Cosmochimica Acta&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\gca&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Geophysics Research Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\grl&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;IAU Circular&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\iaucirc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Icarus&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\icarus&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Cosmology and Astroparticle Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jcap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Chemical Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jcp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Geophysics Research&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jgr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of Low Temperature Physics&amp;quot;:&lt;br /&gt;
          case &amp;quot;J Low Temp Phys&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;J.\\ Low Temp.\\ Phys.&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;&lt;br /&gt;
          case &amp;quot;Journal of Quantitative Spectroscopy and Radiative Transfer&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jsqrt&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Journal of the Royal Astronomical Society of Canada&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\jrasc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Memoirs of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\memras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Monthly Notices of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\mnras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Monthly Notices of the Royal Astronomical Society: Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\mnras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break;           &lt;br /&gt;
         case &amp;quot;Memorie Societa Astronomica Italiana&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\memsai&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;New Astronomy&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\na&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Nuclear Physics A&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\nphysa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review A&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pra&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review B&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prb&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review C&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prc&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review D&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prd&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review E&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pre&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physical Review Letters&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\prl&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of the Pacific&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasp&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of Japan&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasj&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Publications of the Astronomical Society of Australia&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\pasa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physics Reports&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\physrep&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Physica Scripta&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\physscr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Planetary Space Science&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\planss&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Proceedings of the SPIE&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\procspie&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Quarterly Journal of the Royal Astronomical Society&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\qjras&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Revista Mexicana de Astronomia y Astrofisica&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\rmxaa&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Sky and Telescope&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\skytel&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Solar Physics&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\solphys&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Soviet Astronomy&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\sovast&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Space Science Reviews&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\ssr&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
          case &amp;quot;Zeitschrift für Astrophysik&amp;quot;:&lt;br /&gt;
               reference.add({name: 'journal', value: &amp;quot;\\zap&amp;quot;, enc: 'raw'});&lt;br /&gt;
               break; &lt;br /&gt;
       }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(NB you can also set individual journal abbreviations in the entries for individual articles; this is recommended for journals not in the above list)&lt;br /&gt;
&lt;br /&gt;
* Tab list continued&lt;br /&gt;
**Miscellaneous&lt;br /&gt;
*** switch off &amp;quot;automatically abbreviate journal title&amp;quot; and &amp;quot;include comments about potential problems&amp;quot;&lt;br /&gt;
*** turn on &amp;quot;include automatic tags in export&amp;quot;&lt;br /&gt;
*** when converting to plan text latex: &amp;quot;Minimize the number of switches between math-mode and text-mode&amp;quot;&lt;br /&gt;
*** switch on apply title-casing to titles&lt;br /&gt;
*** switch on apply case-protection to capitalized words by enclosing them in braces&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Automatic export: set &amp;quot;on change&amp;quot; to no - this will keep your bibfiles updated&lt;br /&gt;
&lt;br /&gt;
== General recommendations for zotero ==&lt;br /&gt;
&lt;br /&gt;
These are a few additional comments on how I use zotero:&lt;br /&gt;
&lt;br /&gt;
* When writing a paper I generate a new library and copy the references there. This is mainly because my zotero library is very large (more than 6000 individual papers). In most cases, keep things that belong together in the same library (e.g., all neutron star papers in a &amp;quot;neutron star&amp;quot; library, all AGN papers in an &amp;quot;AGN&amp;quot; library). &lt;br /&gt;
&lt;br /&gt;
* Use sublibraries to structure things (e.g., I have libraries for individual sources)&lt;br /&gt;
&lt;br /&gt;
* papers can be in multiple libraries (so if a paper is, e.g., on accretion in a specific source but also contains interesting thoughts about accretion in general, it will be in both, the &amp;quot;accretion library&amp;quot; and the source specific library.&lt;br /&gt;
&lt;br /&gt;
* keep bibfiles in sync for those libraries pertinent to a project you're working on. You do this by pressing the right mouse button and export the collection using &amp;quot;Better Bibtex&amp;quot;. Enable &amp;quot;use journal abbreviation&amp;quot;, &amp;quot;keep updated&amp;quot;, and &amp;quot;background export&amp;quot;. Do NOT enable &amp;quot;Export notes&amp;quot; and &amp;quot;Export Files&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* SPIE papers are not exported correctly from the ADS. Go to the journal page at SPIE and get the PDF from there. You might want to check that the editors and conference are set correctly. If not, add them by hand (add a new author and then switch from &amp;quot;Author&amp;quot; to &amp;quot;Editor&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Jupyter_Notebook_for_ISIS/Slang&amp;diff=2853</id>
		<title>Jupyter Notebook for ISIS/Slang</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Jupyter_Notebook_for_ISIS/Slang&amp;diff=2853"/>
		<updated>2023-06-28T13:11:40Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Embedding images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you want to start an ISIS session with a jupyter notebook this should be straight forward on the cluster. For this you need to load two modules via the module system&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load conda slang-jupyter&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once this is done you need to access the conda environment via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
conda activate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here you can start the jupyter server, but make sure that the shell where you start the server has all needed modules loaded (e.g., if you need localmodels, for example tbnew, make sure it is activated. If you never actively loaded a module to use ISIS, you are probably good).&lt;br /&gt;
&lt;br /&gt;
Start the server&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jupyter notebook&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
now you should be greeted with the usual page from the notebooks where you can open notebooks etc. The folder were you started the server is the root folder and you can not go above this level. If you want to start a ISIS notebook, just create a new notebook and select ''isis'' (there is also a ''slang'' kernel, that is not the same!). Having the notebook opened you should be able to run commands in the cells as usual. The notebook acts as one document, so functions and variables defined in one cell are accessible in another (provided the cell with the definitions was executed first). For details about the notebook interactions check the manual of jupyter itself.&lt;br /&gt;
&lt;br /&gt;
== Embedding images ==&lt;br /&gt;
&lt;br /&gt;
Currently the kernel (that is the part of the software that translates your input to isis) has no built in feature to display images. If you issue a ''plot'' command and you are locally at the machine a normal pgplot will open just as it is with the ''isis'' shell. The simplest way to include an image in the notebook is to plot into a png file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
variable pg = open_plot(&amp;quot;my-cool-plot.png/png&amp;quot;); % this opens a plot to a png file, any plot command afterwards will draw to this file&lt;br /&gt;
xlabel(&amp;quot;X-axis&amp;quot;);&lt;br /&gt;
ylabel(&amp;quot;Y-axis&amp;quot;);&lt;br /&gt;
plot([0:4:#100], sin([0:4:#100]));&lt;br /&gt;
oplot([0,4], [0,1]);&lt;br /&gt;
close_plot(pg); % this is important, if you don't close the file, any additional plot command will create a new file with appended counter&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The created png can be included in the notebook with a markdown cell&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
![Example Text](my-cool-plot.png)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where the text in square brackets is the description, this can be left empty (but the brackets are necessary).&lt;br /&gt;
&lt;br /&gt;
This way you can also use xfig or tikz to create pdfs or png and embed them accordingly.&lt;br /&gt;
&lt;br /&gt;
== Remote Access ==&lt;br /&gt;
&lt;br /&gt;
If you want to work on a notebook remotely then this is not directly possible for various reasons but mainly because this would allow everyone to execute arbitrary code on our cluster (and, in case this was not clear, we don't want that).&lt;br /&gt;
There is, however, a way to forward the server via an ssh tunnel between your computer (let's say you use a laptop) and the cluster.&lt;br /&gt;
&lt;br /&gt;
To do so, you first have to get the information about where the server is running&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jupyter notebook list # make sure the conda environment is activated to have access to jupyter&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will show you a line similar to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://localhost:8888/?token=2b9af3b8973be0b3270d0cf93941969db373bd70bfe195ea :: /home/stierhof&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where the first part is the address where the server is accessible (locally) and the second is the root folder where it is running.&lt;br /&gt;
Now to access the server '''on your laptop''', create the tunnel with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh -NL 8888:localhost:8888&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This command will not return and seemingly do nothing! You need to keep the shell where you started the tunnel open, if you close it the tunnel will be closed too.&lt;br /&gt;
In this example the number 8888 is the port number from the listed notebook above, if you are shown a different number you also have to change it in the ''ssh'' command (but 8888 is the default port).&lt;br /&gt;
Once the ssh tunnel connects you local port with the port on the cluster you can paste the full address as shown by the ''jupyter notebook list'' command into a browser and access the server from there in the usual way.&lt;br /&gt;
&lt;br /&gt;
== Disclaimer ==&lt;br /&gt;
&lt;br /&gt;
The software that enables isis to be used in a jupyter notebook is not very well tested yet. If you find any problems, or better yet, have solutions to problems or ideas for features, please let me know - [mailto:jakob.stierhof@fau.de Jakob Stierhof]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=2833</id>
		<title>Remeis English Checklist</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=2833"/>
		<updated>2023-06-14T09:18:28Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Spelling and Word usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== The Remeis English Checklist ======&lt;br /&gt;
&lt;br /&gt;
(by J. Wilms and K. Pottschmidt)&lt;br /&gt;
&lt;br /&gt;
'''''First of all and most importantly:'''''&lt;br /&gt;
&lt;br /&gt;
* did you read the instructions to authors of the journal? If you are working on a thesis, did you read those of [http://www.aanda.org/doc_journal/instructions/aadoc.pdf Astronomy and Astrophysics]?&lt;br /&gt;
* did you read appendix A of the [https://journals.aps.org/files/rmpguide.pdf instructions to authors] of Rev Mod Phys?&lt;br /&gt;
&lt;br /&gt;
==== Punctuation ====&lt;br /&gt;
&lt;br /&gt;
* did you remove all commas before &amp;quot;that&amp;quot;?&lt;br /&gt;
* did you end your footnotes and captions with a full stop (&amp;quot;.&amp;quot;)?&lt;br /&gt;
* did you make sure that your use of &amp;quot;data&amp;quot; is correct and uses plural verbs?&lt;br /&gt;
* did you make sure that you do not have a &amp;quot;:&amp;quot; anywhere before an equation, but that your equations are seen as part of your sentences?&lt;br /&gt;
* did you make sure that you have commas surrounding &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
==== Spelling and Word usage ====&lt;br /&gt;
&lt;br /&gt;
* do you consistently use either British or American spelling?&lt;br /&gt;
* did you run a spell checker over your manuscript? For TeX, use &amp;quot;ispell&amp;quot; or the built in spell checker in emacs.&lt;br /&gt;
* did you make sure not to use country prefixes in addresses in the author list?&lt;br /&gt;
* did you avoid passive voice as much as possible?&lt;br /&gt;
* did you make sure that you are //not// using &amp;quot;The found results are...&amp;quot; and similar German constructs in your text?&lt;br /&gt;
* did you make sure that everything in your text that is not your original result is accompanied by proper citations?&lt;br /&gt;
* did you make sure that you distinguish between &amp;quot;estimate&amp;quot; and &amp;quot;estimation&amp;quot; by replacing all &amp;quot;estimation&amp;quot; with &amp;quot;estimate&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;exemplary&amp;quot; by &amp;quot;example&amp;quot;?&lt;br /&gt;
* did you use &amp;quot;short&amp;quot; for length intervals and &amp;quot;brief&amp;quot; for time intervals? (but note that &amp;quot;short of duration&amp;quot; is correct) &lt;br /&gt;
* did you replace all uses of &amp;quot;the actual value&amp;quot; by &amp;quot;the real value&amp;quot;? (if you are German, &amp;quot;actual&amp;quot; does not mean &amp;quot;aktuell&amp;quot;!)&lt;br /&gt;
* did you remove all uses of &amp;quot;hence&amp;quot; and &amp;quot;thereby&amp;quot;?&lt;br /&gt;
* did you make sure that you use &amp;quot;however&amp;quot; as sparingly as possible?&lt;br /&gt;
* did you make sure that you did not use &amp;quot;the equation reads..&amp;quot;, but rather used &amp;quot;the equation is...&amp;quot; or &amp;quot;the equation is given by...&amp;quot;?&lt;br /&gt;
* did you avoid split infinitives? (&amp;quot;to boldly go...&amp;quot; is wrong; yes, in many cases split infinitives are ok in current English, but they tend to be so often used wrongly by non-native speakers that it is best to avoid them)&lt;br /&gt;
* did you make sure that you distinguish properly between &amp;quot;this&amp;quot; and &amp;quot;these&amp;quot;?&lt;br /&gt;
* did you make use of the &amp;quot;Oxford comma&amp;quot;, i.e., do you have a comma before &amp;quot;and&amp;quot; in lists?&lt;br /&gt;
* did you use &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot; correctly, i.e., using &amp;quot;i.e.&amp;quot; for a specific clarification or definition and &amp;quot;e.g.&amp;quot; where you would otherwise use &amp;quot;for example&amp;quot;?&lt;br /&gt;
* did you use the IAU recommended year - month - day sequences (2016 March 15)?&lt;br /&gt;
* did you make sure that you did not use contractions such as &amp;quot;didn't&amp;quot; or &amp;quot;you're&amp;quot;?&lt;br /&gt;
* did you replace &amp;quot;cf.&amp;quot; with &amp;quot;see&amp;quot; everywhere since you know that &amp;quot;cf.&amp;quot; means &amp;quot;compare&amp;quot;?&lt;br /&gt;
* did you ensure that you use &amp;quot;opportunity&amp;quot; where in German you would be using &amp;quot;Chance&amp;quot; or &amp;quot;Gelegenheit&amp;quot; (and did not use &amp;quot;chance&amp;quot;...)?&lt;br /&gt;
* did you make sure that the reader will understand what thing you refer to when using &amp;quot;it&amp;quot; rather than naming it? &lt;br /&gt;
* did you make sure that all uses of &amp;quot;this&amp;quot; are followed by the object you are referring to? &lt;br /&gt;
* did you use &amp;quot;led&amp;quot; rather than &amp;quot;lead&amp;quot; when using the past tense of the verb &amp;quot;to lead&amp;quot;?&lt;br /&gt;
* did you reread the manuscript for internal consistency after you added comments from your coauthors?&lt;br /&gt;
* did you make sure that your sentences are short (rule of thumb: if a sentence goes over more than three lines it is probably too long)?&lt;br /&gt;
* did you check that you did not combine two sentences that could be separate sentences with &amp;quot;and&amp;quot;?&lt;br /&gt;
* did you avoid abbreviations as much as possible and only used them when they are really, really common (HST, AGN, XMM,...)?&lt;br /&gt;
* did you check that you defined all abbreviations that you used at their first usage? (&amp;quot;...Active Galactic Nucleus (AGN)...&amp;quot; //not// &amp;quot;...AGN (Active Galactic Nucleus)...&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
==== Citations ====&lt;br /&gt;
&lt;br /&gt;
* did you add the journal to all publications where you list the arXiv-reference and not just blindly copy the erroneous ADS bibtex entry?&lt;br /&gt;
* did you make sure that you distinguished between arXiv references where a paper is submitted and references where a paper is already accepted by checking the paper author's comment on the arXiv-page for that article?&lt;br /&gt;
* did you remove the page number for all ATEL-references downloaded from ADS and changed the journal name to &amp;quot;Astron. Tel.&amp;quot; or &amp;quot;ATEL&amp;quot;? (and similar for IAU telegrams)&lt;br /&gt;
* did you add editors and the title of the conference publication to all conference publications?&lt;br /&gt;
* did you add the publisher and place information (city only) to all books, conference publications, and other book-like publications that you are citing?&lt;br /&gt;
* did you check that your references are correct in that you are using ''\citet{biblabel}'' for references in the text and ''\citep{biblabel}'' for references in parentheses?&lt;br /&gt;
* did you make sure that none of your ''\citet{..}'' commands refer to more than one biblabel?&lt;br /&gt;
&lt;br /&gt;
==== Typesetting (mainly in TeX) ====&lt;br /&gt;
&lt;br /&gt;
* did you check for missing spaces between values and units?&lt;br /&gt;
* did you make sure that all scientific units are typeset in &amp;lt;code&amp;gt;\mathrm&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure not to use constructs such as &amp;lt;code&amp;gt;$\mathrm{m}/\mathrm{s}$&amp;lt;/code&amp;gt; by using &amp;lt;code&amp;gt;$\mathrm{m}\,\mathrm{s}^{-1}$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that almost all of your error bars are rounded up to only one significant digit rather than following the DIN-norm (which is not applied in astronomical journals)?&lt;br /&gt;
* did you make sure that you are not using any positioning commands for the table or figure environment such as &amp;lt;code&amp;gt;\begin{table}[htpb]&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure that your tables have captions above the table, and figures have captions below the figure or next to it (where allowed by the style)?&lt;br /&gt;
* did you make sure that you use empty lines to denote the start of a new paragraph rather than the ''\\''-command? (use &amp;lt;code&amp;gt;\parindent{0pt}&amp;lt;/code&amp;gt; if you do not want to indent paragraphs)&lt;br /&gt;
* did you make sure that there are no paragraph endings above or below &amp;lt;code&amp;gt;\begin{equation}...\end{equation}&amp;lt;/code&amp;gt; by ensuring that there is no empty line above or below the ''equation''-environment?&lt;br /&gt;
* did you make sure that you are not using &amp;lt;code&amp;gt;$\frac{a}{b}$&amp;lt;/code&amp;gt; in normal text, but use &amp;lt;code&amp;gt;$a/b$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that you are not using the &amp;lt;code&amp;gt;displaymath&amp;lt;/code&amp;gt;-environment and that all equations are numbered?&lt;br /&gt;
* did you make sure that all of your sections, subsections, paragraphs and so on are numbered?&lt;br /&gt;
* did you avoid any and all uses of &amp;lt;code&amp;gt;\bf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\it&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\sl&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;\em&amp;lt;/code&amp;gt; and use the proper commands &amp;lt;code&amp;gt;\textbf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textit&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textsl&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;\emph&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you use the en-dash of TeX for ranges, even if they occur in math, by using &amp;lt;code&amp;gt;--&amp;lt;/code&amp;gt; in text mode rather than a minus sign? (that is, did you typeset a range in an equation as &amp;lt;code&amp;gt;$3x$--$5x$&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$3x\mbox{--}5x$&amp;lt;/code&amp;gt; rather than, erroneously, &amp;lt;code&amp;gt;$3x-5x$&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you correctly use the minus-sign and dashes in astronomical source names, where the name contains coordinates and the &amp;lt;q&amp;gt;dash&amp;lt;/q&amp;gt; really is a southern declination or Galactic latitude, that is, did you typeset &amp;lt;code&amp;gt;Her X-1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LMC X-3&amp;lt;/code&amp;gt;, but &amp;lt;code&amp;gt;GX\,339$-$4&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;IGR J16318$-$4848&amp;lt;/code&amp;gt; (and as a really difficult one: &amp;lt;code&amp;gt;MCG$-$6-30-15&amp;lt;/code&amp;gt;)?&lt;br /&gt;
* did you make sure to typeset hydrogen equivalent columns as &amp;lt;code&amp;gt;$N_\mathrm{H}$&amp;lt;/code&amp;gt; rather than $n_H$ or $n_\mathrm{H}$? (note: in astronomy, $n$ denotes a particle density, so it has units of particles per cubic centimeter, while N is a column with units of particles per square centimeter; a certain analysis program uses nH for this parameter, but this does not mean that n should be used in papers).&lt;br /&gt;
&lt;br /&gt;
[[Category:Current Members]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=2648</id>
		<title>Remeis English Checklist</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=2648"/>
		<updated>2022-09-06T23:26:09Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Typesetting (mainly in TeX) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== The Remeis English Checklist ======&lt;br /&gt;
&lt;br /&gt;
(by J. Wilms and K. Pottschmidt)&lt;br /&gt;
&lt;br /&gt;
'''''First of all and most importantly:'''''&lt;br /&gt;
&lt;br /&gt;
* did you read the instructions to authors of the journal? If you are working on a thesis, did you read those of [http://www.aanda.org/doc_journal/instructions/aadoc.pdf Astronomy and Astrophysics]?&lt;br /&gt;
* did you read appendix A of the [https://journals.aps.org/files/rmpguide.pdf instructions to authors] of Rev Mod Phys?&lt;br /&gt;
&lt;br /&gt;
==== Punctuation ====&lt;br /&gt;
&lt;br /&gt;
* did you remove all commas before &amp;quot;that&amp;quot;?&lt;br /&gt;
* did you end your footnotes and captions with a full stop (&amp;quot;.&amp;quot;)?&lt;br /&gt;
* did you make sure that your use of &amp;quot;data&amp;quot; is correct and uses plural verbs?&lt;br /&gt;
* did you make sure that you do not have a &amp;quot;:&amp;quot; anywhere before an equation, but that your equations are seen as part of your sentences?&lt;br /&gt;
* did you make sure that you have commas surrounding &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
==== Spelling and Word usage ====&lt;br /&gt;
&lt;br /&gt;
* do you consistently use either British or American spelling?&lt;br /&gt;
* did you run a spell checker over your manuscript? For TeX, use &amp;quot;ispell&amp;quot; or the built in spell checker in emacs.&lt;br /&gt;
* did you make sure not to use country prefixes in addresses in the author list?&lt;br /&gt;
* did you avoid passive voice as much as possible?&lt;br /&gt;
* did you make sure that you are //not// using &amp;quot;The found results are...&amp;quot; and similar German constructs in your text?&lt;br /&gt;
* did you make sure that everything in your text that is not your original result is accompanied by proper citations?&lt;br /&gt;
* did you make sure that you distinguish between &amp;quot;estimate&amp;quot; and &amp;quot;estimation&amp;quot; by replacing all &amp;quot;estimation&amp;quot; with &amp;quot;estimate&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;exemplary&amp;quot; by &amp;quot;example&amp;quot;?&lt;br /&gt;
* did you use &amp;quot;short&amp;quot; for length intervals and &amp;quot;brief&amp;quot; for time intervals? (but note that &amp;quot;short of duration&amp;quot; is correct) &lt;br /&gt;
* did you replace all uses of &amp;quot;the actual value&amp;quot; by &amp;quot;the real value&amp;quot;? (if you are German, &amp;quot;actual&amp;quot; does not mean &amp;quot;aktuell&amp;quot;!)&lt;br /&gt;
* did you remove all uses of &amp;quot;hence&amp;quot; and &amp;quot;thereby&amp;quot;?&lt;br /&gt;
* did you make sure that you use &amp;quot;however&amp;quot; as sparingly as possible?&lt;br /&gt;
* did you make sure that you did not use &amp;quot;the equation reads..&amp;quot;, but rather used &amp;quot;the equation is...&amp;quot; or &amp;quot;the equation is given by...&amp;quot;?&lt;br /&gt;
* did you avoid split infinitives? (&amp;quot;to boldly go...&amp;quot; is wrong; yes, in many cases split infinitives are ok in current English, but they tend to be so often used wrongly by non-native speakers that it is best to avoid them)&lt;br /&gt;
* did you make sure that you distinguish properly between &amp;quot;this&amp;quot; and &amp;quot;these&amp;quot;?&lt;br /&gt;
* did you make use of the &amp;quot;Oxford comma&amp;quot;, i.e., do you have a comma before &amp;quot;and&amp;quot; in lists?&lt;br /&gt;
* did you use &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot; correctly, i.e., using &amp;quot;i.e.&amp;quot; for a specific clarification or definition and &amp;quot;e.g.&amp;quot; where you would otherwise use &amp;quot;for example&amp;quot;?&lt;br /&gt;
* did you use the IAU recommended year - month - day sequences (2016 March 15)?&lt;br /&gt;
* did you make sure that you did not use contractions such as &amp;quot;didn't&amp;quot; or &amp;quot;you're&amp;quot;?&lt;br /&gt;
* did you replace &amp;quot;cf.&amp;quot; with &amp;quot;see&amp;quot; everywhere since you know that &amp;quot;cf.&amp;quot; means &amp;quot;compare&amp;quot;?&lt;br /&gt;
* did you make sure that the reader will understand what thing you refer to when using &amp;quot;it&amp;quot; rather than naming it? &lt;br /&gt;
* did you make sure that all uses of &amp;quot;this&amp;quot; are followed by the object you are referring to? &lt;br /&gt;
* did you use &amp;quot;led&amp;quot; rather than &amp;quot;lead&amp;quot; when using the past tense of the verb &amp;quot;to lead&amp;quot;?&lt;br /&gt;
* did you reread the manuscript for internal consistency after you added comments from your coauthors?&lt;br /&gt;
* did you make sure that your sentences are short (rule of thumb: if a sentence goes over more than three lines it is probably too long)?&lt;br /&gt;
* did you check that you did not combine two sentences that could be separate sentences with &amp;quot;and&amp;quot;?&lt;br /&gt;
* did you avoid abbreviations as much as possible and only used them when they are really, really common (HST, AGN, XMM,...)?&lt;br /&gt;
* did you check that you defined all abbreviations that you used at their first usage? (&amp;quot;...Active Galactic Nucleus (AGN)...&amp;quot; //not// &amp;quot;...AGN (Active Galactic Nucleus)...&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
==== Citations ====&lt;br /&gt;
&lt;br /&gt;
* did you add the journal to all publications where you list the arXiv-reference and not just blindly copy the erroneous ADS bibtex entry?&lt;br /&gt;
* did you make sure that you distinguished between arXiv references where a paper is submitted and references where a paper is already accepted by checking the paper author's comment on the arXiv-page for that article?&lt;br /&gt;
* did you remove the page number for all ATEL-references downloaded from ADS and changed the journal name to &amp;quot;Astron. Tel.&amp;quot; or &amp;quot;ATEL&amp;quot;? (and similar for IAU telegrams)&lt;br /&gt;
* did you add editors and the title of the conference publication to all conference publications?&lt;br /&gt;
* did you add the publisher and place information (city only) to all books, conference publications, and other book-like publications that you are citing?&lt;br /&gt;
* did you check that your references are correct in that you are using ''\citet{biblabel}'' for references in the text and ''\citep{biblabel}'' for references in parentheses?&lt;br /&gt;
* did you make sure that none of your ''\citet{..}'' commands refer to more than one biblabel?&lt;br /&gt;
&lt;br /&gt;
==== Typesetting (mainly in TeX) ====&lt;br /&gt;
&lt;br /&gt;
* did you check for missing spaces between values and units?&lt;br /&gt;
* did you make sure that all scientific units are typeset in &amp;lt;code&amp;gt;\mathrm&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure not to use constructs such as &amp;lt;code&amp;gt;$\mathrm{m}/\mathrm{s}$&amp;lt;/code&amp;gt; by using &amp;lt;code&amp;gt;$\mathrm{m}\,\mathrm{s}^{-1}$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that almost all of your error bars are rounded up to only one significant digit rather than following the DIN-norm (which is not applied in astronomical journals)?&lt;br /&gt;
* did you make sure that you are not using any positioning commands for the table or figure environment such as &amp;lt;code&amp;gt;\begin{table}[htpb]&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure that your tables have captions above the table, and figures have captions below the figure or next to it (where allowed by the style)?&lt;br /&gt;
* did you make sure that you use empty lines to denote the start of a new paragraph rather than the ''\\''-command? (use &amp;lt;code&amp;gt;\parindent{0pt}&amp;lt;/code&amp;gt; if you do not want to indent paragraphs)&lt;br /&gt;
* did you make sure that there are no paragraph endings above or below &amp;lt;code&amp;gt;\begin{equation}...\end{equation}&amp;lt;/code&amp;gt; by ensuring that there is no empty line above or below the ''equation''-environment?&lt;br /&gt;
* did you make sure that you are not using &amp;lt;code&amp;gt;$\frac{a}{b}$&amp;lt;/code&amp;gt; in normal text, but use &amp;lt;code&amp;gt;$a/b$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that you are not using the &amp;lt;code&amp;gt;displaymath&amp;lt;/code&amp;gt;-environment and that all equations are numbered?&lt;br /&gt;
* did you make sure that all of your sections, subsections, paragraphs and so on are numbered?&lt;br /&gt;
* did you avoid any and all uses of &amp;lt;code&amp;gt;\bf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\it&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\sl&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;\em&amp;lt;/code&amp;gt; and use the proper commands &amp;lt;code&amp;gt;\textbf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textit&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textsl&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;\emph&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you use the en-dash of TeX for ranges, even if they occur in math, by using &amp;lt;code&amp;gt;--&amp;lt;/code&amp;gt; in text mode rather than a minus sign? (that is, did you typeset a range in an equation as &amp;lt;code&amp;gt;$3x$--$5x$&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$3x\mbox{--}5x$&amp;lt;/code&amp;gt; rather than, erroneously, &amp;lt;code&amp;gt;$3x-5x$&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you correctly use the minus-sign and dashes in astronomical source names, where the name contains coordinates and the &amp;lt;q&amp;gt;dash&amp;lt;/q&amp;gt; really is a southern declination or Galactic latitude, that is, did you typeset &amp;lt;code&amp;gt;Her X-1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LMC X-3&amp;lt;/code&amp;gt;, but &amp;lt;code&amp;gt;GX\,339$-$4&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;IGR J16318$-$4848&amp;lt;/code&amp;gt; (and as a really difficult one: &amp;lt;code&amp;gt;MCG$-$6-30-15&amp;lt;/code&amp;gt;)?&lt;br /&gt;
* did you make sure to typeset hydrogen equivalent columns as &amp;lt;code&amp;gt;$N_\mathrm{H}$&amp;lt;/code&amp;gt; rather than $n_H$ or $n_\mathrm{H}$? (note: in astronomy, $n$ denotes a particle density, so it has units of particles per cubic centimeter, while N is a column with units of particles per square centimeter; a certain analysis program uses nH for this parameter, but this does not mean that n should be used in papers).&lt;br /&gt;
&lt;br /&gt;
[[Category:Current Members]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Slurm&amp;diff=2118</id>
		<title>Slurm</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Slurm&amp;diff=2118"/>
		<updated>2020-12-04T09:19:17Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Submitting a job array where each command needs to change into a different directory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Slurm]]&lt;br /&gt;
&lt;br /&gt;
= About =&lt;br /&gt;
&lt;br /&gt;
In order to spread the workload of scientific computations on our compute nodes the resource manager SLURM is used.&lt;br /&gt;
&lt;br /&gt;
From [https://slurm.schedmd.com/overview.html official SLURM website]:&lt;br /&gt;
&lt;br /&gt;
''Slurm is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters. Slurm requires no kernel modifications for its operation and is relatively self-contained. As a cluster workload manager, Slurm has three key functions. First, it allocates exclusive and/or non-exclusive access to resources (compute nodes) to users for some duration of time so they can perform work. Second, it provides a framework for starting, executing, and monitoring work (normally a parallel job) on the set of allocated nodes. Finally, it arbitrates contention for resources by managing a queue of pending work.''&lt;br /&gt;
[[File:entities_slurm.gif|frame|Different entities of Slurm]]&lt;br /&gt;
From [https://slurm.schedmd.com/overview.html official SLURM website]:&lt;br /&gt;
&lt;br /&gt;
''SLURM manages the cluster in partitions, which are a set of compute nodes. Note, that partitions may overlap, e.g. one compute node may be in two or more partitions. A node is a physical computer which provides consumable resources: CPUs and Memory. A CPU does not necessarily have to be a physical processor but is more like a virtual CPU to run one single task on. A dual core with hyper threading technology, for instance, would show up as a node with 4 CPUs consisting of two cores with the capability of running two threads on each core. Physical memory is defined in MB.''&lt;br /&gt;
&lt;br /&gt;
The following partitions exist in the current setup:&lt;br /&gt;
&lt;br /&gt;
* remeis: default partition, all machines, timelimit: 7days&lt;br /&gt;
* erosita: only available for selected people involved in the project, timelimit: infinite&lt;br /&gt;
* debug: very high priority partition for software development, timelimit: 1h&lt;br /&gt;
&lt;br /&gt;
= Quick users tutorial =&lt;br /&gt;
&lt;br /&gt;
This tutorial will give you a quick overview over the most important commands. The [https://slurm.schedmd.com/overview.html official SLURM website] provides more detailed information.&lt;br /&gt;
&lt;br /&gt;
== Get cluster status ==&lt;br /&gt;
In order to get an overview of the cluster, type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  sinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This command offers a variety of options how to format the output. In order to get a detailed output while focusing on the nodes rather than the partitions, type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  sinfo -N -l&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
An overview over the available partitions can be shown with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  scontrol show partition&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
an the current queued and running jobs can be displayed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  squeue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Executing a job in real-time ==&lt;br /&gt;
In order to allocate for instance 1 CPUs and 100MB of memory for real-time work, type &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  salloc --mem-per-cpu=100 -n1 bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your bash is now connected to the compute nodes. In order to execute a script use the srun-command&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  srun my_script.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Each srun-command you execute now is interpreted as a job step. The currently running job step of submitted jobs can be displayed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  squeue -s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also start a job by simply use the srun command and specify your requirements. In the following case, srun will allocate 100MB of memory and 1 CPU(s) for 1 task, only for the duration of execution.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  srun --mem-per-cpu=100 -n1 my_script.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If resources are available your job will start immediately.&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
== Submitting a job for later execution ==&lt;br /&gt;
&lt;br /&gt;
The most convenient way is to submit a job script for later execution. The top part of the script contains scheduling information for SLURM, the more information you provide here, the better.&lt;br /&gt;
&lt;br /&gt;
First of all, a job name is specified, followed by a maximum time. If your job exceeds this time, it will be killed. However, do not overestimate too much because short jobs might start earlier. Acceptable time formats include &amp;quot;minutes&amp;quot;, &amp;quot;minutes:seconds&amp;quot;, &amp;quot;hours:minutes:seconds&amp;quot;, &amp;quot;days-hours&amp;quot;, &amp;quot;days-hours:minutes&amp;quot; and &amp;quot;days-hours:minutes:seconds&amp;quot;. The output file is set to be test-job(jobID).out and the partition to run the job on is &amp;quot;remeis&amp;quot;.&lt;br /&gt;
The sbatch-script itself will not initiate any job but only allocate the resources. The ''ntasks'' and ''mem-per-cpu'' options advise the SLURM controller that job steps run within the allocation will launch a maximum of number tasks and to provide for sufficient resources.&lt;br /&gt;
&lt;br /&gt;
The ''srun'' commands in the job script launch the job steps. The example below thus consists of two job steps. Each of the ''srun'' commands may have own requirements concerning memory any may also spawn less tasks than given in the header of the script file. However, the values in the header may never be exceeded!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  #SBATCH --job-name my_first_job&lt;br /&gt;
  #SBATCH --time 05:00&lt;br /&gt;
  #SBATCH --output test-job_%A_%a.out&lt;br /&gt;
  #SBATCH --error test-job_%A_%a.err&lt;br /&gt;
  #SBATCH --partition=remeis&lt;br /&gt;
  #SBATCH --ntasks=4&lt;br /&gt;
  #SBATCH --mem-per-cpu=100&lt;br /&gt;
  srun -l my_script1.sh&lt;br /&gt;
  srun -l my_script2.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The ''-l'' parameter of ''srun'' will print the task number in front of a line of stdout/err. You can submit this script by saving it in a file, e.g. ''my_first_job.slurm'', and sumitting it using &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  cepheus:~&amp;gt; sbatch my_first_job.slurm &lt;br /&gt;
  Submitted batch job 144&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check the estimated starting time of your job using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  squeue --start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Submitting a job array ==&lt;br /&gt;
&lt;br /&gt;
In order to submit a array of jobs with the same requirements you have to modify your script file. &lt;br /&gt;
The script above is going to spawn 4 jobs each consisting of one srun command. Note the presence of the new environment variable ''${SLURM_ARRAY_TASK_ID}'' which might be useful for your work. In this example we start an isis-script with different input values. You can also simply use different scripts.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash                     &lt;br /&gt;
  #SBATCH --partition remeis&lt;br /&gt;
  #SBATCH --job-name important_job                                                                   &lt;br /&gt;
  #SBATCH --ntasks=1&lt;br /&gt;
  #SBATCH --time 00:05:00                                                         &lt;br /&gt;
  #SBATCH --output /home/dauser/tmp/jobscript_beta.%A_%a.out          &lt;br /&gt;
  #SBATCH --error /home/dauser/tmp/jobscript_beta.%A_%a.err          &lt;br /&gt;
  #SBATCH --array 0-3&lt;br /&gt;
  &lt;br /&gt;
  cd /home/user/script/&lt;br /&gt;
  &lt;br /&gt;
  COMMAND[0]=&amp;quot;./sim_script.sl 0.00&amp;quot;                                       &lt;br /&gt;
  COMMAND[1]=&amp;quot;./sim_script.sl 0.10&amp;quot;                                       &lt;br /&gt;
  COMMAND[2]=&amp;quot;./sim_script.sl 0.20&amp;quot;                                       &lt;br /&gt;
  COMMAND[3]=&amp;quot;./sim_script.sl 0.30&amp;quot;                                       &lt;br /&gt;
  &lt;br /&gt;
  srun /usr/bin/nice -n +19 ${COMMAND[$SLURM_ARRAY_TASK_ID]} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that it is often much better not to hard code the parameters of your job in the batch script, but to move that logic into the simulation script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash                     &lt;br /&gt;
  #SBATCH --partition remeis&lt;br /&gt;
  #SBATCH --job-name important_job                                                                   &lt;br /&gt;
  #SBATCH --ntasks=1&lt;br /&gt;
  #SBATCH --time 00:05:00                                                         &lt;br /&gt;
  #SBATCH --output /home/dauser/tmp/jobscript_beta.%A_%a.out          &lt;br /&gt;
  #SBATCH --error /home/dauser/tmp/jobscript_beta.%A_%a.err          &lt;br /&gt;
  #SBATCH --array 0-3&lt;br /&gt;
  &lt;br /&gt;
  cd /home/user/script/&lt;br /&gt;
  srun /usr/bin/nice -n +19 ./script --param=${SLURM_ARRAY_TASK_ID} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case, the script will use the command line parameter param to identify what is to be done (all programming languages have ways to access command line parameters, for isis, you might want to take a look at the cmdopt tool, for perl use Getopt::Long, for C use getopt or getopt_long in the Gnu C library, for python use the argparse module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As above, this code might be saved in a file, for example ''job.slurm'' can be executed using &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  sbatch job.slurm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need a specific machine to run your job on, you can use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --nodelist=leo,draco&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
If you have a job with high I/O and/or traffic on the network you can limit the number of jobs running simultaneously (to 2 in this example) by&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --array 0-3%2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will only allocate resources on the given nodes. However, if all nodes in 'nodelist' cannot fulfill the job requirements, SLURM will also allocate other machines.&lt;br /&gt;
&lt;br /&gt;
If you would like to cancel jobs 1, 2 and 3 from job array 20 use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  scancel 20_[1-3]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that you might have to escape the brackets when using the above command, e.g.,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  tcsh:~&amp;gt; scancel 20_\[1-3\]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to cancel the whole array, ''scancel'' works as usual&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  scancel 20&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note, there is also the option to modify requirements of single jobs later using ''scontrol update job=101_1 ...''.&lt;br /&gt;
&lt;br /&gt;
If you have jobs which are dependent on the result of others or if you want a more detailed description concerning job arrays you can find it in the official SLURM manual: [[https://slurm.schedmd.com/job_array.html]]&lt;br /&gt;
&lt;br /&gt;
== Submitting a job array where each command needs to change into a different directory ==&lt;br /&gt;
&lt;br /&gt;
In order to allow each command of the job array to change into an individual directory (as opposed to all into the same directory as above), modify the script as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash                     &lt;br /&gt;
  #SBATCH --partition remeis&lt;br /&gt;
  #SBATCH --job-name important_job                                                                   &lt;br /&gt;
  #SBATCH --ntasks=1&lt;br /&gt;
  #SBATCH --time 00:05:00                                                         &lt;br /&gt;
  #SBATCH --output /home/dauser/tmp/jobscript_beta.%A_%a.out          &lt;br /&gt;
  #SBATCH --error /home/dauser/tmp/jobscript_beta.%A_%a.err          &lt;br /&gt;
  #SBATCH --array 0-3&lt;br /&gt;
  &lt;br /&gt;
  DIR[0]=&amp;quot;/home/user/dir1&amp;quot;&lt;br /&gt;
  DIR[1]=&amp;quot;/home/user/dir2&amp;quot;&lt;br /&gt;
  DIR[2]=&amp;quot;/userdata/user/dir3&amp;quot;&lt;br /&gt;
  DIR[3]=&amp;quot;/userdata/user/dir4&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  cd ${DIR[$SLURM_ARRAY_TASK_ID]}&lt;br /&gt;
  &lt;br /&gt;
  COMMAND[0]=&amp;quot;./sim_script.sl 0.00&amp;quot;                                       &lt;br /&gt;
  COMMAND[1]=&amp;quot;./sim_script.sl 0.10&amp;quot;                                       &lt;br /&gt;
  COMMAND[2]=&amp;quot;./sim_script.sl 0.20&amp;quot;                                       &lt;br /&gt;
  COMMAND[3]=&amp;quot;./sim_script.sl 0.30&amp;quot;                                       &lt;br /&gt;
  &lt;br /&gt;
  srun /usr/bin/nice -n +19 ${COMMAND[$SLURM_ARRAY_TASK_ID]} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This also works with paths relative to the directory where the slurm script was submitted.&lt;br /&gt;
&lt;br /&gt;
As also discussed above, as an alternative you might want to move the logic concerning the working directories and parameters into your script.&lt;br /&gt;
&lt;br /&gt;
== Submitting a job array with varying number of tasks ==&lt;br /&gt;
&lt;br /&gt;
This is not really a job &amp;quot;array&amp;quot;. But to execute multiple jobs with different number of tasks one can use multiple&lt;br /&gt;
srun calls chained with an '&amp;amp;'. This will submit the jobs at once but allow one to specify job parameters individually&lt;br /&gt;
for each job.&lt;br /&gt;
&lt;br /&gt;
Example: Simultaneous fit of multiple datasets with different functions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; line='line'&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --job-name my_simultaneous_fit_%n&lt;br /&gt;
#SBATCH --time 05:00&lt;br /&gt;
#SBATCH --output test-job_%A_%a.out&lt;br /&gt;
#SBATCH --error test-job_%A_%a.err&lt;br /&gt;
#SBATCH --partition=remeis&lt;br /&gt;
#SBATCH --mem-per-cpu=100&lt;br /&gt;
srun -l my_complicated_fit.sh 2 --ntasks=2 &amp;amp; # my_complicated_fit fits 2 line centers -&amp;gt; needs 2 tasks&lt;br /&gt;
srun -l my_complicated_fit.sh 4 --ntasks=4   # my_complicated_fit fits 4 line centers -&amp;gt; needs 4 tasks&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Graphical jobs (srun.x11) ==&lt;br /&gt;
Not all applications run only on the commandline. Slurm does not support graphical applications natively but there is a wrapper script available which allocates the resources on the cluster and then provides a [[screen]] session inside a running [[SSH|SSH-session]] to the host where the resources have been allocated on. For example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@lynx:~$ srun.x11&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
results in a new shell :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@messier15:~$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which forwards the window if you start a graphical program for example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@messier15:~$ kate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
would open the text editor [[https://de.wikipedia.org/wiki/Kate_(KDE) kate]]. However, this only uses the standard resources set for the remeis partition. If you have other requirements you can also specify these in exactly the same way as for ''srun'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@lynx:~$ srun.x11 --mem=2G&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
would allocate 2GB of memory for the application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Using the ''erosita'' partition (serpens)==&lt;br /&gt;
&lt;br /&gt;
If you are allowed to use the eRosita Partition, contact the admin list. Once your username is added to the list of privileged users, you just have to add &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --partition=erosita&lt;br /&gt;
  #SBATCH --account=erosita&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to your jobfiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other useful commands ==&lt;br /&gt;
&lt;br /&gt;
* ''sstat'' Real-time status information of your running jobs&lt;br /&gt;
&lt;br /&gt;
* ''sattach &amp;lt;jobid.stepid&amp;gt;'' Attach to stdI/O of one of your running jobs &lt;br /&gt;
&lt;br /&gt;
* ''scancel [OPTIONS...] [job_id[_array_id][.step_id]] [job_id[_array_id][.step_id]...]'' Cancel the execution of one of your job arrays/jobs/job steps.&lt;br /&gt;
&lt;br /&gt;
* ''scontrol'' Administration tool, you can for example use this to modify the requirements of your jobs. You can for exaple show your jobs ''show jobs'' or update the time limit ''update JobId=  TimeLimit=2''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* ''smap'' graphically view information about Slurm jobs, partitions, and set configurations parameters.&lt;br /&gt;
&lt;br /&gt;
* ''sview'' graphical user interface for those who prefer clicking over typing. X-Server required. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= SLURM and MPI =&lt;br /&gt;
== About MPI ==&lt;br /&gt;
MPI (the Message Passing Interface) makes it possible to run parallel processes on CPUs of different hosts. To do so it uses TCP packets to communicate via the normal network connection. Some tasks can profit a lot of using more cores for computation.&lt;br /&gt;
At Remeis MPICH2 is used for initialisation of MPI tasks which is well supported within Slurm. The process manager is called '''pmi2''' and is set as default for srun. If an older MPI process manager is needed, for example for older MPI applications used in '''torque''', it can be set with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --mpi=&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
in the submission script.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  srun --mpi=list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
provides a list of supported MPI process managers. &lt;br /&gt;
&lt;br /&gt;
The implementation of MPI for SLang/ISIS is called '''SLMPI'''.&lt;br /&gt;
&lt;br /&gt;
== Best practice for MPI tasks ==&lt;br /&gt;
&lt;br /&gt;
The usage of MPI might cause continuously high network traffic especially on the host which holds the master process. Please consider this when deciding which nodes are used for the job. It's a good idea to provide servers (e.g. leo or lupus) with the ''--nodelist='' option one of which is then used to hold the master process since nobody is sitting in front of it and trying to use a browser. Additional nodes are allocated automatically by Slurm if required to fit the ''--ntasks'' / ''-n'' option.&lt;br /&gt;
&lt;br /&gt;
MPI jobs depend on all allocated nodes to be up and running properly, so I'd like to use this opportunity to remind about shutting down/rebooting PCs on your own without any permission can abort a whole MPI job.&lt;br /&gt;
&lt;br /&gt;
== Requirements and Tips ==&lt;br /&gt;
To use MPI obviously the application or function used should support MPI. Examples range from programs written in C using some MPI features and compiled with the ''mpicc'' compiler to common ISIS-functions such as ''mpi_emcee'' or ''mpi_fit_pars''.&lt;br /&gt;
&lt;br /&gt;
Keep in mind that everything in the compiled programs/scripts which is not an MPI compatible function is executed on each node on its own. For example in ISIS with ''-n 20'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  fit_counts;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
would fit the defined function to the dataset 20 times at once. That's not very helpful so think about which tasks should be performed in the actual MPI process. Special care has to be taken if something has to be saved as a file. Consider:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  save_par(&amp;quot;test.par&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
with ''-n 20''. This would save the current fit parameters to '''test.par''' in the working directory 20 times at exactly the same time. This might be helpful if the file is needed on the scratch disk of each node, but doing this on for example ''/userdata'' can cause serious trouble. The function ''mpi_master_only'' can be used to perform a user defined task in an MPI job only once. Best way is to only submit an MPI job to Slurm which only contains actual MPI functions. If some models in ISIS are used which output something to stdout or stderr while loading these messages are also generated 20 times since it's loaded in each process individually.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
If the job is a valid MPI process then the submission works exactly like for any other job:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  #SBATCH --job-name my_first_mpi_job&lt;br /&gt;
  #SBATCH ...&lt;br /&gt;
  #SBATCH --ntasks=20&lt;br /&gt;
  cd /my/working/dir&lt;br /&gt;
  srun /usr/bin/nice -n +15 ./my_mpi_script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It might be necessary to set a higher memory usage than for the according non MPI job since some applications try to limit the network traffic by just copying the required data to each node in the first place.&lt;br /&gt;
&lt;br /&gt;
Also make sure that if it is necessary to specify the number of child processes in the application itself, set it to the same as with the ''--ntasks'' / ''-n'' option in the submission. An example would be the ''num_slaves'' qualifier in ''mpi_emcee''.&lt;br /&gt;
&lt;br /&gt;
Note that the ''srun'' command does not contain ''mpiexec'' or ''mpirun'' which were used in older versions of MPI to launch the processes. The processes manager ''pmi2'' is built into Slurm and makes it possible that Slurm itself can initialize the network communication with the ''srun'' command only.&lt;br /&gt;
&lt;br /&gt;
Of course it's also possible to run the MPI process directly from the commandline. As an example let's have a look at the calculation of pi with the MPI program ''cpi''. The program comes with the source code of MPICH2 and is compiled in the ''check'' rule. It's located in&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /data/system/software/mpich/mpich-3.2/examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
To run the calculation in 10 parallel processes directly from the commandline use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  [1:11]weber@lynx:/data/system/software/mpich/mpich-3.2/examples&amp;gt; srun -n 10 ./cpi&lt;br /&gt;
  Process 0 of 10 is on aquarius&lt;br /&gt;
  Process 1 of 10 is on ara&lt;br /&gt;
  Process 6 of 10 is on asterion&lt;br /&gt;
  Process 2 of 10 is on ara&lt;br /&gt;
  Process 8 of 10 is on asterion&lt;br /&gt;
  Process 7 of 10 is on asterion&lt;br /&gt;
  Process 3 of 10 is on aranea&lt;br /&gt;
  Process 5 of 10 is on aranea&lt;br /&gt;
  Process 4 of 10 is on aranea&lt;br /&gt;
  Process 9 of 10 is on cancer&lt;br /&gt;
  pi is approximately 3.1415926544231256, Error is 0.0000000008333325&lt;br /&gt;
  wall clock time = 0.010601&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As we can see Slurm launched 10 processes distributed to aquarius, ara, asterion, aranea and cancer. Keep in mind that running MPI interactively doesn't really make sense. The best way to go is to write a submission script like explained above and let Slurm handle the initialisation.&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Slurm&amp;diff=2117</id>
		<title>Slurm</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Slurm&amp;diff=2117"/>
		<updated>2020-12-04T09:17:49Z</updated>

		<summary type="html">&lt;p&gt;Wilms: added text about command line arguments&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Slurm]]&lt;br /&gt;
&lt;br /&gt;
= About =&lt;br /&gt;
&lt;br /&gt;
In order to spread the workload of scientific computations on our compute nodes the resource manager SLURM is used.&lt;br /&gt;
&lt;br /&gt;
From [https://slurm.schedmd.com/overview.html official SLURM website]:&lt;br /&gt;
&lt;br /&gt;
''Slurm is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters. Slurm requires no kernel modifications for its operation and is relatively self-contained. As a cluster workload manager, Slurm has three key functions. First, it allocates exclusive and/or non-exclusive access to resources (compute nodes) to users for some duration of time so they can perform work. Second, it provides a framework for starting, executing, and monitoring work (normally a parallel job) on the set of allocated nodes. Finally, it arbitrates contention for resources by managing a queue of pending work.''&lt;br /&gt;
[[File:entities_slurm.gif|frame|Different entities of Slurm]]&lt;br /&gt;
From [https://slurm.schedmd.com/overview.html official SLURM website]:&lt;br /&gt;
&lt;br /&gt;
''SLURM manages the cluster in partitions, which are a set of compute nodes. Note, that partitions may overlap, e.g. one compute node may be in two or more partitions. A node is a physical computer which provides consumable resources: CPUs and Memory. A CPU does not necessarily have to be a physical processor but is more like a virtual CPU to run one single task on. A dual core with hyper threading technology, for instance, would show up as a node with 4 CPUs consisting of two cores with the capability of running two threads on each core. Physical memory is defined in MB.''&lt;br /&gt;
&lt;br /&gt;
The following partitions exist in the current setup:&lt;br /&gt;
&lt;br /&gt;
* remeis: default partition, all machines, timelimit: 7days&lt;br /&gt;
* erosita: only available for selected people involved in the project, timelimit: infinite&lt;br /&gt;
* debug: very high priority partition for software development, timelimit: 1h&lt;br /&gt;
&lt;br /&gt;
= Quick users tutorial =&lt;br /&gt;
&lt;br /&gt;
This tutorial will give you a quick overview over the most important commands. The [https://slurm.schedmd.com/overview.html official SLURM website] provides more detailed information.&lt;br /&gt;
&lt;br /&gt;
== Get cluster status ==&lt;br /&gt;
In order to get an overview of the cluster, type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  sinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This command offers a variety of options how to format the output. In order to get a detailed output while focusing on the nodes rather than the partitions, type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  sinfo -N -l&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
An overview over the available partitions can be shown with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  scontrol show partition&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
an the current queued and running jobs can be displayed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  squeue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Executing a job in real-time ==&lt;br /&gt;
In order to allocate for instance 1 CPUs and 100MB of memory for real-time work, type &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  salloc --mem-per-cpu=100 -n1 bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your bash is now connected to the compute nodes. In order to execute a script use the srun-command&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  srun my_script.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Each srun-command you execute now is interpreted as a job step. The currently running job step of submitted jobs can be displayed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  squeue -s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also start a job by simply use the srun command and specify your requirements. In the following case, srun will allocate 100MB of memory and 1 CPU(s) for 1 task, only for the duration of execution.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  srun --mem-per-cpu=100 -n1 my_script.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If resources are available your job will start immediately.&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
== Submitting a job for later execution ==&lt;br /&gt;
&lt;br /&gt;
The most convenient way is to submit a job script for later execution. The top part of the script contains scheduling information for SLURM, the more information you provide here, the better.&lt;br /&gt;
&lt;br /&gt;
First of all, a job name is specified, followed by a maximum time. If your job exceeds this time, it will be killed. However, do not overestimate too much because short jobs might start earlier. Acceptable time formats include &amp;quot;minutes&amp;quot;, &amp;quot;minutes:seconds&amp;quot;, &amp;quot;hours:minutes:seconds&amp;quot;, &amp;quot;days-hours&amp;quot;, &amp;quot;days-hours:minutes&amp;quot; and &amp;quot;days-hours:minutes:seconds&amp;quot;. The output file is set to be test-job(jobID).out and the partition to run the job on is &amp;quot;remeis&amp;quot;.&lt;br /&gt;
The sbatch-script itself will not initiate any job but only allocate the resources. The ''ntasks'' and ''mem-per-cpu'' options advise the SLURM controller that job steps run within the allocation will launch a maximum of number tasks and to provide for sufficient resources.&lt;br /&gt;
&lt;br /&gt;
The ''srun'' commands in the job script launch the job steps. The example below thus consists of two job steps. Each of the ''srun'' commands may have own requirements concerning memory any may also spawn less tasks than given in the header of the script file. However, the values in the header may never be exceeded!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  #SBATCH --job-name my_first_job&lt;br /&gt;
  #SBATCH --time 05:00&lt;br /&gt;
  #SBATCH --output test-job_%A_%a.out&lt;br /&gt;
  #SBATCH --error test-job_%A_%a.err&lt;br /&gt;
  #SBATCH --partition=remeis&lt;br /&gt;
  #SBATCH --ntasks=4&lt;br /&gt;
  #SBATCH --mem-per-cpu=100&lt;br /&gt;
  srun -l my_script1.sh&lt;br /&gt;
  srun -l my_script2.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The ''-l'' parameter of ''srun'' will print the task number in front of a line of stdout/err. You can submit this script by saving it in a file, e.g. ''my_first_job.slurm'', and sumitting it using &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  cepheus:~&amp;gt; sbatch my_first_job.slurm &lt;br /&gt;
  Submitted batch job 144&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check the estimated starting time of your job using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  squeue --start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Submitting a job array ==&lt;br /&gt;
&lt;br /&gt;
In order to submit a array of jobs with the same requirements you have to modify your script file. &lt;br /&gt;
The script above is going to spawn 4 jobs each consisting of one srun command. Note the presence of the new environment variable ''${SLURM_ARRAY_TASK_ID}'' which might be useful for your work. In this example we start an isis-script with different input values. You can also simply use different scripts.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash                     &lt;br /&gt;
  #SBATCH --partition remeis&lt;br /&gt;
  #SBATCH --job-name important_job                                                                   &lt;br /&gt;
  #SBATCH --ntasks=1&lt;br /&gt;
  #SBATCH --time 00:05:00                                                         &lt;br /&gt;
  #SBATCH --output /home/dauser/tmp/jobscript_beta.%A_%a.out          &lt;br /&gt;
  #SBATCH --error /home/dauser/tmp/jobscript_beta.%A_%a.err          &lt;br /&gt;
  #SBATCH --array 0-3&lt;br /&gt;
  &lt;br /&gt;
  cd /home/user/script/&lt;br /&gt;
  &lt;br /&gt;
  COMMAND[0]=&amp;quot;./sim_script.sl 0.00&amp;quot;                                       &lt;br /&gt;
  COMMAND[1]=&amp;quot;./sim_script.sl 0.10&amp;quot;                                       &lt;br /&gt;
  COMMAND[2]=&amp;quot;./sim_script.sl 0.20&amp;quot;                                       &lt;br /&gt;
  COMMAND[3]=&amp;quot;./sim_script.sl 0.30&amp;quot;                                       &lt;br /&gt;
  &lt;br /&gt;
  srun /usr/bin/nice -n +19 ${COMMAND[$SLURM_ARRAY_TASK_ID]} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that it is often much better not to hard code the parameters of your job in the batch script, but to move that logic into the simulation script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash                     &lt;br /&gt;
  #SBATCH --partition remeis&lt;br /&gt;
  #SBATCH --job-name important_job                                                                   &lt;br /&gt;
  #SBATCH --ntasks=1&lt;br /&gt;
  #SBATCH --time 00:05:00                                                         &lt;br /&gt;
  #SBATCH --output /home/dauser/tmp/jobscript_beta.%A_%a.out          &lt;br /&gt;
  #SBATCH --error /home/dauser/tmp/jobscript_beta.%A_%a.err          &lt;br /&gt;
  #SBATCH --array 0-3&lt;br /&gt;
  &lt;br /&gt;
  cd /home/user/script/&lt;br /&gt;
  srun /usr/bin/nice -n +19 ./script --param=${SLURM_ARRAY_TASK_ID} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case, the script will use the command line parameter param to identify what is to be done (all programming languages have ways to access command line parameters, for isis, you might want to take a look at the cmdopt tool, for perl use Getopt::Long, for C use getopt or getopt_long in the Gnu C library, for python use the argparse module).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As above, this code might be saved in a file, for example ''job.slurm'' can be executed using &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  sbatch job.slurm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need a specific machine to run your job on, you can use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --nodelist=leo,draco&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
If you have a job with high I/O and/or traffic on the network you can limit the number of jobs running simultaneously (to 2 in this example) by&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --array 0-3%2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will only allocate resources on the given nodes. However, if all nodes in 'nodelist' cannot fulfill the job requirements, SLURM will also allocate other machines.&lt;br /&gt;
&lt;br /&gt;
If you would like to cancel jobs 1, 2 and 3 from job array 20 use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  scancel 20_[1-3]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that you might have to escape the brackets when using the above command, e.g.,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  tcsh:~&amp;gt; scancel 20_\[1-3\]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to cancel the whole array, ''scancel'' works as usual&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  scancel 20&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note, there is also the option to modify requirements of single jobs later using ''scontrol update job=101_1 ...''.&lt;br /&gt;
&lt;br /&gt;
If you have jobs which are dependent on the result of others or if you want a more detailed description concerning job arrays you can find it in the official SLURM manual: [[https://slurm.schedmd.com/job_array.html]]&lt;br /&gt;
&lt;br /&gt;
== Submitting a job array where each command needs to change into a different directory ==&lt;br /&gt;
&lt;br /&gt;
In order to allow each command of the job array to change into an individual directory (as opposed to all into the same directory as above), modify the script as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash                     &lt;br /&gt;
  #SBATCH --partition remeis&lt;br /&gt;
  #SBATCH --job-name important_job                                                                   &lt;br /&gt;
  #SBATCH --ntasks=1&lt;br /&gt;
  #SBATCH --time 00:05:00                                                         &lt;br /&gt;
  #SBATCH --output /home/dauser/tmp/jobscript_beta.%A_%a.out          &lt;br /&gt;
  #SBATCH --error /home/dauser/tmp/jobscript_beta.%A_%a.err          &lt;br /&gt;
  #SBATCH --array 0-3&lt;br /&gt;
  &lt;br /&gt;
  DIR[0]=&amp;quot;/home/user/dir1&amp;quot;&lt;br /&gt;
  DIR[1]=&amp;quot;/home/user/dir2&amp;quot;&lt;br /&gt;
  DIR[2]=&amp;quot;/userdata/user/dir3&amp;quot;&lt;br /&gt;
  DIR[3]=&amp;quot;/userdata/user/dir4&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  cd ${DIR[$SLURM_ARRAY_TASK_ID]}&lt;br /&gt;
  &lt;br /&gt;
  COMMAND[0]=&amp;quot;./sim_script.sl 0.00&amp;quot;                                       &lt;br /&gt;
  COMMAND[1]=&amp;quot;./sim_script.sl 0.10&amp;quot;                                       &lt;br /&gt;
  COMMAND[2]=&amp;quot;./sim_script.sl 0.20&amp;quot;                                       &lt;br /&gt;
  COMMAND[3]=&amp;quot;./sim_script.sl 0.30&amp;quot;                                       &lt;br /&gt;
  &lt;br /&gt;
  srun /usr/bin/nice -n +19 ${COMMAND[$SLURM_ARRAY_TASK_ID]} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This also works with paths relative to the directory where the slurm script was submitted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Submitting a job array with varying number of tasks ==&lt;br /&gt;
&lt;br /&gt;
This is not really a job &amp;quot;array&amp;quot;. But to execute multiple jobs with different number of tasks one can use multiple&lt;br /&gt;
srun calls chained with an '&amp;amp;'. This will submit the jobs at once but allow one to specify job parameters individually&lt;br /&gt;
for each job.&lt;br /&gt;
&lt;br /&gt;
Example: Simultaneous fit of multiple datasets with different functions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; line='line'&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --job-name my_simultaneous_fit_%n&lt;br /&gt;
#SBATCH --time 05:00&lt;br /&gt;
#SBATCH --output test-job_%A_%a.out&lt;br /&gt;
#SBATCH --error test-job_%A_%a.err&lt;br /&gt;
#SBATCH --partition=remeis&lt;br /&gt;
#SBATCH --mem-per-cpu=100&lt;br /&gt;
srun -l my_complicated_fit.sh 2 --ntasks=2 &amp;amp; # my_complicated_fit fits 2 line centers -&amp;gt; needs 2 tasks&lt;br /&gt;
srun -l my_complicated_fit.sh 4 --ntasks=4   # my_complicated_fit fits 4 line centers -&amp;gt; needs 4 tasks&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Graphical jobs (srun.x11) ==&lt;br /&gt;
Not all applications run only on the commandline. Slurm does not support graphical applications natively but there is a wrapper script available which allocates the resources on the cluster and then provides a [[screen]] session inside a running [[SSH|SSH-session]] to the host where the resources have been allocated on. For example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@lynx:~$ srun.x11&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
results in a new shell :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@messier15:~$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which forwards the window if you start a graphical program for example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@messier15:~$ kate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
would open the text editor [[https://de.wikipedia.org/wiki/Kate_(KDE) kate]]. However, this only uses the standard resources set for the remeis partition. If you have other requirements you can also specify these in exactly the same way as for ''srun'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@lynx:~$ srun.x11 --mem=2G&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
would allocate 2GB of memory for the application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Using the ''erosita'' partition (serpens)==&lt;br /&gt;
&lt;br /&gt;
If you are allowed to use the eRosita Partition, contact the admin list. Once your username is added to the list of privileged users, you just have to add &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --partition=erosita&lt;br /&gt;
  #SBATCH --account=erosita&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to your jobfiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other useful commands ==&lt;br /&gt;
&lt;br /&gt;
* ''sstat'' Real-time status information of your running jobs&lt;br /&gt;
&lt;br /&gt;
* ''sattach &amp;lt;jobid.stepid&amp;gt;'' Attach to stdI/O of one of your running jobs &lt;br /&gt;
&lt;br /&gt;
* ''scancel [OPTIONS...] [job_id[_array_id][.step_id]] [job_id[_array_id][.step_id]...]'' Cancel the execution of one of your job arrays/jobs/job steps.&lt;br /&gt;
&lt;br /&gt;
* ''scontrol'' Administration tool, you can for example use this to modify the requirements of your jobs. You can for exaple show your jobs ''show jobs'' or update the time limit ''update JobId=  TimeLimit=2''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* ''smap'' graphically view information about Slurm jobs, partitions, and set configurations parameters.&lt;br /&gt;
&lt;br /&gt;
* ''sview'' graphical user interface for those who prefer clicking over typing. X-Server required. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= SLURM and MPI =&lt;br /&gt;
== About MPI ==&lt;br /&gt;
MPI (the Message Passing Interface) makes it possible to run parallel processes on CPUs of different hosts. To do so it uses TCP packets to communicate via the normal network connection. Some tasks can profit a lot of using more cores for computation.&lt;br /&gt;
At Remeis MPICH2 is used for initialisation of MPI tasks which is well supported within Slurm. The process manager is called '''pmi2''' and is set as default for srun. If an older MPI process manager is needed, for example for older MPI applications used in '''torque''', it can be set with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --mpi=&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
in the submission script.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  srun --mpi=list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
provides a list of supported MPI process managers. &lt;br /&gt;
&lt;br /&gt;
The implementation of MPI for SLang/ISIS is called '''SLMPI'''.&lt;br /&gt;
&lt;br /&gt;
== Best practice for MPI tasks ==&lt;br /&gt;
&lt;br /&gt;
The usage of MPI might cause continuously high network traffic especially on the host which holds the master process. Please consider this when deciding which nodes are used for the job. It's a good idea to provide servers (e.g. leo or lupus) with the ''--nodelist='' option one of which is then used to hold the master process since nobody is sitting in front of it and trying to use a browser. Additional nodes are allocated automatically by Slurm if required to fit the ''--ntasks'' / ''-n'' option.&lt;br /&gt;
&lt;br /&gt;
MPI jobs depend on all allocated nodes to be up and running properly, so I'd like to use this opportunity to remind about shutting down/rebooting PCs on your own without any permission can abort a whole MPI job.&lt;br /&gt;
&lt;br /&gt;
== Requirements and Tips ==&lt;br /&gt;
To use MPI obviously the application or function used should support MPI. Examples range from programs written in C using some MPI features and compiled with the ''mpicc'' compiler to common ISIS-functions such as ''mpi_emcee'' or ''mpi_fit_pars''.&lt;br /&gt;
&lt;br /&gt;
Keep in mind that everything in the compiled programs/scripts which is not an MPI compatible function is executed on each node on its own. For example in ISIS with ''-n 20'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  fit_counts;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
would fit the defined function to the dataset 20 times at once. That's not very helpful so think about which tasks should be performed in the actual MPI process. Special care has to be taken if something has to be saved as a file. Consider:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  save_par(&amp;quot;test.par&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
with ''-n 20''. This would save the current fit parameters to '''test.par''' in the working directory 20 times at exactly the same time. This might be helpful if the file is needed on the scratch disk of each node, but doing this on for example ''/userdata'' can cause serious trouble. The function ''mpi_master_only'' can be used to perform a user defined task in an MPI job only once. Best way is to only submit an MPI job to Slurm which only contains actual MPI functions. If some models in ISIS are used which output something to stdout or stderr while loading these messages are also generated 20 times since it's loaded in each process individually.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
If the job is a valid MPI process then the submission works exactly like for any other job:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  #SBATCH --job-name my_first_mpi_job&lt;br /&gt;
  #SBATCH ...&lt;br /&gt;
  #SBATCH --ntasks=20&lt;br /&gt;
  cd /my/working/dir&lt;br /&gt;
  srun /usr/bin/nice -n +15 ./my_mpi_script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It might be necessary to set a higher memory usage than for the according non MPI job since some applications try to limit the network traffic by just copying the required data to each node in the first place.&lt;br /&gt;
&lt;br /&gt;
Also make sure that if it is necessary to specify the number of child processes in the application itself, set it to the same as with the ''--ntasks'' / ''-n'' option in the submission. An example would be the ''num_slaves'' qualifier in ''mpi_emcee''.&lt;br /&gt;
&lt;br /&gt;
Note that the ''srun'' command does not contain ''mpiexec'' or ''mpirun'' which were used in older versions of MPI to launch the processes. The processes manager ''pmi2'' is built into Slurm and makes it possible that Slurm itself can initialize the network communication with the ''srun'' command only.&lt;br /&gt;
&lt;br /&gt;
Of course it's also possible to run the MPI process directly from the commandline. As an example let's have a look at the calculation of pi with the MPI program ''cpi''. The program comes with the source code of MPICH2 and is compiled in the ''check'' rule. It's located in&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /data/system/software/mpich/mpich-3.2/examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
To run the calculation in 10 parallel processes directly from the commandline use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  [1:11]weber@lynx:/data/system/software/mpich/mpich-3.2/examples&amp;gt; srun -n 10 ./cpi&lt;br /&gt;
  Process 0 of 10 is on aquarius&lt;br /&gt;
  Process 1 of 10 is on ara&lt;br /&gt;
  Process 6 of 10 is on asterion&lt;br /&gt;
  Process 2 of 10 is on ara&lt;br /&gt;
  Process 8 of 10 is on asterion&lt;br /&gt;
  Process 7 of 10 is on asterion&lt;br /&gt;
  Process 3 of 10 is on aranea&lt;br /&gt;
  Process 5 of 10 is on aranea&lt;br /&gt;
  Process 4 of 10 is on aranea&lt;br /&gt;
  Process 9 of 10 is on cancer&lt;br /&gt;
  pi is approximately 3.1415926544231256, Error is 0.0000000008333325&lt;br /&gt;
  wall clock time = 0.010601&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As we can see Slurm launched 10 processes distributed to aquarius, ara, asterion, aranea and cancer. Keep in mind that running MPI interactively doesn't really make sense. The best way to go is to write a submission script like explained above and let Slurm handle the initialisation.&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis:tutorial:timing&amp;diff=2056</id>
		<title>Isis:tutorial:timing</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis:tutorial:timing&amp;diff=2056"/>
		<updated>2020-08-10T10:06:08Z</updated>

		<summary type="html">&lt;p&gt;Wilms: Created page with &amp;quot;(this page is work in progress, but it will be a more uniform version of the recipes which are currently available at the Timing tool page of the wiki)  === Reading Lightc...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(this page is work in progress, but it will be a more uniform version of the recipes which are currently available at the [[Timing tool]] page of the wiki)&lt;br /&gt;
&lt;br /&gt;
=== Reading Lightcurves ===&lt;br /&gt;
&lt;br /&gt;
A light curve is a FITS file that contains the information about the brightness of a source as a function of time. Typically, light curves are evenly spaced, that is, the binning of the data does not change with time. The brightness of the source is typically encoded either as a count rate or by the number of events detected in the bin. &lt;br /&gt;
&lt;br /&gt;
This means that FITS light curves contain the following rows:&lt;br /&gt;
&lt;br /&gt;
* ''TIME'': This is the time of the bin. Whether this time is at the start, in the center, or at the end of the bin depends on the value of the header keyword ''TIMEPIXR'', which states the relative time (in units of the binsize - ''TIMEDEL'' &lt;br /&gt;
* ''RATE'' or ''COUNTS'': This is the count rate of the bin (typically in units of counts/s), or the number of counts. &lt;br /&gt;
* ''FRACEXP'': This optional column designates the fractional time that the detector was sensitive in a given time bin. Reasons why ''FRACEXP'' might be less than 1 are, e.g., telemetry drop outs during the time bins or a detector intrinsic dead time. Note that depending on the instrument, the count rate in the ''RATE'' column may or may not be corrected for the ''FRACEXP''. You need to consult the FITS file and/or the documentation of the instrument to find out (often there is a header keyword for this).&lt;br /&gt;
&lt;br /&gt;
In addition to the header keywords ''TIMEPIXR'' and ''TIMEDEL'', the following header keywords are often also used:&lt;br /&gt;
&lt;br /&gt;
* ''MJDREF'': Reference time for the ''TIME''-column. This means that the MJD of the events can be obtained from by the equation MJD=MJDREF+TIME/86400, where it was assumed that the ''TIME''-column is in units of seconds. For high precision lightcurves, the reference MJD is generally encoded in an integer and a fractional part, ''MJDREFI'' and ''MJDREFF''. Use these if they are present. If you need the MJD, use&lt;br /&gt;
 MJD=MJDREFI+(MJDREFF+TIME/86400.)&lt;br /&gt;
Note the parentheses - in pretty much all computing languages derived from C (including S-LANG, python and so on) this enforces that the contents of the parenthesis are computed first, which will reduce the roundoff error.&lt;br /&gt;
&lt;br /&gt;
* ''TSTART'' and ''TSTOP'': Start and end of the observations, in the same units as the ''TIME''-column.&lt;br /&gt;
&lt;br /&gt;
There is unfortunately much less standardization going on with time series than with spectra. This means that all of what is said in the following needs to be taken with a grain of salt, and it is strongly recommended that you take a look at the FITS-file and do not blindly copy the recipes here. One thing that is very important for timing is the question whether the time series contains gaps or not. How these are encoded is mission specific, but in general, a light curve FITS-file will have a Good Time Interval (GTI) extension that lists the valid time intervals. The light curve may or may not be limited to the GTI - for example, some light curves produced by the XMM SAS do NOT limit themselves to the GTI but zero pad the lightcurve. This means that before you work with the time series you have to remove these gaps.&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=2038</id>
		<title>Remeis English Checklist</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=2038"/>
		<updated>2020-06-23T08:30:19Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Spelling and Word usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== The Remeis English Checklist ======&lt;br /&gt;
&lt;br /&gt;
(by J. Wilms and K. Pottschmidt)&lt;br /&gt;
&lt;br /&gt;
'''''First of all and most importantly:'''''&lt;br /&gt;
&lt;br /&gt;
* did you read the instructions to authors of the journal? If you are working on a thesis, did you read those of [http://www.aanda.org/doc_journal/instructions/aadoc.pdf Astronomy and Astrophysics]?&lt;br /&gt;
* did you read appendix A of the [https://journals.aps.org/files/rmpguide.pdf instructions to authors] of Rev Mod Phys?&lt;br /&gt;
&lt;br /&gt;
==== Punctuation ====&lt;br /&gt;
&lt;br /&gt;
* did you remove all commas before &amp;quot;that&amp;quot;?&lt;br /&gt;
* did you end your footnotes and captions with a full stop (&amp;quot;.&amp;quot;)?&lt;br /&gt;
* did you make sure that your use of &amp;quot;data&amp;quot; is correct and uses plural verbs?&lt;br /&gt;
* did you make sure that you do not have a &amp;quot;:&amp;quot; anywhere before an equation, but that your equations are seen as part of your sentences?&lt;br /&gt;
* did you make sure that you have commas surrounding &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
==== Spelling and Word usage ====&lt;br /&gt;
&lt;br /&gt;
* do you consistently use either British or American spelling?&lt;br /&gt;
* did you run a spell checker over your manuscript? For TeX, use &amp;quot;ispell&amp;quot; or the built in spell checker in emacs.&lt;br /&gt;
* did you make sure not to use country prefixes in addresses in the author list?&lt;br /&gt;
* did you avoid passive voice as much as possible?&lt;br /&gt;
* did you make sure that you are //not// using &amp;quot;The found results are...&amp;quot; and similar German constructs in your text?&lt;br /&gt;
* did you make sure that everything in your text that is not your original result is accompanied by proper citations?&lt;br /&gt;
* did you make sure that you distinguish between &amp;quot;estimate&amp;quot; and &amp;quot;estimation&amp;quot; by replacing all &amp;quot;estimation&amp;quot; with &amp;quot;estimate&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;exemplary&amp;quot; by &amp;quot;example&amp;quot;?&lt;br /&gt;
* did you use &amp;quot;short&amp;quot; for length intervals and &amp;quot;brief&amp;quot; for time intervals? (but note that &amp;quot;short of duration&amp;quot; is correct) &lt;br /&gt;
* did you replace all uses of &amp;quot;the actual value&amp;quot; by &amp;quot;the real value&amp;quot;? (if you are German, &amp;quot;actual&amp;quot; does not mean &amp;quot;aktuell&amp;quot;!)&lt;br /&gt;
* did you remove all uses of &amp;quot;hence&amp;quot; and &amp;quot;thereby&amp;quot;?&lt;br /&gt;
* did you make sure that you use &amp;quot;however&amp;quot; as sparingly as possible?&lt;br /&gt;
* did you make sure that you did not use &amp;quot;the equation reads..&amp;quot;, but rather used &amp;quot;the equation is...&amp;quot; or &amp;quot;the equation is given by...&amp;quot;?&lt;br /&gt;
* did you avoid split infinitives? (&amp;quot;to boldly go...&amp;quot; is wrong; yes, in many cases split infinitives are ok in current English, but they tend to be so often used wrongly by non-native speakers that it is best to avoid them)&lt;br /&gt;
* did you make sure that you distinguish properly between &amp;quot;this&amp;quot; and &amp;quot;these&amp;quot;?&lt;br /&gt;
* did you make use of the &amp;quot;Oxford comma&amp;quot;, i.e., do you have a comma before &amp;quot;and&amp;quot; in lists?&lt;br /&gt;
* did you use &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot; correctly, i.e., using &amp;quot;i.e.&amp;quot; for a specific clarification or definition and &amp;quot;e.g.&amp;quot; where you would otherwise use &amp;quot;for example&amp;quot;?&lt;br /&gt;
* did you use the IAU recommended year - month - day sequences (2016 March 15)?&lt;br /&gt;
* did you make sure that you did not use contractions such as &amp;quot;didn't&amp;quot; or &amp;quot;you're&amp;quot;?&lt;br /&gt;
* did you replace &amp;quot;cf.&amp;quot; with &amp;quot;see&amp;quot; everywhere since you know that &amp;quot;cf.&amp;quot; means &amp;quot;compare&amp;quot;?&lt;br /&gt;
* did you make sure that the reader will understand what thing you refer to when using &amp;quot;it&amp;quot; rather than naming it? &lt;br /&gt;
* did you make sure that all uses of &amp;quot;this&amp;quot; are followed by the object you are referring to? &lt;br /&gt;
* did you use &amp;quot;led&amp;quot; rather than &amp;quot;lead&amp;quot; when using the past tense of the verb &amp;quot;to lead&amp;quot;?&lt;br /&gt;
* did you reread the manuscript for internal consistency after you added comments from your coauthors?&lt;br /&gt;
* did you make sure that your sentences are short (rule of thumb: if a sentence goes over more than three lines it is probably too long)?&lt;br /&gt;
* did you check that you did not combine two sentences that could be separate sentences with &amp;quot;and&amp;quot;?&lt;br /&gt;
* did you avoid abbreviations as much as possible and only used them when they are really, really common (HST, AGN, XMM,...)?&lt;br /&gt;
* did you check that you defined all abbreviations that you used at their first usage? (&amp;quot;...Active Galactic Nucleus (AGN)...&amp;quot; //not// &amp;quot;...AGN (Active Galactic Nucleus)...&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
==== Citations ====&lt;br /&gt;
&lt;br /&gt;
* did you add the journal to all publications where you list the arXiv-reference and not just blindly copy the erroneous ADS bibtex entry?&lt;br /&gt;
* did you make sure that you distinguished between arXiv references where a paper is submitted and references where a paper is already accepted by checking the paper author's comment on the arXiv-page for that article?&lt;br /&gt;
* did you remove the page number for all ATEL-references downloaded from ADS and changed the journal name to &amp;quot;Astron. Tel.&amp;quot; or &amp;quot;ATEL&amp;quot;? (and similar for IAU telegrams)&lt;br /&gt;
* did you add editors and the title of the conference publication to all conference publications?&lt;br /&gt;
* did you add the publisher and place information (city only) to all books, conference publications, and other book-like publications that you are citing?&lt;br /&gt;
* did you check that your references are correct in that you are using ''\citet{biblabel}'' for references in the text and ''\citep{biblabel}'' for references in parentheses?&lt;br /&gt;
* did you make sure that none of your ''\citet{..}'' commands refer to more than one biblabel?&lt;br /&gt;
&lt;br /&gt;
==== Typesetting (mainly in TeX) ====&lt;br /&gt;
&lt;br /&gt;
* did you check for missing spaces between values and units?&lt;br /&gt;
* did you make sure that all scientific units are typeset in &amp;lt;code&amp;gt;\mathrm&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure not to use constructs such as &amp;lt;code&amp;gt;$\mathrm{m}/\mathrm{s}$&amp;lt;/code&amp;gt; by using &amp;lt;code&amp;gt;$\mathrm{m}\,\mathrm{s}^{-1}$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that almost all of your error bars are rounded up to only one significant digit rather than following the DIN-norm (which is not applied in astronomical journals)?&lt;br /&gt;
* did you make sure that you are not using any positioning commands for the table or figure environment such as &amp;lt;code&amp;gt;\begin{table}[htpb]&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure that your tables have captions above the table, and figures have captions below the figure or next to it (where allowed by the style)?&lt;br /&gt;
* did you make sure that you use empty lines to denote the start of a new paragraph rather than the ''\\''-command? (use &amp;lt;code&amp;gt;\parindent{0pt}&amp;lt;/code&amp;gt; if you do not want to indent paragraphs)&lt;br /&gt;
* did you make sure that there are no paragraph endings above or below &amp;lt;code&amp;gt;\begin{equation}...\end{equation}&amp;lt;/code&amp;gt; by ensuring that there is no empty line above or below the ''equation''-environment?&lt;br /&gt;
* did you make sure that you are not using &amp;lt;code&amp;gt;$\frac{a}{b}$&amp;lt;/code&amp;gt; in normal text, but use &amp;lt;code&amp;gt;$a/b$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that you are not using the &amp;lt;code&amp;gt;displaymath&amp;lt;/code&amp;gt;-environment and that all equations are numbered?&lt;br /&gt;
* did you make sure that all of your sections, subsections, paragraphs and so on are numbered?&lt;br /&gt;
* did you avoid any and all uses of &amp;lt;code&amp;gt;\bf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\it&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\sl&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;\em&amp;lt;/code&amp;gt; and use the proper commands &amp;lt;code&amp;gt;\textbf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textit&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textsl&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;\emph&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you use the en-dash of TeX for ranges, even if they occur in math, by using &amp;lt;code&amp;gt;--&amp;lt;/code&amp;gt; in text mode rather than a minus sign? (that is, did you typeset a range in an equation as &amp;lt;code&amp;gt;$3x$--$5x$&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$3x\mbox{--}5x$&amp;lt;/code&amp;gt; rather than, erroneously, &amp;lt;code&amp;gt;$3x-5x$&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you correctly use the minus-sign and dashes in astronomical source names, where the name contains coordinates and the &amp;lt;q&amp;gt;dash&amp;lt;/q&amp;gt; really is a southern declination or Galactic latitude, that is, did you typeset &amp;lt;code&amp;gt;Her X-1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LMC X-3&amp;lt;/code&amp;gt;, but &amp;lt;code&amp;gt;GX\,339$-$4&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;IGR J16318$-$4848&amp;lt;/code&amp;gt; (and as a really difficult one: &amp;lt;code&amp;gt;MCG$-$6-30-15&amp;lt;/code&amp;gt;)?&lt;br /&gt;
&lt;br /&gt;
[[Category:Current Members]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Category:Isis_/_Slang&amp;diff=2020</id>
		<title>Category:Isis / Slang</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Category:Isis_/_Slang&amp;diff=2020"/>
		<updated>2020-05-24T19:08:16Z</updated>

		<summary type="html">&lt;p&gt;Wilms: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page is being [https://www.sternwarte.uni-erlangen.de/wiki/index.php/Category_talk:Isis_/_Slang discussed].'''&lt;br /&gt;
&lt;br /&gt;
The [[http://space.mit.edu/cxc/isis/ Interactive Spectral Interpretation System (ISIS)]] was developed at MIT for the analysis of X-ray spectra.&lt;br /&gt;
&lt;br /&gt;
Note that this page was just copy-pasted from the old wiki. This is only a short list of instructions that will be available. I do not think that a full list of all instructions should go here for the new wiki, I'm trying to find another solution for that (Matthias: ''What about looking at the content of the category below?'') In the end, I think only the instructions to get isis running and first steps should be here (Matthias: ''I disagree because category pages (like this) are not considered during searches! That's why I have created pages with the &amp;quot;ISIS history file&amp;quot; and &amp;quot;ISISscripts&amp;quot; separately''). I will move all the advanced stuff like defining models, timing tools, etc. somewhere else.&lt;br /&gt;
* [[ISIS_introduction_for_the_new_bachelor_students|Introduction for the bachelor students]]&lt;br /&gt;
* [[Isis_tutorial|ISIS Tutorial]]&lt;br /&gt;
* [[Plotting_with_the_S-Lang_Xfig_module|Plotting with the S-Lang Xfig module, instructions and examples]]&lt;br /&gt;
* [[How_to_define_your_own_models_in_ISIS|Define your own models in ISIS]]&lt;br /&gt;
* [[Questions_and_Answers| Questions and Answers]]&lt;br /&gt;
* [http://www.sternwarte.uni-erlangen.de/git.public/?p=isisscripts;a=history;f=README| README file] for using/.../changing the [http://www.sternwarte.uni-erlangen.de/isis/ ISISscripts]&lt;br /&gt;
* [[Timing_tools|Use timing tools with ISIS]]&lt;br /&gt;
* [[Parallel_Error_Calculation_using_MPI_and_SLmpi|Parallel Error Calculation using MPI and SLmpi]]&lt;br /&gt;
* [[Fake_an_Observation_with_ISIS|fake an observation with isis]]&lt;br /&gt;
* [[Fit2dcurve|fit a curve to a 2D data set via parameterized polynomials]]&lt;br /&gt;
* [[Simfit|Simultaneous Fits of a large number of observations]]&lt;br /&gt;
* [[Fitting_Equivalent_Widths|fitting equivalent widths directly]]&lt;br /&gt;
* [[ Emcee|emcee - the Markov-Chain-Monte-Carlo hammer]]&lt;br /&gt;
* [[Install_ISIS_on_Mac|install on a MAC OS X (10.10 yosemite) - fresh]]&lt;br /&gt;
* [[Making_tables_with_sltable|Quickly generate a LaTeX table of spectral parameters with uncertainties]]&lt;br /&gt;
* [[Isis/s-lang video tutorial by F. Fürst]]&lt;br /&gt;
&lt;br /&gt;
== S-Lang tips &amp;amp; tricks ==&lt;br /&gt;
* [[Modules | S-Lang modules (function packages)]]&lt;br /&gt;
* writing helps for functions&lt;br /&gt;
* [[Functions_within_structures|functions within structures]]&lt;br /&gt;
* [[Function_nesting|function nesting]]&lt;br /&gt;
* [[Self-value_management|self-value-management]]&lt;br /&gt;
* [[Changing_qualifiers_before_passing_them_on|changing qualifiers before passing them on]]&lt;br /&gt;
* speed up code&lt;br /&gt;
** [[Iterating_over_an_array_-_three_different_for-loops|iterating over an array - three different for-loops]]&lt;br /&gt;
** [[Ternary_operator_%3F|ternary operator ?: ]]&lt;br /&gt;
** [[Profiling|profile - Run-time profiler: Analyses (nested) function run-times]]&lt;br /&gt;
* [[Pass_information_to_a_fit_function_via_metadata|passing information to a fit function via metadata]]&lt;br /&gt;
* [[References_to_variables|References to variables]]&lt;br /&gt;
* [[Name_of_the_calling_function_(ISIS/Slang)| Name of the calling function]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Windows_10&amp;diff=2019</id>
		<title>Install ISIS on Windows 10</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Windows_10&amp;diff=2019"/>
		<updated>2020-05-24T19:07:25Z</updated>

		<summary type="html">&lt;p&gt;Wilms: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing ISIS on Windows is not trivial but thanks to the available Linux subsystem in Windows 10 we can install it like any other Linux program. It is required that the WSL (Windows Subsystem Linux) is activated. &amp;lt;b&amp;gt;Note that if you choose this way you have to compile isis. Using a singularity container will &amp;lt;i&amp;gt;not&amp;lt;/i&amp;gt; work.&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TL;DR ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;border-style:solid;display:inline-block;padding-left:28px;padding-right:10px;border-color:#aa0505;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Enable WSL&lt;br /&gt;
  &amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; As Administrator start PowerShell (&amp;lt;WinKey&amp;gt; + R and type 'powershell' + &amp;lt;enter&amp;gt;) &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Enter &amp;lt;code&amp;gt;dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart&amp;lt;/code&amp;gt; &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Restart your computer &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Install Ubuntu WSL&lt;br /&gt;
  &amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Open the Microsoft Store and search for 'Ubuntu' &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Install the latest Ubuntu version &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Start the newly installed Ubuntu System (this should provide you with a terminal) and complete the installation steps (enter user name and password) &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Install required software&lt;br /&gt;
  &amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; In the newly installed Ubuntu environment type&lt;br /&gt;
    &amp;lt;pre&amp;gt;sudo apt install -y libreadline-dev libcurl4 libcurl4-gnutls-dev \&lt;br /&gt;
libncurses*-dev xorg-dev build-essential gfortran perl-modules python-dev \&lt;br /&gt;
pgplot5 libpng-dev libslang2-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
  This will install all necessary tools to build and use heasoft and isis &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; We strongly recommend to install s-lang before building isis. The best way to do this is by compiling it by yourself:&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://www.jedsoft.org/releases/slang/slang-2.3.2.tar.bz2&lt;br /&gt;
bzip2 -d slang-2.3.2.tar.bz2&lt;br /&gt;
tar xvf slang-2.3.2.tar&lt;br /&gt;
cd slang-2.3.2&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(alternatively, s-lang is also distributed via ubuntu, but this tends to older versions).&lt;br /&gt;
  &amp;lt;li&amp;gt; Download the heasoft source from&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/lheasoft6.27/heasoft-6.27.2src.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;Beware: The heasoft package is large and the connection slow so this make take up to several hours.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Unpack the downloaded package with &amp;lt;code&amp;gt;tar xvf heasoft-6.27.2src.tar.gz&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Enter the build directory&lt;br /&gt;
&amp;lt;pre&amp;gt; cd heasoft-6.27.2/BUILD_DIR &amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Configure the package ...&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --prefix=$HOME/heasoft &amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; ... build it ...&lt;br /&gt;
&amp;lt;pre&amp;gt; make &amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; ... and install&lt;br /&gt;
&amp;lt;pre&amp;gt; make install &amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Finally install ISIS&lt;br /&gt;
  &amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Download ISIS: &amp;lt;code&amp;gt;wget https://github.com/houckj/isis/archive/master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
  and unzip &amp;lt;code&amp;gt;unzip master.zip&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Enter the directory &amp;lt;code&amp;gt;cd isis-master&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Make heasoft known to the system&lt;br /&gt;
&amp;lt;pre&amp;gt;export HEADAS=$HOME/heasoft/x86_64-pc-linux-gnu-libc2.27/&lt;br /&gt;
source $HEADAS/headas-init.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
This step is required every time one wants to use ISIS&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Configure isis&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --with-headas=$HEADAS --with-cfitsio=$HEADAS --with-slang=/usr --with-pgplot=/usr --prefix=$HOME&amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; And finally&lt;br /&gt;
  &amp;lt;pre&amp;gt; make &amp;amp;&amp;amp; make install &amp;lt;/pre&amp;gt;&lt;br /&gt;
  To install isis in $HOME/isis/1.6.2&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing an X11 Server to use graphical applications ==&lt;br /&gt;
&lt;br /&gt;
=== TL;DR ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;border-style:solid;display:inline-block;padding-left:28px;padding-right:10px;border-color:#aa0505;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Install Xming from &amp;lt;code&amp;gt;https://sourceforge.net/projects/xming/files/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe/download&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; After Xming is successfully installed launch it and make it known to your linux environment&lt;br /&gt;
&amp;lt;pre&amp;gt;export DISPLAY=localhost:0.0&amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Windows_10&amp;diff=2018</id>
		<title>Install ISIS on Windows 10</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Install_ISIS_on_Windows_10&amp;diff=2018"/>
		<updated>2020-05-24T19:03:45Z</updated>

		<summary type="html">&lt;p&gt;Wilms: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installing ISIS on Windows is not trivial but thanks to the available Linux subsystem in Windows 10 we can install it like any other Linux program. It is required that the WSL (Windows Subsystem Linux) is activated.&lt;br /&gt;
&lt;br /&gt;
== TL;DR ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;border-style:solid;display:inline-block;padding-left:28px;padding-right:10px;border-color:#aa0505;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Enable WSL&lt;br /&gt;
  &amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; As Administrator start PowerShell (&amp;lt;WinKey&amp;gt; + R and type 'powershell' + &amp;lt;enter&amp;gt;) &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Enter &amp;lt;code&amp;gt;dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart&amp;lt;/code&amp;gt; &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Restart your computer &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Install Ubuntu WSL&lt;br /&gt;
  &amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Open the Microsoft Store and search for 'Ubuntu' &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Install the latest Ubuntu version &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Start the newly installed Ubuntu System (this should provide you with a terminal) and complete the installation steps (enter user name and password) &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Install required software&lt;br /&gt;
  &amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; In the newly installed Ubuntu environment type&lt;br /&gt;
    &amp;lt;pre&amp;gt;sudo apt install -y libreadline-dev libcurl4 libcurl4-gnutls-dev \&lt;br /&gt;
libncurses*-dev xorg-dev build-essential gfortran perl-modules python-dev \&lt;br /&gt;
pgplot5 libpng-dev libslang2-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
  This will install all necessary tools to build and use heasoft and isis &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; We strongly recommend to install s-lang before building isis. The best way to do this is by compiling it by yourself:&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://www.jedsoft.org/releases/slang/slang-2.3.2.tar.bz2&lt;br /&gt;
bzip2 -d slang-2.3.2.tar.bz2&lt;br /&gt;
tar xvf slang-2.3.2.tar&lt;br /&gt;
cd slang-2.3.2&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(alternatively, s-lang is also distributed via ubuntu, but this tends to older versions).&lt;br /&gt;
  &amp;lt;li&amp;gt; Download the heasoft source from&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/lheasoft6.27/heasoft-6.27.2src.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;Beware: The heasoft package is large and the connection slow so this make take up to several hours.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Unpack the downloaded package with &amp;lt;code&amp;gt;tar xvf heasoft-6.27.2src.tar.gz&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Enter the build directory&lt;br /&gt;
&amp;lt;pre&amp;gt; cd heasoft-6.27.2/BUILD_DIR &amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Configure the package ...&lt;br /&gt;
&amp;lt;pre&amp;gt; ./configure --prefix=$HOME/heasoft &amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; ... build it ...&lt;br /&gt;
&amp;lt;pre&amp;gt; make &amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; ... and install&lt;br /&gt;
&amp;lt;pre&amp;gt; make install &amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Finally install ISIS&lt;br /&gt;
  &amp;lt;ol&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Download ISIS: &amp;lt;code&amp;gt;wget https://github.com/houckj/isis/archive/master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
  and unzip &amp;lt;code&amp;gt;unzip master.zip&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Enter the directory &amp;lt;code&amp;gt;cd isis-master&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; Make heasoft known to the system&lt;br /&gt;
&amp;lt;pre&amp;gt;export HEADAS=$HOME/heasoft/x86_64-pc-linux-gnu-libc2.27/&lt;br /&gt;
source $HEADAS/headas-init.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
This step is required every time one wants to use ISIS&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Configure isis&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --with-headas=$HEADAS --with-cfitsio=$HEADAS --with-slang=/usr --with-pgplot=/usr --prefix=$HOME&amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt; And finally&lt;br /&gt;
  &amp;lt;pre&amp;gt; make &amp;amp;&amp;amp; make install &amp;lt;/pre&amp;gt;&lt;br /&gt;
  To install isis in $HOME/isis/1.6.2&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing an X11 Server to use graphical applications ==&lt;br /&gt;
&lt;br /&gt;
=== TL;DR ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;border-style:solid;display:inline-block;padding-left:28px;padding-right:10px;border-color:#aa0505;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Install Xming from &amp;lt;code&amp;gt;https://sourceforge.net/projects/xming/files/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe/download&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; After Xming is successfully installed launch it and make it known to your linux environment&lt;br /&gt;
&amp;lt;pre&amp;gt;export DISPLAY=localhost:0.0&amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_installing&amp;diff=2017</id>
		<title>Isis tutorial installing</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_installing&amp;diff=2017"/>
		<updated>2020-05-22T06:53:17Z</updated>

		<summary type="html">&lt;p&gt;Wilms: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====Getting ISIS====&lt;br /&gt;
Installing ISIS and all the modules it depends on, is not a trivial task. &lt;br /&gt;
&lt;br /&gt;
We therefore provide a complete isis environment that is pre-installed in a so-called [https://sylabs.io/guides/3.5/user-guide/# singularity environment]. Singularity runs very well under Linux and can also be installed under windows, although this is a bit more complex, which is why we also offer an alternative. Note that you will need about 4 GB of disk space for the installation. &lt;br /&gt;
&lt;br /&gt;
If you do not have enough disk space available or if you are not happy/comfortable with installing software on your computer, we also have an option to run the tutorials on machines at the observatory. &lt;br /&gt;
&lt;br /&gt;
=====Setup for Linux =====&lt;br /&gt;
* Install singularity. How you do this depends on the flavor of Linux that you have installed. On ubuntu systems, this is as easy as executing&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install singularity-container&lt;br /&gt;
&lt;br /&gt;
On other Linux versions different commands are required. &lt;br /&gt;
&lt;br /&gt;
* Create a working directory for the lecture and download the singularity image for isis and the other tools required for the tutorial from  https://www.sternwarte.uni-erlangen.de/isis/isis-singularity.img , e.g.,&lt;br /&gt;
&lt;br /&gt;
 mkdir xray&lt;br /&gt;
 cd xray&lt;br /&gt;
 wget https://www.sternwarte.uni-erlangen.de/isis/isis-singularity.img&lt;br /&gt;
&lt;br /&gt;
* you can then launch the singularity environment as follows:&lt;br /&gt;
 cd xray&lt;br /&gt;
 singularity run isis-singularity.img&lt;br /&gt;
&lt;br /&gt;
This brings you into an environment that contains most of the relevant X-ray astronomical software, such as, e.g., fv (which you might want to use to display X-ray astronomical data files). You then launch isis by typing '''isis''': &lt;br /&gt;
&lt;br /&gt;
  isis&lt;br /&gt;
&lt;br /&gt;
=====Setup for Windows =====&lt;br /&gt;
&lt;br /&gt;
For older windows machines:&lt;br /&gt;
&lt;br /&gt;
* Install singularity using the instructions [https://sylabs.io/guides/3.5/user-guide/# on the singularity homepage]. This is a somewhat involved process, but doable in principle if you are ok with computers. If the instructions don't &lt;br /&gt;
&lt;br /&gt;
* Follow the instructions above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Windows 10:&lt;br /&gt;
follow the instructions [[Install ISIS on Windows 10|at this link]]. This is fairly advanced, however.&lt;br /&gt;
&lt;br /&gt;
=====Setup for Mac =====&lt;br /&gt;
&lt;br /&gt;
Apple systems claim they are Unix, but they really are not fully compatible to Unix standards. What is worse, there are two different eco systems available for MacOS if you want to compile your own software. And often, only one of them works. If you feel adventurous, you can install the prerequisites on the [https://space.mit.edu/ASC/isis/mac_install.html isis MacOS installation instructions], then [https://heasarc.gsfc.nasa.gov/lheasoft/install.html install HEASoft] (you need to use the source installation), and then go back and install isis. &lt;br /&gt;
&lt;br /&gt;
If you are not experienced in compiling and installing your own software on MacOS, this is not recommended, however, and it is better to ask for an account at the observatory (see below). &lt;br /&gt;
&lt;br /&gt;
=====Working on Remeis observatory computers=====&lt;br /&gt;
&lt;br /&gt;
* If you do not have enough disk space on your computer or do not want to install things locally, contact Ingo Kreykenbohm at the email address given out in the lecture and ask him to create an account on the Remeis computers for you.&lt;br /&gt;
&lt;br /&gt;
* To work on the computers from home, once you have the Remeis account, install the X2go remote desktop environment, following [https://www.sternwarte.uni-erlangen.de/wiki/index.php/X2Go_Remote_Desktop the instructions here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_installing&amp;diff=2016</id>
		<title>Isis tutorial installing</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_installing&amp;diff=2016"/>
		<updated>2020-05-20T16:42:41Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Setup for Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====Getting ISIS====&lt;br /&gt;
Installing ISIS and all the modules it depends on, is not a trivial task. &lt;br /&gt;
&lt;br /&gt;
We therefore provide a complete isis environment that is pre-installed in a so-called [https://sylabs.io/guides/3.5/user-guide/# singularity environment]. Singularity runs very well under Linux and can also be installed under windows, although this is a bit more complex, which is why we also offer an alternative. Note that you will need about 4 GB of disk space for the installation. &lt;br /&gt;
&lt;br /&gt;
If you do not have enough disk space available or if you are not happy/comfortable with installing software on your computer, we also have an option to run the tutorials on machines at the observatory. &lt;br /&gt;
&lt;br /&gt;
=====Setup for Linux =====&lt;br /&gt;
* Install singularity. How you do this depends on the flavor of Linux that you have installed. On ubuntu systems, this is as easy as executing&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install singularity-container&lt;br /&gt;
&lt;br /&gt;
On other Linux versions different commands are required. &lt;br /&gt;
&lt;br /&gt;
* Create a working directory for the lecture and download the singularity image for isis and the other tools required for the tutorial from  https://www.sternwarte.uni-erlangen.de/isis/isis-singularity.img , e.g.,&lt;br /&gt;
&lt;br /&gt;
 mkdir xray&lt;br /&gt;
 cd xray&lt;br /&gt;
 wget https://www.sternwarte.uni-erlangen.de/isis/isis-singularity.img&lt;br /&gt;
&lt;br /&gt;
* you can then launch the singularity environment as follows:&lt;br /&gt;
 cd xray&lt;br /&gt;
 singularity run isis-singularity.img&lt;br /&gt;
&lt;br /&gt;
This brings you into an environment that contains most of the relevant X-ray astronomical software, such as, e.g., fv (which you might want to use to display X-ray astronomical data files). You then launch isis by typing '''isis''': &lt;br /&gt;
&lt;br /&gt;
  isis&lt;br /&gt;
&lt;br /&gt;
=====Setup for Windows =====&lt;br /&gt;
&lt;br /&gt;
For older windows machines:&lt;br /&gt;
&lt;br /&gt;
* Install singularity using the instructions [https://sylabs.io/guides/3.5/user-guide/# on the singularity homepage]. This is a somewhat involved process, but doable in principle if you are ok with computers. If the instructions don't &lt;br /&gt;
&lt;br /&gt;
* Follow the instructions above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Windows 10:&lt;br /&gt;
follow the instructions [[Install ISIS on Windows 10|at this link]]. This is fairly advanced, however.&lt;br /&gt;
&lt;br /&gt;
=====Working on Remeis observatory computers=====&lt;br /&gt;
&lt;br /&gt;
* If you do not have enough disk space on your computer or do not want to install things locally, contact Ingo Kreykenbohm at the email address given out in the lecture and ask him to create an account on the Remeis computers for you.&lt;br /&gt;
&lt;br /&gt;
* To work on the computers from home, once you have the Remeis account, install the X2go remote desktop environment, following [https://www.sternwarte.uni-erlangen.de/wiki/index.php/X2Go_Remote_Desktop the instructions here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_walkthrough&amp;diff=2014</id>
		<title>Isis tutorial walkthrough</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_walkthrough&amp;diff=2014"/>
		<updated>2020-05-19T13:57:48Z</updated>

		<summary type="html">&lt;p&gt;Wilms: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A Walk Through ISIS ==&lt;br /&gt;
&lt;br /&gt;
In this first part of the tutorial, in order to get you started we will show you an example for a full X-ray data analysis using a fairly simple spectrum&amp;lt;ref&amp;gt;this section is mainly based on [http://space.mit.edu/home/mnowak/isis_vs_xspec/ Mike Nowak's introduction to isis]&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In the following tutorial, we will be working on a simple data set from an observation of a black hole, Cygnus X-1, that was obtained with NASA's Rossi X-ray Timing Explorer satellite. The test data set can be downloaded from [http://www.sternwarte.uni-erlangen.de/~wilms/isistut/ here]. It consists of the following parts:&lt;br /&gt;
* &amp;lt;code&amp;gt;standard2f_0134off_top.pha&amp;lt;/code&amp;gt; -- the spectrum itself. The data are in FITS-format, a standard file format that is used in all of astronomy. Right now you can treat these files as a black box, at the end of this document there is some additional information about how to inspect the contents of these files outside of isis.&lt;br /&gt;
&lt;br /&gt;
=== Invoking isis ===&lt;br /&gt;
&lt;br /&gt;
Isis is a command-line program and is therefore usually executed from the command line (the details are explained in the installation instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~&amp;gt; isis&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which then prints out some start up messages before you end with the isis prompt:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Welcome to ISIS Version 1.6.2-44&lt;br /&gt;
Copyright (C) 1998-2020 Massachusetts Institute of Technology&lt;br /&gt;
&lt;br /&gt;
          Isis web page: http://space.mit.edu/cxc/isis/&lt;br /&gt;
   Mailing list archive: http://space.mit.edu/cxc/isis/archive/&lt;br /&gt;
 Send questions to the mailing list: &amp;lt;isis-users@space.mit.edu&amp;gt;.&lt;br /&gt;
     For a summary of recent changes, type:  &amp;quot;help changes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
isis&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As part of its startup, isis executes a file called [[ISIS auto start (.isisrc)|.isisrc]], which is useful for setting up a standard environment.&lt;br /&gt;
&lt;br /&gt;
In the following we will show you an interactive session with isis. It is the typical approach when working with new data to look at these first by hand, in a way similar to that shown here. In later, more advanced analysis you will probably mainly interact with isis through programs, although it should be emphasized that working interactively with data first is always a good idea. This is the only way how you can get a good feeling for your data, even though automated reductions ''are'' important, especially when working on data sets with many different observations.&lt;br /&gt;
&lt;br /&gt;
For a more formal walk through through isis and the programming language s-lang, take a look at the [http://space.mit.edu/cxc/isis isis web page], especially the [https://space.mit.edu/cxc/isis/docs.html documentation] available there.&lt;br /&gt;
&lt;br /&gt;
=== Loading and Inspecting Your Data Set ===&lt;br /&gt;
&lt;br /&gt;
We now load the data we looked at before into isis:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pca=load_data(&amp;quot;standard2f_0134off_top.pha&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;load_data&amp;lt;/code&amp;gt; command loads the file given as its argument and returns an unique number that identifies this data set. In the above example, this identifier is stored in the variable called &amp;lt;code&amp;gt;pca&amp;lt;/code&amp;gt; (it usually makes sense to use the name of the detector with which the data were taken, although there are exceptions).  Note that the command ends with a semicolon. This is standard in slang, the language on which isis is based. Although it is in principle possible to switch off this feature when working interactively with isis&amp;lt;ref&amp;gt;since you are curious: put&amp;lt;pre&amp;gt;Isis_Append_Semicolon=1;&amp;lt;/pre&amp;gt; in your &amp;lt;code&amp;gt;~/.isisrc&amp;lt;/code&amp;gt;&amp;lt;/ref&amp;gt;, we recommend you do not use this option -- having to type the semicolon requires you to think before doing something, which is generally a good idea ;-). &lt;br /&gt;
&lt;br /&gt;
If all goes fine, you will be informed that the response matrix includes the ARF. Now check whether isis loaded what you think it should have loaded by looking at some basic information about the background file, the RMF, and the ARF:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; list_data;&lt;br /&gt;
Current Spectrum List:&lt;br /&gt;
 id    instrument part/m  src    use/nbins   A   R     totcts   exp(ksec)  target&lt;br /&gt;
  1           PCA          0     129/  129   -   1  3.1773e+06     2.528  CYG_X-1&lt;br /&gt;
file:  standard2f_0134off_top.pha&lt;br /&gt;
back:  standard2f_back_SkyVLE_top_good_0134off.pha&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Amongs others, the table columns include&lt;br /&gt;
* &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;: the identifier of this data set, &lt;br /&gt;
* &amp;lt;code&amp;gt;nbins&amp;lt;/code&amp;gt;: the number of spectral bins, &lt;br /&gt;
* &amp;lt;code&amp;gt;totcts&amp;lt;/code&amp;gt;: the total counts in the spectrum, &lt;br /&gt;
* &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt;: the exposure time in kiloseconds, and &lt;br /&gt;
* &amp;lt;code&amp;gt;target&amp;lt;/code&amp;gt;: the nominal source we are working with.&lt;br /&gt;
Finally, the output also lists the file name and the associated background file.&lt;br /&gt;
&lt;br /&gt;
Similar information can also be obtained for the response matrix and the ARF using the commands&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
list_rmf;&lt;br /&gt;
list_arf;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that for your data set no information is given back for the ARF, since none was loaded.&lt;br /&gt;
&lt;br /&gt;
Like for all commands in isis, information about the commands can be obtained with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; help commandname&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
so, for example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; help list_arf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(If this does not give you help for the command you put in, you can try just&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; commandname;&lt;br /&gt;
&amp;lt;/pre&amp;gt; without any additional arguments. For some commands that works.)&lt;br /&gt;
Some of the help information might appear pure gibberish for you. Ignore this for the moment, with time it will all become clear to you.&lt;br /&gt;
&lt;br /&gt;
A second help function that is very useful is the &amp;lt;code&amp;gt;apropos&amp;lt;/code&amp;gt; command. For example, if you want to do something with an ARF, do&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; apropos arf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which will return all isis commands that contain &amp;quot;arf&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
'''''Exercise 1'''''&lt;br /&gt;
# Load your data set and check that the information given by ISIS using the above commands is identical to the information that you obtained in the previous exercise.&lt;br /&gt;
&lt;br /&gt;
=== Plotting the Data ===&lt;br /&gt;
&lt;br /&gt;
X-ray data analysis of a data set that you do not yet know consists basically of the following steps:&lt;br /&gt;
# plot something&lt;br /&gt;
# think about what the plot/data set tries to tell you&lt;br /&gt;
# try something out (e.g., perform a fit)&lt;br /&gt;
# goto 1&lt;br /&gt;
and then repeat until you are convinced that everything works as expected. Depending on the data set, the above might take five minutes, but we also had complicated data sets that so far have resulted in 2-3 PhD theses...&lt;br /&gt;
&lt;br /&gt;
Therefore, as the first step, we take a look at our data.&lt;br /&gt;
&lt;br /&gt;
While isis contains some basic plotting routines, it is generally faster to use the very powerful plotting routines developed at MIT and at Remeis/ECAP to look at the data. The reason is that these are more user friendly than the basic isis routines.&lt;br /&gt;
&lt;br /&gt;
In order to do so, we first need to load the Remeis isis scripts. In our standard install, just do a&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;isisscripts&amp;lt;/code&amp;gt; are a large set of useful routines developed by many people. If you use them for professional work, please contact J. Wilms first and ask whom to put in the acknowledgments of your paper. They are freely available through a git-repository.&lt;br /&gt;
&lt;br /&gt;
So let's plot the data set:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
A window pops up, looking something like this&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough01.png|center]]&lt;br /&gt;
&lt;br /&gt;
In this standard display, not much can be seen except for the fact that the detector sensitivity is the best at low energies. For this reason, we first switch the plot over to a log-log plot and plot again:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; xlog;&lt;br /&gt;
isis&amp;gt; ylog;&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This results in a much nicer plot. With the exception of gratings data, it is usually better to take a look at X-ray data in log-log space, so you should get used to switching over to log-space before doing any plots:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough02.png|center]]&lt;br /&gt;
&lt;br /&gt;
Note that what is shown are counts per PHA bin as a function of energy. Here, the response matrix is used to get an approximate conversion of the channel number to energy. The jump at around 20keV is not a spectral feature, but caused by the detector: at this energy, the standard data mode on RXTE PCA increases the energy width per PHA bin by a factor of two. Since the spectrum changes only slowly at this energy, because of the increase in width twice as many counts are detected in this bin. In addition, the feature at around 30keV is also a detector feature, it mainly reflects the change in sensitivity of this Xe-based proportional counter at the Xe-K-edge, which is at roughly 30keV.&lt;br /&gt;
&lt;br /&gt;
Experience for this detector shows that its calibration is best at energies between 3keV and 22keV, such that for the moment we will ignore what is happening outside of this energy band using isis' &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt; function:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; notice_values(pca,3.,22.;unit=&amp;quot;keV&amp;quot;);&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that immediately after ignoring, we plot the data again in order to make sure that our command worked as intended. This way you can visually confirm, e.g., that a feature that you want to ignore really was outside of the energy range considered. Furthermore, note that we are explicitly telling isis to work in energy space. This is necessary since for historic reasons many isis commands are by default working in wavelength space.&lt;br /&gt;
&lt;br /&gt;
Other useful isis commands for noticing and ignoring energy and wavelength ranges are&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ignore(id);         % Ignore dataset id&lt;br /&gt;
notice(id,a,b);     % Notice wavelength range [a,b] in dataset id&lt;br /&gt;
notice_en(id,a,b);  % Notice energy range [a,b] in dataset id&lt;br /&gt;
xnotice(id,a,b);    % *Only* notice wavelength range [a,b] in dataset id&lt;br /&gt;
xnotice_en(id,a,b); % *Only* notice energy range [a,b] in dataset id&lt;br /&gt;
exclude(id);        % Don't change the ignored/noticed channels, but&lt;br /&gt;
                    % exclude the whole data set until reinstated with:&lt;br /&gt;
include(id);        % Reinstate the data with prior excluded channels&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can get more information about all of these commands with the &amp;lt;code&amp;gt;.help&amp;lt;/code&amp;gt;-command. Note that all of the above commands are &amp;quot;inclusive&amp;quot;, in the sense that the energy bins in the spectrum that include the two borders, a and b, are contained in the noticed energy band. &lt;br /&gt;
 &lt;br /&gt;
'''''Exercise 2'''''&lt;br /&gt;
# Perform the above steps for your data set. In the write up of your homework, include the relevant figures. Prepare these figures as publication-quality (postscript) figures. For this you will have to switch the output to postscript before plotting, and switch back to screen output afterwards:&lt;br /&gt;
&amp;lt;pre&amp;gt;isis&amp;gt;plotid = open_print(&amp;quot;example.ps/vcps&amp;quot;);&lt;br /&gt;
isis&amp;gt; keynote_size; nice_width;&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
isis&amp;gt; close_print(plotid);&lt;br /&gt;
&amp;lt;/pre&amp;gt; where &amp;lt;code&amp;gt;example.ps&amp;lt;/code&amp;gt; is the file name of the postscript file, and where &amp;lt;code&amp;gt;keynote_size&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;nice_width&amp;lt;/code&amp;gt; set the size of the figure to something that is appropriate for inclusion into a journal article. If you rather work with pdf, convert the ps-file to pdf afterwards, e.g., using Linux &amp;lt;code&amp;gt;epstopdf&amp;lt;/code&amp;gt; program.&lt;br /&gt;
&lt;br /&gt;
=== Inspecting ARF and RMF ===&lt;br /&gt;
&lt;br /&gt;
It is always useful in data analysis to have a feeling for the major features introduced by specific properties of the detector used to measure the data. For example, in the spectra above there are drops in detector sensitivity at the K- and L-edges of the detector gas. Usually, the regions around these edges are less well calibrated. Visualizing the ARF and RMF helps in this case (as does reading the user's manual for the satellite you're using...).&lt;br /&gt;
&lt;br /&gt;
It is easy to produce a plot of the RMF:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; fits_plot_rmf(&amp;quot;p2_LR1_2009-05-06.rsp&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The resulting plot should be similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rmf.png|center]]&lt;br /&gt;
&lt;br /&gt;
To visualize the sensitivity of the detector we need to plot the effective area of the detector as a function of energy. Depending on the instrument, the detector sensitivity is either saved as a separate ARF (Ancilliary Response File) or it is stored as part of the RMF. In the latter case isis will tell you so with the warning message &amp;quot;RMF includes the effective area&amp;quot; when you load the response. In this case we need to factor the response first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; rsp=load_rmf(&amp;quot;p2_LR1_2009-05-06.rsp&amp;quot;);&lt;br /&gt;
RMF includes the effective area&lt;br /&gt;
isis&amp;gt; arf=factor_rsp(rsp);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can then get the information about the effective area and plot it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; arfdata=get_arf(arf);&lt;br /&gt;
isis&amp;gt; xlog;&lt;br /&gt;
isis&amp;gt; hplot(_A(arfdata));&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the function _A converts the wavelength information contained in the structure arfdata to keV.&lt;br /&gt;
&lt;br /&gt;
[[File:Arf.gif|center]]&lt;br /&gt;
&lt;br /&gt;
=== Performing a First Spectral Fit ===&lt;br /&gt;
&lt;br /&gt;
We are now ready to perform a first spectral fit. We first need to define the spectral model that we want to describe our data with. In general, one first tries to get a rough description of the data, which is for example based on earlier observations of the object and general astrophysical knowledge about the class of objects - if present -, and then refines this spectral model by adding further spectral components if an initial fit was successful. Isis includes a large number of spectral models. Since the models are derived from XSPEC, a good overview is given by the exhaustive list of the models in the [https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XspecManual.html XSPEC manual].&lt;br /&gt;
&lt;br /&gt;
What model to use depends on the object one looks at. In most cases, one tries either a power law or a black body first and only later works with more CPU-intensive, physics-based models. Since all X-ray sources are absorbed by the interstellar medium in our Galaxy, one ''always'' includes Galactic absorption. &lt;br /&gt;
&lt;br /&gt;
Here, we know that Cygnus X-1 is a black hole. These often have power-law spectra. We therefore start by trying an absorbed power-law as our fit function:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt;fit_fun(&amp;quot;tbabs(1)*powerlaw(1)&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Notice the numbers behind the model components. These will be later used to distinguish different fit-functions, e.g., when one works with a source that has a spectrum that can be described as the sum of two power laws of different photon indices. &lt;br /&gt;
&lt;br /&gt;
Next we take a look at our fit parameters:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; list_par;&lt;br /&gt;
tbabs(1)*powerlaw(1)&lt;br /&gt;
 idx  param             tie-to  freeze         value         min         max&lt;br /&gt;
  1  tbabs(1).nH            0     0                1           0      100000  10^22&lt;br /&gt;
  2  powerlaw(1).norm       0     0                1           0       1e+10  &lt;br /&gt;
  3  powerlaw(1).PhoIndex   0     0                1          -2           9  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Amongst other information, which we will be discussing in a later tutorial, the table contains the following information:&lt;br /&gt;
* &amp;lt;code&amp;gt;idx&amp;lt;/code&amp;gt;: The index of the parameter (see below)&lt;br /&gt;
* &amp;lt;code&amp;gt;param&amp;lt;/code&amp;gt;: The name of the parameter. For example, &amp;lt;code&amp;gt;tbabs(1).nH&amp;lt;/code&amp;gt; is the absorption column (in units of 10^22 cm&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;. The physical meaning of the parameters is explained in the [https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XspecManual.html XSPEC manual].&lt;br /&gt;
* &amp;lt;code&amp;gt;tie-to&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;freeze&amp;lt;/code&amp;gt;: see later&lt;br /&gt;
* &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;: the current value of the parameter&lt;br /&gt;
* &amp;lt;code&amp;gt;min&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;max&amp;lt;/code&amp;gt;: The fit has to remain in the range between these two values.&lt;br /&gt;
&lt;br /&gt;
Before we do our first fit, we take a look at how this model looks like when folded through the detector response matrix. In order to do so we first ask isis to change the model flux such that the predicted count rate is close to the model count rate.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; renorm_counts;&lt;br /&gt;
: &lt;br /&gt;
 Parameters[Variable] = 3[1]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 898942.6&lt;br /&gt;
   Reduced chi-square = 20430.51&lt;br /&gt;
0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Isis has changed the parameter &amp;lt;code&amp;gt;powerlaw(1).norm&amp;lt;/code&amp;gt; and has left all other parameters unchanged:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; list_par;&lt;br /&gt;
tbabs(1)*powerlaw(1)&lt;br /&gt;
 idx  param             tie-to  freeze         value         min         max&lt;br /&gt;
  1  tbabs(1).nH            0     0                1           0      100000  10^22&lt;br /&gt;
  2  powerlaw(1).norm       0     0        0.4145608           0       1e+10  &lt;br /&gt;
  3  powerlaw(1).PhoIndex   0     0                1          -2           9 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now let us take a look at what the model looks like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The resulting plot looks something like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough03.png|center]]&lt;br /&gt;
&lt;br /&gt;
Notice that the slope of the spectrum and the data is very different. With a photon index of 1 the spectrum is harder than the data. We therefore change the photon index to something that is more typical for black holes, renorm the spectrum and plot it again:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; set_par(3,1.7);&lt;br /&gt;
isis&amp;gt; renorm_counts;&lt;br /&gt;
 Parameters[Variable] = 3[1]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 339671.5&lt;br /&gt;
   Reduced chi-square = 7719.808&lt;br /&gt;
0&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The resulting model looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough04.png|center]]&lt;br /&gt;
&lt;br /&gt;
Note that the overall slope now looks ok, but there is still some deviation between the data and the model at the soft part of the spectrum, where the model looks too much absorbed. Taking a look at the isis help for &amp;lt;code&amp;gt;set_par&amp;lt;/code&amp;gt;, we are being told that instead of changing the parameter by giving &amp;lt;code&amp;gt;set_par&amp;lt;/code&amp;gt; its index number, we could also have given the full name of the parameter. So let us remove some absorption to get the curvature at the low energies right, by setting N&amp;lt;sub&amp;gt;H&amp;lt;/sub&amp;gt; to its interstellar value of &amp;lt;latex&amp;gt;N_\mathrm{H}=3\times 10^{21}\,\mathrm{cm}^{-2}&amp;lt;/latex&amp;gt;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; set_par(&amp;quot;tbabs(1).nH&amp;quot;,0.3);&lt;br /&gt;
isis&amp;gt; renorm_counts;&lt;br /&gt;
 Parameters[Variable] = 3[1]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 314595.1&lt;br /&gt;
   Reduced chi-square = 7149.888&lt;br /&gt;
0&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that the Chi-square value decreased, meaning that the new description of the model is slightly better than the previous one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We now have starting values that are good enough to start the proper fitting. Here isis is using a so-called Levenberg-Marquardt-gradient method to minimize chi-square by varying the parameters. This is done step by step, until a (possibly local) minimum is reached. In order to see how the parameters are being varied, we instruct isis to display all intermediate parameter values first, and then perform the fit:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; Fit_Verbose=1;&lt;br /&gt;
isis&amp;gt; fit_counts();&lt;br /&gt;
chisqr= 3.1460e+05:&lt;br /&gt;
 tbabs(1).nH=  3.00000000e-01 powerlaw(1).norm=  2.26407499e+00&lt;br /&gt;
 powerlaw(1).PhoIndex=  1.70000000e+00&lt;br /&gt;
chisqr= 3.1460e+05:&lt;br /&gt;
 tbabs(1).nH=  3.00030000e-01 powerlaw(1).norm=  2.26407499e+00&lt;br /&gt;
 powerlaw(1).PhoIndex=  1.70000000e+00&lt;br /&gt;
:&lt;br /&gt;
: multiple further steps&lt;br /&gt;
:&lt;br /&gt;
chisqr= 9.6239e+03:&lt;br /&gt;
 tbabs(1).nH=  0.00000000e+00 powerlaw(1).norm=  1.32707632e+01&lt;br /&gt;
 powerlaw(1).PhoIndex=  2.61135748e+00&lt;br /&gt;
chi-square value converged&lt;br /&gt;
 Parameters[Variable] = 3[3]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 9623.869&lt;br /&gt;
   Reduced chi-square = 229.1397&lt;br /&gt;
0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
While the reduced chi-square is already much smaller, it is still very much above its ideal value of around unity. Let us take a look what the current best fit looks like by plotting it again:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough05.png|center]]&lt;br /&gt;
&lt;br /&gt;
The model describes the overall shape of the data rather well, but statistically significant residuals remain. We will tackle these in the next section, but first let us save our work so far such that we can start again from the current best fit in case our next steps are not successful:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; save_par(&amp;quot;powerlaw.par&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This creates a file called &amp;lt;code&amp;gt;powerlaw.par&amp;lt;/code&amp;gt; that can be re-read later using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; load_par(&amp;quot;powerlaw.par&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The file is a simple ASCII file that you can either just display on screen (using the unix-command &amp;lt;code&amp;gt;cat powerlaw.par&amp;lt;/code&amp;gt; from the shell or any editor of your choice.&lt;br /&gt;
&lt;br /&gt;
'''''Exercise 3'''''&lt;br /&gt;
# Perform the procedure described above with &amp;quot;your&amp;quot; data set, documenting all steps.&lt;br /&gt;
# If you want to change more than one parameter at a time, instead of using &amp;lt;code&amp;gt;set_par&amp;lt;/code&amp;gt; you can also use the &amp;lt;code&amp;gt;edit_par&amp;lt;/code&amp;gt; function, which will invoke an editor of your choice with a table like the parameter table above. You can then overwrite all values with your new values, save this temporary file, and exit the editor. Try this with your data set.&lt;br /&gt;
&lt;br /&gt;
=== Improving the Initial Fit ===&lt;br /&gt;
&lt;br /&gt;
Now that we have an initial fit, we can take a closer look at the difference between the data and the model to get a feeling what we can do to improve the model. Since the data values and the model are already rather close together, guessing what is going on by looking at the slight differences between both is not very useful. We therefore plot our data again, but this time not only displaying the data but also the &amp;quot;residuals&amp;quot;, that is the difference between the data and the model:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; plot_data(pca;res=1);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This results in the following figure:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough06.png|center]]&lt;br /&gt;
&lt;br /&gt;
Note the following:&lt;br /&gt;
* instead of using &amp;lt;code&amp;gt;plot_counts&amp;lt;/code&amp;gt; we have used &amp;lt;code&amp;gt;plot_data&amp;lt;/code&amp;gt; (which is in reality an alias for the &amp;lt;code&amp;gt;plot_data_counts&amp;lt;/code&amp;gt; function). &amp;lt;code&amp;gt;plot_data&amp;lt;/code&amp;gt; displays the counts and the model in terms of counts per keV, while previously we used counts per PHA bin. This is the preferred way to plot X-ray data, since it is slightly closer to showing the proper spectrum than &amp;lt;code&amp;gt;plot_counts&amp;lt;/code&amp;gt;. &lt;br /&gt;
* Secondly, in addition to plotting the data we are also plotting the residuals, by using the &amp;quot;qualifier&amp;quot; &amp;lt;code&amp;gt;res=1&amp;lt;/code&amp;gt;. In Slang/isis, qualifiers are special switches in functions. They all have names (&amp;lt;code&amp;gt;res&amp;lt;/code&amp;gt; in the above example), i.e., the order in which they are listed after the initial semicolon does not matter. The most important ways of displaying residuals are&lt;br /&gt;
** &amp;lt;code&amp;gt;res=1&amp;lt;/code&amp;gt;: Display the residual in terms of chi, i.e., display the value of &amp;lt;latex&amp;gt;(data-model)/\sigma&amp;lt;/latex&amp;gt; where &amp;lt;latex&amp;gt;\sigma&amp;lt;/latex&amp;gt; is the statistical uncertainty of the bin.&lt;br /&gt;
** &amp;lt;code&amp;gt;res=3&amp;lt;/code&amp;gt;: Display the ratio between the data and the model, &amp;lt;latex&amp;gt;data/model&amp;lt;/latex&amp;gt;.&lt;br /&gt;
* other qualifiers that are useful in plotting are:&lt;br /&gt;
** &amp;lt;code&amp;gt;mcol=number&amp;lt;/code&amp;gt;: the color of the model, number is, well, a number. Avoid &amp;lt;code&amp;gt;mcol=3&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mcol=5&amp;lt;/code&amp;gt; since these colors do not show up on beamers.&lt;br /&gt;
** &amp;lt;code&amp;gt;dcol=number&amp;lt;/code&amp;gt;: dito, for the data&lt;br /&gt;
** &amp;lt;code&amp;gt;decol=number&amp;lt;/code&amp;gt;: dito, for the error bars&lt;br /&gt;
** &amp;lt;code&amp;gt;bkg&amp;lt;/code&amp;gt;: if &amp;lt;code&amp;gt;bkg=0&amp;lt;/code&amp;gt; then plot the data with the background subtracted, if &amp;lt;code&amp;gt;bkg=1&amp;lt;/code&amp;gt; also show the background (this will be useful later).&lt;br /&gt;
** &amp;lt;code&amp;gt;xrange={min,max}&amp;lt;/code&amp;gt;: plot the x-axis from min to max only. Note the curly braces! Set &amp;lt;code&amp;gt;min&amp;lt;/code&amp;gt; and/or &amp;lt;code&amp;gt;max&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;NULL&amp;lt;/code&amp;gt; if you want to reset this range to its default value. It is important to remember that &amp;lt;code&amp;gt;xrange&amp;lt;/code&amp;gt; just sets the ''plot''-range, you need to use &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt; to set the energy range that is used for fitting.&lt;br /&gt;
** &amp;lt;code&amp;gt;yrange={min,max}&amp;lt;/code&amp;gt;: dito, for the y-axis.&lt;br /&gt;
&lt;br /&gt;
As an example, try&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; plot_data(pca;res=1,mcol=2,dcol=1,decol=5);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The residuals in the plot tell us two things:&lt;br /&gt;
  - there is a &amp;quot;bump&amp;quot; around 6.4keV. This is typically an indication that there is an iron Kα line present around 6.4keV.&lt;br /&gt;
  - there is a &amp;quot;soft excess&amp;quot; at low energies, which might be indicative of an accretion disk.&lt;br /&gt;
&lt;br /&gt;
Looking at the [https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XspecManual.html XSPEC] manual tells us that accretion disk spectra are modeled with the &amp;lt;code&amp;gt;diskbb&amp;lt;/code&amp;gt; model while emission lines are modeled using the &amp;lt;code&amp;gt;gauss&amp;lt;/code&amp;gt; model. However, reading the isis manual tells us that the ''only'' model that has a different name in isis and in XSPEC is &amp;lt;code&amp;gt;gauss&amp;lt;/code&amp;gt; where we will have to use &amp;lt;code&amp;gt;egauss&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
Based with this information we setup the new fit function as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; fit_fun(&amp;quot;tbabs(1)*(diskbb(1)+egauss(1)+powerlaw(1))&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and identify the new parameters with &amp;lt;code&amp;gt;list_par&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
isis&amp;gt; list_par;&lt;br /&gt;
tbabs(1)*(diskbb(1)+egauss(1)+powerlaw(1))&lt;br /&gt;
 idx  param             tie-to  freeze         value         min         max&lt;br /&gt;
  1  tbabs(1).nH            0     0                0           0      100000  10^22&lt;br /&gt;
  2  diskbb(1).norm         0     0                1           0       1e+10  &lt;br /&gt;
  3  diskbb(1).Tin          0     0                1           0        1000  keV&lt;br /&gt;
  4  egauss(1).area         0     0                1           0           0  photons/s/cm^2&lt;br /&gt;
  5  egauss(1).center       0     0                1           0           0  keV&lt;br /&gt;
  6  egauss(1).sigma        0     0            0.002       1e-06           1  keV&lt;br /&gt;
  7  powerlaw(1).norm       0     0         13.27076           0       1e+10  &lt;br /&gt;
  8  powerlaw(1).PhoIndex   0     0         2.611357          -2           9  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
We then set the center of the Gaussian to 6.4keV (&amp;lt;code&amp;gt;set_par(5,6.4);&amp;lt;/code&amp;gt;) and plot again. Nothing changes. The reason is that we first have to tell isis to recalculate the model. Not doing this automatically after every invocation of &amp;lt;code&amp;gt;set_par&amp;lt;/code&amp;gt; makes sense since some models might take up large amounts of CPU time. To recalculate the model, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; eval_counts;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Plot the model again (using &amp;lt;code&amp;gt;plot_data&amp;lt;/code&amp;gt;). You will notice that the Fe line is too strong. Reduce its flux accordingly by changing the &amp;lt;code&amp;gt;area&amp;lt;/code&amp;gt; parameter. You will probably need a few attempts to get something that looks ok. Then repeat this procedure with the parameters of the accretion disk until you get something that looks halfway ok. Save this attempt, just to be on the save side, and then perform a fit.&lt;br /&gt;
&lt;br /&gt;
Repeating the above a few times, I managed to coax the following best fit out of the data&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; list_par;&lt;br /&gt;
tbabs(1)*(diskbb(1)+egauss(1)+powerlaw(1))&lt;br /&gt;
 idx  param             tie-to  freeze         value         min         max&lt;br /&gt;
  1  tbabs(1).nH            0     0                0           0      100000  10^22&lt;br /&gt;
  2  diskbb(1).norm         0     0          4088.32           0       1e+10  &lt;br /&gt;
  3  diskbb(1).Tin          0     0        0.7163385           0        1000  keV&lt;br /&gt;
  4  egauss(1).area         0     0       0.07462147           0           0  photons/s/cm^2&lt;br /&gt;
  5  egauss(1).center       0     0         6.085836           0           0  keV&lt;br /&gt;
  6  egauss(1).sigma        0     0                1       1e-06           1  keV&lt;br /&gt;
  7  powerlaw(1).norm       0     0         2.948465           0       1e+10  &lt;br /&gt;
  8  powerlaw(1).PhoIndex   0     0         1.984697          -2           9  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Parameters[Variable] = 8[8]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 291.7067&lt;br /&gt;
   Reduced chi-square = 7.883964&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This fit looks the following:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough07.png|center]]&lt;br /&gt;
&lt;br /&gt;
This is quite ok for such a simple model. Note that there still is some hardening above 10keV and the residuals are not perfect around 8keV either. This is due to the too large width of the simple Gaussian line, limitations in the &amp;lt;code&amp;gt;diskbb&amp;lt;/code&amp;gt;-model, and the fact that in this data set the source was in its intermediate state, where the combination of the disk component and the power law is notoriously hard to model. &lt;br /&gt;
&lt;br /&gt;
'''''Exercise 4'''''&lt;br /&gt;
# you guessed it: try to find a good fit for your data set.&lt;br /&gt;
&lt;br /&gt;
=== Inspecting your data set outside of isis ===&lt;br /&gt;
&lt;br /&gt;
 You can take a look at what such a file looks like using the &amp;lt;code&amp;gt;fv&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;fdump&amp;lt;/code&amp;gt; programs, which are part of HEASOFT and should already be installed on your machine. ''Outside'' of isis, invoke fv with &amp;lt;pre&amp;gt;fv standard2f_0134off_top.pha&amp;lt;/pre&amp;gt; A window pops up that displays the contents of the file. Like all FITS files PHA&amp;lt;ref&amp;gt;&amp;quot;PHA&amp;quot; stands for ''pulse height analyzer'', since X-ray data do usually not contain real energy or wavelength information, since the limited resolution of X-ray detectors does usually not allow directly measuring the photon's energy with high precision&amp;lt;/ref&amp;gt; files consist of a so-called primary-header and then multiple extensions, which again contain some human-readable header data that contain information about your data set and the data itself. The header information is given as a keyword name, the value of the keyword, and often a comment that describes the meaning of the keyword. Important keywords are&lt;br /&gt;
** &amp;lt;code&amp;gt;OBJECT&amp;lt;/code&amp;gt;: The name of the observed object (a string defined by the observer, often - but not always - a meaningful name)&lt;br /&gt;
** &amp;lt;code&amp;gt;RA_OBJ&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DEC_OBJ&amp;lt;/code&amp;gt;: The position of the object (often useful if the &amp;lt;code&amp;gt;OBJECT&amp;lt;/code&amp;gt;-keyword is not set or wrong)&lt;br /&gt;
** &amp;lt;code&amp;gt;TELESCOP&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;INSTRUME&amp;lt;/code&amp;gt;: The satellite and instrument used&lt;br /&gt;
** &amp;lt;code&amp;gt;DATE-OBS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DATE-END&amp;lt;/code&amp;gt;: The date and time of the start and the end of the observation&lt;br /&gt;
** &amp;lt;code&amp;gt;EXPOSURE&amp;lt;/code&amp;gt;: The exposure time, i.e., how long were data accumulated. Note that often &amp;lt;code&amp;gt;EXPOSURE&amp;lt;/code&amp;gt; is smaller than the difference between &amp;lt;code&amp;gt;DATE-OBS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DATE-END&amp;lt;/code&amp;gt; since the detector could have been switched off for part of the observation, or data were discarded during the data reduction, e.g., because of large background fluxes&amp;lt;ref&amp;gt;The full information about the times during which the data in the spectrum were accumulated is contained in the so-called GTI (good time intervals) extension of the PHA-file&amp;lt;/ref&amp;gt;. &lt;br /&gt;
** &amp;lt;code&amp;gt;BACKFILE&amp;lt;/code&amp;gt;: The name of the PHA-file that defines the background, which is automatically subtracted from the data before fitting.&lt;br /&gt;
** &amp;lt;code&amp;gt;RESPFILE&amp;lt;/code&amp;gt;: The name of the file containing the detector response matrix (often called &amp;quot;RMF&amp;quot; or &amp;quot;RSP&amp;quot;, which describes the mapping from PHA-space to energy space and all detector effects.&lt;br /&gt;
** &amp;lt;code&amp;gt;ANCRFILE&amp;lt;/code&amp;gt;: The name of the ancilliary response file, often called ARF-file. This file is used by some instruments which separate the detector response into a pure energy redistribution matrix and an effective area. See the X-ray astronomy lectures for details. This keyword has the value &amp;lt;code&amp;gt;NONE&amp;lt;/code&amp;gt; if the ARF is already part of the response matrix.&lt;br /&gt;
** Further keywords depending on the satellite (often one finds, e.g., &amp;lt;code&amp;gt;TSTART&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;TSTOP&amp;lt;/code&amp;gt; which contain the same information as &amp;lt;code&amp;gt;DATE-OBS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DATE-END&amp;lt;/code&amp;gt;, only in a system that is easier to use in calculation than the human-readable information in &amp;lt;code&amp;gt;DATE-OBS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DATE-END&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;code&amp;gt;standard2f_back_SkyVLE_top_good_0134off.pha&amp;lt;/code&amp;gt;: The background spectrum referred to in the &amp;lt;code&amp;gt;BACKFILE&amp;lt;/code&amp;gt; keyword of &amp;lt;code&amp;gt;standard2f_0134off_top.pha&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;p2_LR1_2010-07-04.rsp&amp;lt;/code&amp;gt;: The response matrix referred to in the &amp;lt;code&amp;gt;RESPFILE&amp;lt;/code&amp;gt; keyword of &amp;lt;code&amp;gt;standard2f_0134off_top.pha&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As mentioned above, you can either take a look at the files with &amp;lt;code&amp;gt;fv&amp;lt;/code&amp;gt;, or by dumping the FITS-file on the screen using the &amp;lt;code&amp;gt;fdump&amp;lt;/code&amp;gt; command. Here is the output of the latter, showing typical values of the keywords above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~/isistut&amp;gt; fdump standard2f_0134off_top.pha&lt;br /&gt;
Name of optional output file[STDOUT] &lt;br /&gt;
Names of columns[] &lt;br /&gt;
Lists of rows[-] &lt;br /&gt;
SIMPLE  =                    T / file does conform to FITS standard&lt;br /&gt;
BITPIX  =                  -32 / number of bits per data pixel&lt;br /&gt;
NAXIS   =                    0 / number of data axes&lt;br /&gt;
EXTEND  =                    T / FITS dataset may contain extensions&lt;br /&gt;
COMMENT   FITS (Flexible Image Transport System) format is defined in 'Astronomy&lt;br /&gt;
COMMENT   and Astrophysics', volume 376, page 359; bibcode: 2001A&amp;amp;A...376..359H&lt;br /&gt;
:&lt;br /&gt;
: ... many further lines&lt;br /&gt;
:&lt;br /&gt;
XTENSION= 'BINTABLE'           / binary table extension&lt;br /&gt;
BITPIX  =                    8 / 8-bit bytes&lt;br /&gt;
:&lt;br /&gt;
:&lt;br /&gt;
EXTNAME = 'SPECTRUM'           / name of this binary table extension&lt;br /&gt;
:&lt;br /&gt;
TELESCOP= 'XTE     '           / Telescope (mission) name&lt;br /&gt;
INSTRUME= 'PCA     '           / Instrument name&lt;br /&gt;
FILTER  = 'NONE    '           / Instrument filter in use&lt;br /&gt;
EXPOSURE= 2.52800000000001E+03 / Exposure time&lt;br /&gt;
:&lt;br /&gt;
BACKFILE= 'standard2f_back_SkyVLE_top_good_0134off.pha' / Background FITS file f&lt;br /&gt;
CORRFILE= 'standard2f_back_SkyVLE_top_good_0134off.pha' / Correlation FITS file&lt;br /&gt;
RESPFILE= 'p2_LR1_2010-07-04.rsp' / Redistribution matrix file (RMF)&lt;br /&gt;
ANCRFILE= 'NONE    '           / Ancillary response file (ARF)&lt;br /&gt;
:&lt;br /&gt;
CREATOR = 'SAEXTRCT version 4.2g' / Program name that produced this file&lt;br /&gt;
DATE    = '2011-06-26T10:08:03' / file creation date (YYYY-MM-DDThh:mm:ss UT)&lt;br /&gt;
RA_OBJ  =       2.99591705E+02 / RA of First input object&lt;br /&gt;
DEC_OBJ =       3.52016983E+01 / DEC of First input object&lt;br /&gt;
EQUINOX =              2000.00 / Equinox of the FIRST object&lt;br /&gt;
:&lt;br /&gt;
DATASUM = '3317156129'         / data unit checksum updated 2011-06-26T10:08:03&lt;br /&gt;
END&lt;br /&gt;
 &lt;br /&gt;
        CHANNEL COUNTS                  STAT_ERR&lt;br /&gt;
                count                   count&lt;br /&gt;
      1      0    2.860600000000000E+04   1.691330836944682E+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The data themselves give, for each PHA-channel, the number of counts measured in the &amp;lt;code&amp;gt;COUNTS&amp;lt;/code&amp;gt; column and the uncertainty of the data in the &amp;lt;code&amp;gt;STAT_ERR&amp;lt;/code&amp;gt; column. If the data have not been background subtracted before the analysis, which is typical for most instruments except for data from coded mask telescopes, then &amp;lt;code&amp;gt;STAT_ERR&amp;lt;/code&amp;gt; will usually have been determined assuming Poisson-statistics, i.e., it is the square-root of the value in &amp;lt;code&amp;gt;COUNTS&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
There are many more useful programs to inspect FITS-files. You can get an overview of what is available using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~/isistut&amp;gt; fhelp ftools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and if you only want to see the list of general (non satellite-specific) tools&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~/isistut&amp;gt; fhelp futils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Full information on individual ftools can be obtained with &amp;lt;code&amp;gt;fhelp toolname&amp;lt;/code&amp;gt;, e.g.,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~/isistut&amp;gt; fhelp fdump&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Other useful tools for inspecting FITS-files are, e.g., &amp;lt;code&amp;gt;fstruct&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;fstatistic&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Optional Exercise 1'''''&lt;br /&gt;
# For your example data set, determine the date of the observation, the exposure time, and the name of the background file.&lt;br /&gt;
# Use &amp;lt;code&amp;gt;fstruct&amp;lt;/code&amp;gt; to determine the structure of the backgrund file and confirm that it is the same as the structure of the PHA file containing the data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_walkthrough&amp;diff=2013</id>
		<title>Isis tutorial walkthrough</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_walkthrough&amp;diff=2013"/>
		<updated>2020-05-19T13:40:15Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Invoking isis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A Walk Through ISIS ==&lt;br /&gt;
&lt;br /&gt;
In this first part of the tutorial, in order to get you started we will show you an example for a full X-ray data analysis using a fairly simple spectrum&amp;lt;ref&amp;gt;this section is mainly based on [http://space.mit.edu/home/mnowak/isis_vs_xspec/ Mike Nowak's introduction to isis]&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Inspecting your data set outside of isis ===&lt;br /&gt;
&lt;br /&gt;
In the following tutorial, we will be working on a simple data set from an observation of a black hole, Cygnus X-1, that was obtained with NASA's Rossi X-ray Timing Explorer satellite. The test data set can be downloaded from [http://www.sternwarte.uni-erlangen.de/~wilms/isistut/ here]. It consists of the following parts:&lt;br /&gt;
* &amp;lt;code&amp;gt;standard2f_0134off_top.pha&amp;lt;/code&amp;gt; -- the spectrum itself. The data are in FITS-format, a standard file format that is used in all of astronomy. You can take a look at what such a file looks like using the &amp;lt;code&amp;gt;fv&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;fdump&amp;lt;/code&amp;gt; programs, which are part of HEASOFT and should already be installed on your machine. ''Outside'' of isis, invoke fv with &amp;lt;pre&amp;gt;fv standard2f_0134off_top.pha&amp;lt;/pre&amp;gt; A window pops up that displays the contents of the file. Like all FITS files PHA&amp;lt;ref&amp;gt;&amp;quot;PHA&amp;quot; stands for ''pulse height analyzer'', since X-ray data do usually not contain real energy or wavelength information, since the limited resolution of X-ray detectors does usually not allow directly measuring the photon's energy with high precision&amp;lt;/ref&amp;gt; files consist of a so-called primary-header and then multiple extensions, which again contain some human-readable header data that contain information about your data set and the data itself. The header information is given as a keyword name, the value of the keyword, and often a comment that describes the meaning of the keyword. Important keywords are&lt;br /&gt;
** &amp;lt;code&amp;gt;OBJECT&amp;lt;/code&amp;gt;: The name of the observed object (a string defined by the observer, often - but not always - a meaningful name)&lt;br /&gt;
** &amp;lt;code&amp;gt;RA_OBJ&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DEC_OBJ&amp;lt;/code&amp;gt;: The position of the object (often useful if the &amp;lt;code&amp;gt;OBJECT&amp;lt;/code&amp;gt;-keyword is not set or wrong)&lt;br /&gt;
** &amp;lt;code&amp;gt;TELESCOP&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;INSTRUME&amp;lt;/code&amp;gt;: The satellite and instrument used&lt;br /&gt;
** &amp;lt;code&amp;gt;DATE-OBS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DATE-END&amp;lt;/code&amp;gt;: The date and time of the start and the end of the observation&lt;br /&gt;
** &amp;lt;code&amp;gt;EXPOSURE&amp;lt;/code&amp;gt;: The exposure time, i.e., how long were data accumulated. Note that often &amp;lt;code&amp;gt;EXPOSURE&amp;lt;/code&amp;gt; is smaller than the difference between &amp;lt;code&amp;gt;DATE-OBS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DATE-END&amp;lt;/code&amp;gt; since the detector could have been switched off for part of the observation, or data were discarded during the data reduction, e.g., because of large background fluxes&amp;lt;ref&amp;gt;The full information about the times during which the data in the spectrum were accumulated is contained in the so-called GTI (good time intervals) extension of the PHA-file&amp;lt;/ref&amp;gt;. &lt;br /&gt;
** &amp;lt;code&amp;gt;BACKFILE&amp;lt;/code&amp;gt;: The name of the PHA-file that defines the background, which is automatically subtracted from the data before fitting.&lt;br /&gt;
** &amp;lt;code&amp;gt;RESPFILE&amp;lt;/code&amp;gt;: The name of the file containing the detector response matrix (often called &amp;quot;RMF&amp;quot; or &amp;quot;RSP&amp;quot;, which describes the mapping from PHA-space to energy space and all detector effects.&lt;br /&gt;
** &amp;lt;code&amp;gt;ANCRFILE&amp;lt;/code&amp;gt;: The name of the ancilliary response file, often called ARF-file. This file is used by some instruments which separate the detector response into a pure energy redistribution matrix and an effective area. See the X-ray astronomy lectures for details. This keyword has the value &amp;lt;code&amp;gt;NONE&amp;lt;/code&amp;gt; if the ARF is already part of the response matrix.&lt;br /&gt;
** Further keywords depending on the satellite (often one finds, e.g., &amp;lt;code&amp;gt;TSTART&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;TSTOP&amp;lt;/code&amp;gt; which contain the same information as &amp;lt;code&amp;gt;DATE-OBS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DATE-END&amp;lt;/code&amp;gt;, only in a system that is easier to use in calculation than the human-readable information in &amp;lt;code&amp;gt;DATE-OBS&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;DATE-END&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;code&amp;gt;standard2f_back_SkyVLE_top_good_0134off.pha&amp;lt;/code&amp;gt;: The background spectrum referred to in the &amp;lt;code&amp;gt;BACKFILE&amp;lt;/code&amp;gt; keyword of &amp;lt;code&amp;gt;standard2f_0134off_top.pha&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;p2_LR1_2010-07-04.rsp&amp;lt;/code&amp;gt;: The response matrix referred to in the &amp;lt;code&amp;gt;RESPFILE&amp;lt;/code&amp;gt; keyword of &amp;lt;code&amp;gt;standard2f_0134off_top.pha&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As mentioned above, you can either take a look at the files with &amp;lt;code&amp;gt;fv&amp;lt;/code&amp;gt;, or by dumping the FITS-file on the screen using the &amp;lt;code&amp;gt;fdump&amp;lt;/code&amp;gt; command. Here is the output of the latter, showing typical values of the keywords above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~/isistut&amp;gt; fdump standard2f_0134off_top.pha&lt;br /&gt;
Name of optional output file[STDOUT] &lt;br /&gt;
Names of columns[] &lt;br /&gt;
Lists of rows[-] &lt;br /&gt;
SIMPLE  =                    T / file does conform to FITS standard&lt;br /&gt;
BITPIX  =                  -32 / number of bits per data pixel&lt;br /&gt;
NAXIS   =                    0 / number of data axes&lt;br /&gt;
EXTEND  =                    T / FITS dataset may contain extensions&lt;br /&gt;
COMMENT   FITS (Flexible Image Transport System) format is defined in 'Astronomy&lt;br /&gt;
COMMENT   and Astrophysics', volume 376, page 359; bibcode: 2001A&amp;amp;A...376..359H&lt;br /&gt;
:&lt;br /&gt;
: ... many further lines&lt;br /&gt;
:&lt;br /&gt;
XTENSION= 'BINTABLE'           / binary table extension&lt;br /&gt;
BITPIX  =                    8 / 8-bit bytes&lt;br /&gt;
:&lt;br /&gt;
:&lt;br /&gt;
EXTNAME = 'SPECTRUM'           / name of this binary table extension&lt;br /&gt;
:&lt;br /&gt;
TELESCOP= 'XTE     '           / Telescope (mission) name&lt;br /&gt;
INSTRUME= 'PCA     '           / Instrument name&lt;br /&gt;
FILTER  = 'NONE    '           / Instrument filter in use&lt;br /&gt;
EXPOSURE= 2.52800000000001E+03 / Exposure time&lt;br /&gt;
:&lt;br /&gt;
BACKFILE= 'standard2f_back_SkyVLE_top_good_0134off.pha' / Background FITS file f&lt;br /&gt;
CORRFILE= 'standard2f_back_SkyVLE_top_good_0134off.pha' / Correlation FITS file&lt;br /&gt;
RESPFILE= 'p2_LR1_2010-07-04.rsp' / Redistribution matrix file (RMF)&lt;br /&gt;
ANCRFILE= 'NONE    '           / Ancillary response file (ARF)&lt;br /&gt;
:&lt;br /&gt;
CREATOR = 'SAEXTRCT version 4.2g' / Program name that produced this file&lt;br /&gt;
DATE    = '2011-06-26T10:08:03' / file creation date (YYYY-MM-DDThh:mm:ss UT)&lt;br /&gt;
RA_OBJ  =       2.99591705E+02 / RA of First input object&lt;br /&gt;
DEC_OBJ =       3.52016983E+01 / DEC of First input object&lt;br /&gt;
EQUINOX =              2000.00 / Equinox of the FIRST object&lt;br /&gt;
:&lt;br /&gt;
DATASUM = '3317156129'         / data unit checksum updated 2011-06-26T10:08:03&lt;br /&gt;
END&lt;br /&gt;
 &lt;br /&gt;
        CHANNEL COUNTS                  STAT_ERR&lt;br /&gt;
                count                   count&lt;br /&gt;
      1      0    2.860600000000000E+04   1.691330836944682E+02&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The data themselves give, for each PHA-channel, the number of counts measured in the &amp;lt;code&amp;gt;COUNTS&amp;lt;/code&amp;gt; column and the uncertainty of the data in the &amp;lt;code&amp;gt;STAT_ERR&amp;lt;/code&amp;gt; column. If the data have not been background subtracted before the analysis, which is typical for most instruments except for data from coded mask telescopes, then &amp;lt;code&amp;gt;STAT_ERR&amp;lt;/code&amp;gt; will usually have been determined assuming Poisson-statistics, i.e., it is the square-root of the value in &amp;lt;code&amp;gt;COUNTS&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
There are many more useful programs to inspect FITS-files. You can get an overview of what is available using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~/isistut&amp;gt; fhelp ftools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and if you only want to see the list of general (non satellite-specific) tools&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~/isistut&amp;gt; fhelp futils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Full information on individual ftools can be obtained with &amp;lt;code&amp;gt;fhelp toolname&amp;lt;/code&amp;gt;, e.g.,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~/isistut&amp;gt; fhelp fdump&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Other useful tools for inspecting FITS-files are, e.g., &amp;lt;code&amp;gt;fstruct&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;fstatistic&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Exercise 1'''''&lt;br /&gt;
# For your example data set, determine the date of the observation, the exposure time, and the name of the background file.&lt;br /&gt;
# Use &amp;lt;code&amp;gt;fstruct&amp;lt;/code&amp;gt; to determine the structure of the backgrund file and confirm that it is the same as the structure of the PHA file containing the data.&lt;br /&gt;
&lt;br /&gt;
=== Invoking isis ===&lt;br /&gt;
&lt;br /&gt;
Isis is a command-line program and is therefore usually executed from the command line (the details are explained in the installation instructions):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wilms@leo:~&amp;gt; isis&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which then prints out some start up messages before you end with the isis prompt:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Welcome to ISIS Version 1.6.2-44&lt;br /&gt;
Copyright (C) 1998-2020 Massachusetts Institute of Technology&lt;br /&gt;
&lt;br /&gt;
          Isis web page: http://space.mit.edu/cxc/isis/&lt;br /&gt;
   Mailing list archive: http://space.mit.edu/cxc/isis/archive/&lt;br /&gt;
 Send questions to the mailing list: &amp;lt;isis-users@space.mit.edu&amp;gt;.&lt;br /&gt;
     For a summary of recent changes, type:  &amp;quot;help changes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
isis&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As part of its startup, isis executes a file called [[ISIS auto start (.isisrc)|.isisrc]], which is useful for setting up a standard environment.&lt;br /&gt;
&lt;br /&gt;
In the following we will show you an interactive session with isis. It is the typical approach when working with new data to look at these first by hand, in a way similar to that shown here. In later, more advanced analysis you will probably mainly interact with isis through programs, although it should be emphasized that working interactively with data first is always a good idea. This is the only way how you can get a good feeling for your data, even though automated reductions ''are'' important, especially when working on data sets with many different observations.&lt;br /&gt;
&lt;br /&gt;
For a more formal walk through through isis and the programming language s-lang, take a look at the [http://space.mit.edu/cxc/isis isis web page], especially the [https://space.mit.edu/cxc/isis/docs.html documentation] available there.&lt;br /&gt;
&lt;br /&gt;
=== Loading and Inspecting Your Data Set ===&lt;br /&gt;
&lt;br /&gt;
We now load the data we looked at before into isis:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pca=load_data(&amp;quot;standard2f_0134off_top.pha&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;load_data&amp;lt;/code&amp;gt; command loads the file given as its argument and returns an unique number that identifies this data set. In the above example, this identifier is stored in the variable called &amp;lt;code&amp;gt;pca&amp;lt;/code&amp;gt; (it usually makes sense to use the name of the detector with which the data were taken, although there are exceptions).  Note that the command ends with a semicolon. This is standard in slang, the language on which isis is based. Although it is in principle possible to switch off this feature when working interactively with isis&amp;lt;ref&amp;gt;since you are curious: put&amp;lt;pre&amp;gt;Isis_Append_Semicolon=1;&amp;lt;/pre&amp;gt; in your &amp;lt;code&amp;gt;~/.isisrc&amp;lt;/code&amp;gt;&amp;lt;/ref&amp;gt;, we recommend you do not use this option -- having to type the semicolon requires you to think before doing something, which is generally a good idea ;-). &lt;br /&gt;
&lt;br /&gt;
If all goes fine, you will be informed that the response matrix includes the ARF. Now check whether isis loaded what you think it should have loaded by looking at some basic information about the background file, the RMF, and the ARF:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; list_data;&lt;br /&gt;
Current Spectrum List:&lt;br /&gt;
 id    instrument part/m  src    use/nbins   A   R     totcts   exp(ksec)  target&lt;br /&gt;
  1           PCA          0     129/  129   -   1  3.1773e+06     2.528  CYG_X-1&lt;br /&gt;
file:  standard2f_0134off_top.pha&lt;br /&gt;
back:  standard2f_back_SkyVLE_top_good_0134off.pha&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Amongs others, the table columns include&lt;br /&gt;
* &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;: the identifier of this data set, &lt;br /&gt;
* &amp;lt;code&amp;gt;nbins&amp;lt;/code&amp;gt;: the number of spectral bins, &lt;br /&gt;
* &amp;lt;code&amp;gt;totcts&amp;lt;/code&amp;gt;: the total counts in the spectrum, &lt;br /&gt;
* &amp;lt;code&amp;gt;exp&amp;lt;/code&amp;gt;: the exposure time in kiloseconds, and &lt;br /&gt;
* &amp;lt;code&amp;gt;target&amp;lt;/code&amp;gt;: the nominal source we are working with.&lt;br /&gt;
Finally, the output also lists the file name and the associated background file.&lt;br /&gt;
&lt;br /&gt;
Similar information can also be obtained for the response matrix and the ARF using the commands&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
list_rmf;&lt;br /&gt;
list_arf;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that for your data set no information is given back for the ARF, since none was loaded.&lt;br /&gt;
&lt;br /&gt;
Like for all commands in isis, information about the commands can be obtained with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; help commandname&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
so, for example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; help list_arf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(If this does not give you help for the command you put in, you can try just&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; commandname;&lt;br /&gt;
&amp;lt;/pre&amp;gt; without any additional arguments. For some commands that works.)&lt;br /&gt;
Some of the help information might appear pure gibberish for you. Ignore this for the moment, with time it will all become clear to you.&lt;br /&gt;
&lt;br /&gt;
A second help function that is very useful is the &amp;lt;code&amp;gt;apropos&amp;lt;/code&amp;gt; command. For example, if you want to do something with an ARF, do&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; apropos arf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which will return all isis commands that contain &amp;quot;arf&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
'''''Exercise 2'''''&lt;br /&gt;
# Load your data set and check that the information given by ISIS using the above commands is identical to the information that you obtained in the previous exercise.&lt;br /&gt;
&lt;br /&gt;
=== Plotting the Data ===&lt;br /&gt;
&lt;br /&gt;
X-ray data analysis of a data set that you do not yet know consists basically of the following steps:&lt;br /&gt;
# plot something&lt;br /&gt;
# think about what the plot/data set tries to tell you&lt;br /&gt;
# try something out (e.g., perform a fit)&lt;br /&gt;
# goto 1&lt;br /&gt;
and then repeat until you are convinced that everything works as expected. Depending on the data set, the above might take five minutes, but we also had complicated data sets that so far have resulted in 2-3 PhD theses...&lt;br /&gt;
&lt;br /&gt;
Therefore, as the first step, we take a look at our data.&lt;br /&gt;
&lt;br /&gt;
While isis contains some basic plotting routines, it is generally faster to use the very powerful plotting routines developed at MIT and at Remeis/ECAP to look at the data. The reason is that these are more user friendly than the basic isis routines.&lt;br /&gt;
&lt;br /&gt;
In order to do so, we first need to load the Remeis isis scripts. In our standard install, just do a&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; require(&amp;quot;isisscripts&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;isisscripts&amp;lt;/code&amp;gt; are a large set of useful routines developed by many people. If you use them for professional work, please contact J. Wilms first and ask whom to put in the acknowledgments of your paper. They are freely available through a git-repository.&lt;br /&gt;
&lt;br /&gt;
So let's plot the data set:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
A window pops up, looking something like this&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough01.png|center]]&lt;br /&gt;
&lt;br /&gt;
In this standard display, not much can be seen except for the fact that the detector sensitivity is the best at low energies. For this reason, we first switch the plot over to a log-log plot and plot again:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; xlog;&lt;br /&gt;
isis&amp;gt; ylog;&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This results in a much nicer plot. With the exception of gratings data, it is usually better to take a look at X-ray data in log-log space, so you should get used to switching over to log-space before doing any plots:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough02.png|center]]&lt;br /&gt;
&lt;br /&gt;
Note that what is shown are counts per PHA bin as a function of energy. Here, the response matrix is used to get an approximate conversion of the channel number to energy. The jump at around 20keV is not a spectral feature, but caused by the detector: at this energy, the standard data mode on RXTE PCA increases the energy width per PHA bin by a factor of two. Since the spectrum changes only slowly at this energy, because of the increase in width twice as many counts are detected in this bin. In addition, the feature at around 30keV is also a detector feature, it mainly reflects the change in sensitivity of this Xe-based proportional counter at the Xe-K-edge, which is at roughly 30keV.&lt;br /&gt;
&lt;br /&gt;
Experience for this detector shows that its calibration is best at energies between 3keV and 22keV, such that for the moment we will ignore what is happening outside of this energy band using isis' &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt; function:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; notice_values(pca,3.,22.;unit=&amp;quot;keV&amp;quot;);&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that immediately after ignoring, we plot the data again in order to make sure that our command worked as intended. This way you can visually confirm, e.g., that a feature that you want to ignore really was outside of the energy range considered. Furthermore, note that we are explicitly telling isis to work in energy space. This is necessary since for historic reasons many isis commands are by default working in wavelength space.&lt;br /&gt;
&lt;br /&gt;
Other useful isis commands for noticing and ignoring energy and wavelength ranges are&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ignore(id);         % Ignore dataset id&lt;br /&gt;
notice(id,a,b);     % Notice wavelength range [a,b] in dataset id&lt;br /&gt;
notice_en(id,a,b);  % Notice energy range [a,b] in dataset id&lt;br /&gt;
xnotice(id,a,b);    % *Only* notice wavelength range [a,b] in dataset id&lt;br /&gt;
xnotice_en(id,a,b); % *Only* notice energy range [a,b] in dataset id&lt;br /&gt;
exclude(id);        % Don't change the ignored/noticed channels, but&lt;br /&gt;
                    % exclude the whole data set until reinstated with:&lt;br /&gt;
include(id);        % Reinstate the data with prior excluded channels&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can get more information about all of these commands with the &amp;lt;code&amp;gt;.help&amp;lt;/code&amp;gt;-command. Note that all of the above commands are &amp;quot;inclusive&amp;quot;, in the sense that the energy bins in the spectrum that include the two borders, a and b, are contained in the noticed energy band. &lt;br /&gt;
 &lt;br /&gt;
'''''Exercise 3'''''&lt;br /&gt;
# Perform the above steps for your data set. In the write up of your homework, include the relevant figures. Prepare these figures as publication-quality (postscript) figures. For this you will have to switch the output to postscript before plotting, and switch back to screen output afterwards:&lt;br /&gt;
&amp;lt;pre&amp;gt;isis&amp;gt;plotid = open_print(&amp;quot;example.ps/vcps&amp;quot;);&lt;br /&gt;
isis&amp;gt; keynote_size; nice_width;&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
isis&amp;gt; close_print(plotid);&lt;br /&gt;
&amp;lt;/pre&amp;gt; where &amp;lt;code&amp;gt;example.ps&amp;lt;/code&amp;gt; is the file name of the postscript file, and where &amp;lt;code&amp;gt;keynote_size&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;nice_width&amp;lt;/code&amp;gt; set the size of the figure to something that is appropriate for inclusion into a journal article. If you rather work with pdf, convert the ps-file to pdf afterwards, e.g., using Linux &amp;lt;code&amp;gt;epstopdf&amp;lt;/code&amp;gt; program.&lt;br /&gt;
&lt;br /&gt;
=== Inspecting ARF and RMF ===&lt;br /&gt;
&lt;br /&gt;
It is always useful in data analysis to have a feeling for the major features introduced by specific properties of the detector used to measure the data. For example, in the spectra above there are drops in detector sensitivity at the K- and L-edges of the detector gas. Usually, the regions around these edges are less well calibrated. Visualizing the ARF and RMF helps in this case (as does reading the user's manual for the satellite you're using...).&lt;br /&gt;
&lt;br /&gt;
It is easy to produce a plot of the RMF:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; fits_plot_rmf(&amp;quot;p2_LR1_2009-05-06.rsp&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The resulting plot should be similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rmf.png|center]]&lt;br /&gt;
&lt;br /&gt;
To visualize the sensitivity of the detector we need to plot the effective area of the detector as a function of energy. Depending on the instrument, the detector sensitivity is either saved as a separate ARF (Ancilliary Response File) or it is stored as part of the RMF. In the latter case isis will tell you so with the warning message &amp;quot;RMF includes the effective area&amp;quot; when you load the response. In this case we need to factor the response first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; rsp=load_rmf(&amp;quot;p2_LR1_2009-05-06.rsp&amp;quot;);&lt;br /&gt;
RMF includes the effective area&lt;br /&gt;
isis&amp;gt; arf=factor_rsp(rsp);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can then get the information about the effective area and plot it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; arfdata=get_arf(arf);&lt;br /&gt;
isis&amp;gt; xlog;&lt;br /&gt;
isis&amp;gt; hplot(_A(arfdata));&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the function _A converts the wavelength information contained in the structure arfdata into keV.&lt;br /&gt;
&lt;br /&gt;
[[File:Arf.gif|center]]&lt;br /&gt;
&lt;br /&gt;
=== Performing a First Spectral Fit ===&lt;br /&gt;
&lt;br /&gt;
We are now ready to perform a first spectral fit. We first need to define the spectral model that we want to describe our data with. In general, one first tries to get a rough description of the data, which is for example based on earlier observations of the object, and then refines this spectral model by adding further spectral components if an initial fit was successful. Isis includes a large number of spectral models. Since the models are derived from XSPEC, a good overview is given by the exhaustive list of the models in the [https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XspecManual.html XSPEC manual].&lt;br /&gt;
&lt;br /&gt;
What model to use depends on the object one looks at. In most cases, one tries either a power law or a black body first and only later works with more CPU-intensive, physics-based models. Since all X-ray sources are absorbed by the interstellar medium in our Galaxy, one ''always'' includes Galactic absorption. &lt;br /&gt;
&lt;br /&gt;
Here, we know that Cygnus X-1 is a black hole. These often have power-law spectra. We therefore start by trying an absorbed power-law as our fit function:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt;fit_fun(&amp;quot;tbabs(1)*powerlaw(1)&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Notice the numbers behind the model components. These will be later used to distinguish different fit-functions, e.g., when one works with a source that has a spectrum that can be described as the sum of two power laws of different photon indices. &lt;br /&gt;
&lt;br /&gt;
Next we take a look at our fit parameters:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; list_par;&lt;br /&gt;
tbabs(1)*powerlaw(1)&lt;br /&gt;
 idx  param             tie-to  freeze         value         min         max&lt;br /&gt;
  1  tbabs(1).nH            0     0                1           0      100000  10^22&lt;br /&gt;
  2  powerlaw(1).norm       0     0                1           0       1e+10  &lt;br /&gt;
  3  powerlaw(1).PhoIndex   0     0                1          -2           9  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Amongst other information, which we will be discussing in a later tutorial, the table contains the following information:&lt;br /&gt;
* &amp;lt;code&amp;gt;idx&amp;lt;/code&amp;gt;: The index of the parameter (see below)&lt;br /&gt;
* &amp;lt;code&amp;gt;param&amp;lt;/code&amp;gt;: The name of the parameter. For example, &amp;lt;code&amp;gt;tbabs(1).nH&amp;lt;/code&amp;gt; is the absorption column (in units of 10^22 cm&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt;. The physical meaning of the parameters is explained in the [https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XspecManual.html XSPEC manual].&lt;br /&gt;
* &amp;lt;code&amp;gt;tie-to&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;freeze&amp;lt;/code&amp;gt;: see later&lt;br /&gt;
* &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;: the current value of the parameter&lt;br /&gt;
* &amp;lt;code&amp;gt;min&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;max&amp;lt;/code&amp;gt;: The fit has to remain in the range between these two values.&lt;br /&gt;
&lt;br /&gt;
Before we do our first fit, we take a look at how this model looks like when folded through the detector response matrix. In order to do so we first ask isis to change the model flux such that the predicted count rate is close to the model count rate.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; renorm_counts;&lt;br /&gt;
tbvabs Version 1.0&lt;br /&gt;
Cosmic absorption with grains and H2&lt;br /&gt;
Wilms, Allen, &amp;amp; McCray 2000&lt;br /&gt;
Questions: Adrienne Allen or Joern Wilms&lt;br /&gt;
allenu@super.colorado.edu&lt;br /&gt;
wilms@astro.uni-tuebingen.de&lt;br /&gt;
 Parameters[Variable] = 3[1]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 898942.6&lt;br /&gt;
   Reduced chi-square = 20430.51&lt;br /&gt;
0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Isis has changed the parameter &amp;lt;code&amp;gt;powerlaw(1).norm&amp;lt;/code&amp;gt; and has left all other parameters unchanged:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; list_par;&lt;br /&gt;
tbabs(1)*powerlaw(1)&lt;br /&gt;
 idx  param             tie-to  freeze         value         min         max&lt;br /&gt;
  1  tbabs(1).nH            0     0                1           0      100000  10^22&lt;br /&gt;
  2  powerlaw(1).norm       0     0        0.4145608           0       1e+10  &lt;br /&gt;
  3  powerlaw(1).PhoIndex   0     0                1          -2           9 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now let us take a look at what the model looks like&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The resulting plot looks something like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough03.png|center]]&lt;br /&gt;
&lt;br /&gt;
Notice that the slope of the spectrum and the data is very different. With a photon index of 1 the spectrum is harder than the data. We therefore change the photon index to something that is more typical for black holes, renorm the spectrum and plot it again:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; set_par(3,1.7);&lt;br /&gt;
isis&amp;gt; renorm_counts;&lt;br /&gt;
 Parameters[Variable] = 3[1]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 339671.5&lt;br /&gt;
   Reduced chi-square = 7719.808&lt;br /&gt;
0&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The resulting model looks like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough04.png|center]]&lt;br /&gt;
&lt;br /&gt;
Note that the overall slope now looks ok, but there is still some deviation between the data and the model at the soft part of the spectrum, where the model looks too much absorbed. Taking a look at the isis help for &amp;lt;code&amp;gt;set_par&amp;lt;/code&amp;gt;, we are being told that instead of changing the parameter by giving &amp;lt;code&amp;gt;set_par&amp;lt;/code&amp;gt; its index number, we could also have given the full name of the parameter. So let us remove some absorption to get the curvature at the low energies right, by setting N&amp;lt;sub&amp;gt;H&amp;lt;/sub&amp;gt; to its interstellar value of &amp;lt;latex&amp;gt;N_\mathrm{H}=3\times 10^{21}\,\mathrm{cm}^{-2}&amp;lt;/latex&amp;gt;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; set_par(&amp;quot;tbabs(1).nH&amp;quot;,0.3);&lt;br /&gt;
isis&amp;gt; renorm_counts;&lt;br /&gt;
 Parameters[Variable] = 3[1]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 314595.1&lt;br /&gt;
   Reduced chi-square = 7149.888&lt;br /&gt;
0&lt;br /&gt;
isis&amp;gt; plot_counts(pca);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that the Chi-square value decreased, meaning that the new description of the model is slightly better than the previous one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We now have starting values that are good enough to start the proper fitting. Here isis is using a so-called Levenberg-Marquardt-gradient method to minimize chi-square by varying the parameters. This is done step by step, until a (possibly local) minimum is reached. In order to see how the parameters are being varied, we instruct isis to display all intermediate parameter values first, and then perform the fit:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; Fit_Verbose=1;&lt;br /&gt;
isis&amp;gt; fit_counts();&lt;br /&gt;
chisqr= 3.1460e+05:&lt;br /&gt;
 tbabs(1).nH=  3.00000000e-01 powerlaw(1).norm=  2.26407499e+00&lt;br /&gt;
 powerlaw(1).PhoIndex=  1.70000000e+00&lt;br /&gt;
chisqr= 3.1460e+05:&lt;br /&gt;
 tbabs(1).nH=  3.00030000e-01 powerlaw(1).norm=  2.26407499e+00&lt;br /&gt;
 powerlaw(1).PhoIndex=  1.70000000e+00&lt;br /&gt;
:&lt;br /&gt;
: multiple further steps&lt;br /&gt;
:&lt;br /&gt;
chisqr= 9.6239e+03:&lt;br /&gt;
 tbabs(1).nH=  0.00000000e+00 powerlaw(1).norm=  1.32707632e+01&lt;br /&gt;
 powerlaw(1).PhoIndex=  2.61135748e+00&lt;br /&gt;
chi-square value converged&lt;br /&gt;
 Parameters[Variable] = 3[3]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 9623.869&lt;br /&gt;
   Reduced chi-square = 229.1397&lt;br /&gt;
0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
While the reduced chi-square is already much smaller, it is still very much above its ideal value of around unity. Let us take a look what the current best fit looks like by plotting it again:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough05.png|center]]&lt;br /&gt;
&lt;br /&gt;
The model describes the overall shape of the data rather well, but statistically significant residuals remain. We will tackle these in the next section, but first let us save our work so far such that we can start again from the current best fit in case our next steps are not successful:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; save_par(&amp;quot;powerlaw.par&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This creates a file called &amp;lt;code&amp;gt;powerlaw.par&amp;lt;/code&amp;gt; that can be re-read later using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; load_par(&amp;quot;powerlaw.par&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The file is a simple ASCII file that you can either just display on screen (using the unix-command &amp;lt;code&amp;gt;cat powerlaw.par&amp;lt;/code&amp;gt; from the shell or any editor of your choice.&lt;br /&gt;
&lt;br /&gt;
'''''Exercise 4'''''&lt;br /&gt;
# Perform the procedure described above with &amp;quot;your&amp;quot; data set, documenting all steps.&lt;br /&gt;
# If you want to change more than one parameter at a time, instead of using &amp;lt;code&amp;gt;set_par&amp;lt;/code&amp;gt; you can also use the &amp;lt;code&amp;gt;edit_par&amp;lt;/code&amp;gt; function, which will invoke an editor of your choice with a table like the parameter table above. You can then overwrite all values with your new values, save this temporary file, and exit the editor. Try this with your data set.&lt;br /&gt;
&lt;br /&gt;
=== Improving the Initial Fit ===&lt;br /&gt;
&lt;br /&gt;
Now that we have an initial fit, we can take a closer look at the difference between the data and the model to get a feeling what we can do to improve the model. Since the data values and the model are already rather close together, guessing what is going on by looking at the slight differences between both is not very useful. We therefore plot our data again, but this time not only displaying the data but also the &amp;quot;residuals&amp;quot;, that is the difference between the data and the model:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; plot_data(pca;res=1);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This results in the following figure:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough06.png|center]]&lt;br /&gt;
&lt;br /&gt;
Note the following:&lt;br /&gt;
* instead of using &amp;lt;code&amp;gt;plot_counts&amp;lt;/code&amp;gt; we have used &amp;lt;code&amp;gt;plot_data&amp;lt;/code&amp;gt; (which is in reality an alias for the &amp;lt;code&amp;gt;plot_data_counts&amp;lt;/code&amp;gt; function). &amp;lt;code&amp;gt;plot_data&amp;lt;/code&amp;gt; displays the counts and the model in terms of counts per keV, while previously we used counts per PHA bin. This is the preferred way to plot X-ray data, since it is slightly closer to showing the proper spectrum than &amp;lt;code&amp;gt;plot_counts&amp;lt;/code&amp;gt;. &lt;br /&gt;
* Secondly, in addition to plotting the data we are also plotting the residuals, by using the &amp;quot;qualifier&amp;quot; &amp;lt;code&amp;gt;res=1&amp;lt;/code&amp;gt;. In Slang/isis, qualifiers are special switches in functions. They all have names (&amp;lt;code&amp;gt;res&amp;lt;/code&amp;gt; in the above example), i.e., the order in which they are listed after the initial semicolon does not matter. The most important ways of displaying residuals are&lt;br /&gt;
** &amp;lt;code&amp;gt;res=1&amp;lt;/code&amp;gt;: Display the residual in terms of chi, i.e., display the value of &amp;lt;latex&amp;gt;(data-model)/\sigma&amp;lt;/latex&amp;gt; where &amp;lt;latex&amp;gt;\sigma&amp;lt;/latex&amp;gt; is the statistical uncertainty of the bin.&lt;br /&gt;
** &amp;lt;code&amp;gt;res=3&amp;lt;/code&amp;gt;: Display the ratio between the data and the model, &amp;lt;latex&amp;gt;data/model&amp;lt;/latex&amp;gt;.&lt;br /&gt;
* other qualifiers that are useful in plotting are:&lt;br /&gt;
** &amp;lt;code&amp;gt;mcol=number&amp;lt;/code&amp;gt;: the color of the model, number is, well, a number. Avoid &amp;lt;code&amp;gt;mcol=3&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mcol=5&amp;lt;/code&amp;gt; since these colors do not show up on beamers.&lt;br /&gt;
** &amp;lt;code&amp;gt;dcol=number&amp;lt;/code&amp;gt;: dito, for the data&lt;br /&gt;
** &amp;lt;code&amp;gt;decol=number&amp;lt;/code&amp;gt;: dito, for the error bars&lt;br /&gt;
** &amp;lt;code&amp;gt;bkg&amp;lt;/code&amp;gt;: if &amp;lt;code&amp;gt;bkg=0&amp;lt;/code&amp;gt; then plot the data with the background subtracted, if &amp;lt;code&amp;gt;bkg=1&amp;lt;/code&amp;gt; also show the background (this will be useful later).&lt;br /&gt;
** &amp;lt;code&amp;gt;xrange={min,max}&amp;lt;/code&amp;gt;: plot the x-axis from min to max only. Note the curly braces! Set &amp;lt;code&amp;gt;min&amp;lt;/code&amp;gt; and/or &amp;lt;code&amp;gt;max&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;NULL&amp;lt;/code&amp;gt; if you want to reset this range to its default value. It is important to remember that &amp;lt;code&amp;gt;xrange&amp;lt;/code&amp;gt; just sets the ''plot''-range, you need to use &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt; to set the energy range that is used for fitting.&lt;br /&gt;
** &amp;lt;code&amp;gt;yrange={min,max}&amp;lt;/code&amp;gt;: dito, for the y-axis.&lt;br /&gt;
&lt;br /&gt;
As an example, try&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; plot_data(pca;res=1,mcol=2,dcol=1,decol=5);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The residuals in the plot tell us two things:&lt;br /&gt;
  - there is a &amp;quot;bump&amp;quot; around 6.4keV. This is typically an indication that there is an iron Kα line present around 6.4keV.&lt;br /&gt;
  - there is a &amp;quot;soft excess&amp;quot; at low energies, which might be indicative of an accretion disk.&lt;br /&gt;
&lt;br /&gt;
Looking at the [https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XspecManual.html XSPEC] manual tells us that accretion disk spectra are modeled with the &amp;lt;code&amp;gt;diskbb&amp;lt;/code&amp;gt; model while emission lines are modeled using the &amp;lt;code&amp;gt;gauss&amp;lt;/code&amp;gt; model. However, reading the isis manual tells us that the ''only'' model that has a different name in isis and in XSPEC is &amp;lt;code&amp;gt;gauss&amp;lt;/code&amp;gt; where we will have to use &amp;lt;code&amp;gt;egauss&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
Based with this information we setup the new fit function as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; fit_fun(&amp;quot;tbabs(1)*(diskbb(1)+egauss(1)+powerlaw(1))&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and identify the new parameters with &amp;lt;code&amp;gt;list_par&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
isis&amp;gt; list_par;&lt;br /&gt;
tbabs(1)*(diskbb(1)+egauss(1)+powerlaw(1))&lt;br /&gt;
 idx  param             tie-to  freeze         value         min         max&lt;br /&gt;
  1  tbabs(1).nH            0     0                0           0      100000  10^22&lt;br /&gt;
  2  diskbb(1).norm         0     0                1           0       1e+10  &lt;br /&gt;
  3  diskbb(1).Tin          0     0                1           0        1000  keV&lt;br /&gt;
  4  egauss(1).area         0     0                1           0           0  photons/s/cm^2&lt;br /&gt;
  5  egauss(1).center       0     0                1           0           0  keV&lt;br /&gt;
  6  egauss(1).sigma        0     0            0.002       1e-06           1  keV&lt;br /&gt;
  7  powerlaw(1).norm       0     0         13.27076           0       1e+10  &lt;br /&gt;
  8  powerlaw(1).PhoIndex   0     0         2.611357          -2           9  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
We then set the center of the Gaussian to 6.4keV (&amp;lt;code&amp;gt;set_par(5,6.4);&amp;lt;/code&amp;gt;) and plot again. Nothing changes. The reason is that we first have to tell isis to recalculate the model. Not doing this automatically after every invocation of &amp;lt;code&amp;gt;set_par&amp;lt;/code&amp;gt; makes sense since some models might take up large amounts of CPU time. To recalculate the model, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; eval_counts;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Plot the model again (using &amp;lt;code&amp;gt;plot_data&amp;lt;/code&amp;gt;). You will notice that the Fe line is too strong. Reduce its flux accordingly by changing the &amp;lt;code&amp;gt;area&amp;lt;/code&amp;gt; parameter. You will probably need a few attempts to get something that looks ok. Then repeat this procedure with the parameters of the accretion disk until you get something that looks halfway ok. Save this attempt, just to be on the save side, and then perform a fit.&lt;br /&gt;
&lt;br /&gt;
Repeating the above a few times, I managed to coax the following best fit out of the data&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isis&amp;gt; list_par;&lt;br /&gt;
tbabs(1)*(diskbb(1)+egauss(1)+powerlaw(1))&lt;br /&gt;
 idx  param             tie-to  freeze         value         min         max&lt;br /&gt;
  1  tbabs(1).nH            0     0                0           0      100000  10^22&lt;br /&gt;
  2  diskbb(1).norm         0     0          4088.32           0       1e+10  &lt;br /&gt;
  3  diskbb(1).Tin          0     0        0.7163385           0        1000  keV&lt;br /&gt;
  4  egauss(1).area         0     0       0.07462147           0           0  photons/s/cm^2&lt;br /&gt;
  5  egauss(1).center       0     0         6.085836           0           0  keV&lt;br /&gt;
  6  egauss(1).sigma        0     0                1       1e-06           1  keV&lt;br /&gt;
  7  powerlaw(1).norm       0     0         2.948465           0       1e+10  &lt;br /&gt;
  8  powerlaw(1).PhoIndex   0     0         1.984697          -2           9  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Parameters[Variable] = 8[8]&lt;br /&gt;
            Data bins = 45&lt;br /&gt;
           Chi-square = 291.7067&lt;br /&gt;
   Reduced chi-square = 7.883964&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This fit looks the following:&lt;br /&gt;
&lt;br /&gt;
[[File:Walkthrough07.png|center]]&lt;br /&gt;
&lt;br /&gt;
This is quite ok for such a simple model. Note that there still is some hardening above 10keV and the residuals are not perfect around 8keV either. This is due to the too large width of the simple Gaussian line, limitations in the &amp;lt;code&amp;gt;diskbb&amp;lt;/code&amp;gt;-model, and the fact that in this data set the source was in its intermediate state, where the combination of the disk component and the power law is notoriously hard to model. &lt;br /&gt;
&lt;br /&gt;
'''''Exercise 5'''''&lt;br /&gt;
# you guessed it: try to find a good fit for your data set.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_installing&amp;diff=2012</id>
		<title>Isis tutorial installing</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Isis_tutorial_installing&amp;diff=2012"/>
		<updated>2020-05-19T13:06:15Z</updated>

		<summary type="html">&lt;p&gt;Wilms: revision 2020&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
====Getting ISIS====&lt;br /&gt;
Installing ISIS and all the modules it depends on, is not a trivial task. &lt;br /&gt;
&lt;br /&gt;
We therefore provide a complete isis environment that is pre-installed in a so-called [https://sylabs.io/guides/3.5/user-guide/# singularity environment]. Singularity runs very well under Linux and can also be installed under windows, although this is a bit more complex, which is why we also offer an alternative. Note that you will need about 4 GB of disk space for the installation. &lt;br /&gt;
&lt;br /&gt;
If you do not have enough disk space available or if you are not happy/comfortable with installing software on your computer, we also have an option to run the tutorials on machines at the observatory. &lt;br /&gt;
&lt;br /&gt;
=====Setup for Linux =====&lt;br /&gt;
* Install singularity. How you do this depends on the flavor of Linux that you have installed. On ubuntu systems, this is as easy as executing&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install singularity-container&lt;br /&gt;
&lt;br /&gt;
On other Linux versions different commands are required. &lt;br /&gt;
&lt;br /&gt;
* Create a working directory for the lecture and download the singularity image for isis and the other tools required for the tutorial from  https://www.sternwarte.uni-erlangen.de/isis/isis-singularity.img , e.g.,&lt;br /&gt;
&lt;br /&gt;
 mkdir xray&lt;br /&gt;
 cd xray&lt;br /&gt;
 wget https://www.sternwarte.uni-erlangen.de/isis/isis-singularity.img&lt;br /&gt;
&lt;br /&gt;
* you can then launch the singularity environment as follows:&lt;br /&gt;
 cd xray&lt;br /&gt;
 singularity run isis-singularity.img&lt;br /&gt;
&lt;br /&gt;
This brings you into an environment that contains most of the relevant X-ray astronomical software, such as, e.g., fv (which you might want to use to display X-ray astronomical data files). You then launch isis by typing '''isis''': &lt;br /&gt;
&lt;br /&gt;
  isis&lt;br /&gt;
&lt;br /&gt;
=====Setup for Windows =====&lt;br /&gt;
&lt;br /&gt;
* Install singularity using the instructions [https://sylabs.io/guides/3.5/user-guide/# on the singularity homepage]. This is a somewhat involved process, but doable in principle if you are ok with computers. If the instructions don't &lt;br /&gt;
&lt;br /&gt;
* Follow the instructions above.&lt;br /&gt;
&lt;br /&gt;
(an alternative is currently being prepared - watch this place)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Working on Remeis observatory computers=====&lt;br /&gt;
&lt;br /&gt;
* If you do not have enough disk space on your computer or do not want to install things locally, contact Ingo Kreykenbohm at the email address given out in the lecture and ask him to create an account on the Remeis computers for you.&lt;br /&gt;
&lt;br /&gt;
* To work on the computers from home, once you have the Remeis account, install the X2go remote desktop environment, following [https://www.sternwarte.uni-erlangen.de/wiki/index.php/X2Go_Remote_Desktop the instructions here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=1878</id>
		<title>Remeis English Checklist</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=1878"/>
		<updated>2019-07-01T19:29:12Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* The Remeis English Checklist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== The Remeis English Checklist ======&lt;br /&gt;
&lt;br /&gt;
(by J. Wilms and K. Pottschmidt)&lt;br /&gt;
&lt;br /&gt;
'''''First of all and most importantly:'''''&lt;br /&gt;
&lt;br /&gt;
* did you read the instructions to authors of the journal? If you are working on a thesis, did you read those of [http://www.aanda.org/doc_journal/instructions/aadoc.pdf Astronomy and Astrophysics]?&lt;br /&gt;
* did you read appendix A of the [https://journals.aps.org/files/rmpguide.pdf instructions to authors] of Rev Mod Phys?&lt;br /&gt;
&lt;br /&gt;
==== Punctuation ====&lt;br /&gt;
&lt;br /&gt;
* did you remove all commas before &amp;quot;that&amp;quot;?&lt;br /&gt;
* did you end your footnotes and captions with a full stop (&amp;quot;.&amp;quot;)?&lt;br /&gt;
* did you make sure that your use of &amp;quot;data&amp;quot; is correct and uses plural verbs?&lt;br /&gt;
* did you make sure that you do not have a &amp;quot;:&amp;quot; anywhere before an equation, but that your equations are seen as part of your sentences?&lt;br /&gt;
* did you make sure that you have commas surrounding &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
==== Spelling and Word usage ====&lt;br /&gt;
&lt;br /&gt;
* do you consistently use either British or American spelling?&lt;br /&gt;
* did you run a spell checker over your manuscript? For TeX, use &amp;quot;ispell&amp;quot; or the built in spell checker in emacs.&lt;br /&gt;
* did you make sure not to use country prefixes in addresses in the author list?&lt;br /&gt;
* did you avoid passive voice as much as possible?&lt;br /&gt;
* did you make sure that you are //not// using &amp;quot;The found results are...&amp;quot; and similar German constructs in your text?&lt;br /&gt;
* did you make sure that everything in your text that is not your original result is accompanied by proper citations?&lt;br /&gt;
* did you make sure that you distinguish between &amp;quot;estimate&amp;quot; and &amp;quot;estimation&amp;quot; by replacing all &amp;quot;estimation&amp;quot; with &amp;quot;estimate&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;exemplary&amp;quot; by &amp;quot;example&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;the actual value&amp;quot; by &amp;quot;the real value&amp;quot;? (if you are German, &amp;quot;actual&amp;quot; does not mean &amp;quot;aktuell&amp;quot;!)&lt;br /&gt;
* did you remove all uses of &amp;quot;hence&amp;quot; and &amp;quot;thereby&amp;quot;?&lt;br /&gt;
* did you make sure that you use &amp;quot;however&amp;quot; as sparingly as possible?&lt;br /&gt;
* did you make sure that you did not use &amp;quot;the equation reads..&amp;quot;, but rather used &amp;quot;the equation is...&amp;quot; or &amp;quot;the equation is given by...&amp;quot;?&lt;br /&gt;
* did you avoid split infinitives? (&amp;quot;to boldly go...&amp;quot; is wrong; yes, in many cases split infinitives are ok in current English, but they tend to be so often used wrongly by non-native speakers that it is best to avoid them)&lt;br /&gt;
* did you make sure that you distinguish properly between &amp;quot;this&amp;quot; and &amp;quot;these&amp;quot;?&lt;br /&gt;
* did you make use of the &amp;quot;Oxford comma&amp;quot;, i.e., do you have a comma before &amp;quot;and&amp;quot; in lists?&lt;br /&gt;
* did you use &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot; correctly, i.e., using &amp;quot;i.e.&amp;quot; for a specific clarification or definition and &amp;quot;e.g.&amp;quot; where you would otherwise use &amp;quot;for example&amp;quot;?&lt;br /&gt;
* did you use the IAU recommended year - month - day sequences (2016 March 15)?&lt;br /&gt;
* did you make sure that you did not use contractions such as &amp;quot;didn't&amp;quot; or &amp;quot;you're&amp;quot;?&lt;br /&gt;
* did you replace &amp;quot;cf.&amp;quot; with &amp;quot;see&amp;quot; everywhere since you know that &amp;quot;cf.&amp;quot; means &amp;quot;compare&amp;quot;?&lt;br /&gt;
* did you make sure that the reader will understand what thing you refer to when using &amp;quot;it&amp;quot; rather than naming it? &lt;br /&gt;
* did you make sure that all uses of &amp;quot;this&amp;quot; are followed by the object you are referring to? &lt;br /&gt;
* did you use &amp;quot;led&amp;quot; rather than &amp;quot;lead&amp;quot; when using the past tense of the verb &amp;quot;to lead&amp;quot;?&lt;br /&gt;
* did you reread the manuscript for internal consistency after you added comments from your coauthors?&lt;br /&gt;
* did you make sure that your sentences are short (rule of thumb: if a sentence goes over more than three lines it is probably too long)?&lt;br /&gt;
* did you check that you did not combine two sentences that could be separate sentences with &amp;quot;and&amp;quot;?&lt;br /&gt;
* did you avoid abbreviations as much as possible and only used them when they are really, really common (HST, AGN, XMM,...)?&lt;br /&gt;
* did you check that you defined all abbreviations that you used at their first usage? (&amp;quot;...Active Galactic Nucleus (AGN)...&amp;quot; //not// &amp;quot;...AGN (Active Galactic Nucleus)...&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
==== Citations ====&lt;br /&gt;
&lt;br /&gt;
* did you add the journal to all publications where you list the arXiv-reference and not just blindly copy the erroneous ADS bibtex entry?&lt;br /&gt;
* did you make sure that you distinguished between arXiv references where a paper is submitted and references where a paper is already accepted by checking the paper author's comment on the arXiv-page for that article?&lt;br /&gt;
* did you remove the page number for all ATEL-references downloaded from ADS and changed the journal name to &amp;quot;Astron. Tel.&amp;quot; or &amp;quot;ATEL&amp;quot;? (and similar for IAU telegrams)&lt;br /&gt;
* did you add editors and the title of the conference publication to all conference publications?&lt;br /&gt;
* did you add the publisher and place information (city only) to all books, conference publications, and other book-like publications that you are citing?&lt;br /&gt;
* did you check that your references are correct in that you are using ''\citet{biblabel}'' for references in the text and ''\citep{biblabel}'' for references in parentheses?&lt;br /&gt;
* did you make sure that none of your ''\citet{..}'' commands refer to more than one biblabel?&lt;br /&gt;
&lt;br /&gt;
==== Typesetting (mainly in TeX) ====&lt;br /&gt;
&lt;br /&gt;
* did you check for missing spaces between values and units?&lt;br /&gt;
* did you make sure that all scientific units are typeset in &amp;lt;code&amp;gt;\mathrm&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure not to use constructs such as &amp;lt;code&amp;gt;$\mathrm{m}/\mathrm{s}$&amp;lt;/code&amp;gt; by using &amp;lt;code&amp;gt;$\mathrm{m}\,\mathrm{s}^{-1}$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that almost all of your error bars are rounded up to only one significant digit rather than following the DIN-norm (which is not applied in astronomical journals)?&lt;br /&gt;
* did you make sure that you are not using any positioning commands for the table or figure environment such as &amp;lt;code&amp;gt;\begin{table}[htpb]&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure that your tables have captions above the table, and figures have captions below the figure or next to it (where allowed by the style)?&lt;br /&gt;
* did you make sure that you use empty lines to denote the start of a new paragraph rather than the ''\\''-command? (use &amp;lt;code&amp;gt;\parindent{0pt}&amp;lt;/code&amp;gt; if you do not want to indent paragraphs)&lt;br /&gt;
* did you make sure that there are no paragraph endings above or below &amp;lt;code&amp;gt;\begin{equation}...\end{equation}&amp;lt;/code&amp;gt; by ensuring that there is no empty line above or below the ''equation''-environment?&lt;br /&gt;
* did you make sure that you are not using &amp;lt;code&amp;gt;$\frac{a}{b}$&amp;lt;/code&amp;gt; in normal text, but use &amp;lt;code&amp;gt;$a/b$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that you are not using the &amp;lt;code&amp;gt;displaymath&amp;lt;/code&amp;gt;-environment and that all equations are numbered?&lt;br /&gt;
* did you make sure that all of your sections, subsections, paragraphs and so on are numbered?&lt;br /&gt;
* did you avoid any and all uses of &amp;lt;code&amp;gt;\bf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\it&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\sl&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;\em&amp;lt;/code&amp;gt; and use the proper commands &amp;lt;code&amp;gt;\textbf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textit&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textsl&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;\emph&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you use the en-dash of TeX for ranges, even if they occur in math, by using &amp;lt;code&amp;gt;--&amp;lt;/code&amp;gt; in text mode rather than a minus sign? (that is, did you typeset a range in an equation as &amp;lt;code&amp;gt;$3x$--$5x$&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$3x\mbox{--}5x$&amp;lt;/code&amp;gt; rather than, erroneously, &amp;lt;code&amp;gt;$3x-5x$&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you correctly use the minus-sign and dashes in astronomical source names, where the name contains coordinates and the &amp;lt;q&amp;gt;dash&amp;lt;/q&amp;gt; really is a southern declination or Galactic latitude, that is, did you typeset &amp;lt;code&amp;gt;Her X-1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LMC X-3&amp;lt;/code&amp;gt;, but &amp;lt;code&amp;gt;GX\,339$-$4&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;IGR J16318$-$4848&amp;lt;/code&amp;gt; (and as a really difficult one: &amp;lt;code&amp;gt;MCG$-$6-30-15&amp;lt;/code&amp;gt;)?&lt;br /&gt;
&lt;br /&gt;
[[Category:Current Members]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=1877</id>
		<title>Remeis English Checklist</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=1877"/>
		<updated>2019-07-01T19:27:43Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Typesetting (mainly in TeX) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== The Remeis English Checklist ======&lt;br /&gt;
&lt;br /&gt;
(by J. Wilms and K. Pottschmidt)&lt;br /&gt;
&lt;br /&gt;
''First of all and most importantly:''&lt;br /&gt;
&lt;br /&gt;
* did you read the instructions to authors of the journal? If you are working on a thesis, did you read those of [http://www.aanda.org/doc_journal/instructions/aadoc.pdf Astronomy and Astrophysics]?&lt;br /&gt;
* did you read appendix A of the [https://journals.aps.org/files/rmpguide.pdf instructions to authors] of Rev Mod Phys?&lt;br /&gt;
&lt;br /&gt;
==== Punctuation ====&lt;br /&gt;
&lt;br /&gt;
* did you remove all commas before &amp;quot;that&amp;quot;?&lt;br /&gt;
* did you end your footnotes and captions with a full stop (&amp;quot;.&amp;quot;)?&lt;br /&gt;
* did you make sure that your use of &amp;quot;data&amp;quot; is correct and uses plural verbs?&lt;br /&gt;
* did you make sure that you do not have a &amp;quot;:&amp;quot; anywhere before an equation, but that your equations are seen as part of your sentences?&lt;br /&gt;
* did you make sure that you have commas surrounding &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
==== Spelling and Word usage ====&lt;br /&gt;
&lt;br /&gt;
* do you consistently use either British or American spelling?&lt;br /&gt;
* did you run a spell checker over your manuscript? For TeX, use &amp;quot;ispell&amp;quot; or the built in spell checker in emacs.&lt;br /&gt;
* did you make sure not to use country prefixes in addresses in the author list?&lt;br /&gt;
* did you avoid passive voice as much as possible?&lt;br /&gt;
* did you make sure that you are //not// using &amp;quot;The found results are...&amp;quot; and similar German constructs in your text?&lt;br /&gt;
* did you make sure that everything in your text that is not your original result is accompanied by proper citations?&lt;br /&gt;
* did you make sure that you distinguish between &amp;quot;estimate&amp;quot; and &amp;quot;estimation&amp;quot; by replacing all &amp;quot;estimation&amp;quot; with &amp;quot;estimate&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;exemplary&amp;quot; by &amp;quot;example&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;the actual value&amp;quot; by &amp;quot;the real value&amp;quot;? (if you are German, &amp;quot;actual&amp;quot; does not mean &amp;quot;aktuell&amp;quot;!)&lt;br /&gt;
* did you remove all uses of &amp;quot;hence&amp;quot; and &amp;quot;thereby&amp;quot;?&lt;br /&gt;
* did you make sure that you use &amp;quot;however&amp;quot; as sparingly as possible?&lt;br /&gt;
* did you make sure that you did not use &amp;quot;the equation reads..&amp;quot;, but rather used &amp;quot;the equation is...&amp;quot; or &amp;quot;the equation is given by...&amp;quot;?&lt;br /&gt;
* did you avoid split infinitives? (&amp;quot;to boldly go...&amp;quot; is wrong; yes, in many cases split infinitives are ok in current English, but they tend to be so often used wrongly by non-native speakers that it is best to avoid them)&lt;br /&gt;
* did you make sure that you distinguish properly between &amp;quot;this&amp;quot; and &amp;quot;these&amp;quot;?&lt;br /&gt;
* did you make use of the &amp;quot;Oxford comma&amp;quot;, i.e., do you have a comma before &amp;quot;and&amp;quot; in lists?&lt;br /&gt;
* did you use &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot; correctly, i.e., using &amp;quot;i.e.&amp;quot; for a specific clarification or definition and &amp;quot;e.g.&amp;quot; where you would otherwise use &amp;quot;for example&amp;quot;?&lt;br /&gt;
* did you use the IAU recommended year - month - day sequences (2016 March 15)?&lt;br /&gt;
* did you make sure that you did not use contractions such as &amp;quot;didn't&amp;quot; or &amp;quot;you're&amp;quot;?&lt;br /&gt;
* did you replace &amp;quot;cf.&amp;quot; with &amp;quot;see&amp;quot; everywhere since you know that &amp;quot;cf.&amp;quot; means &amp;quot;compare&amp;quot;?&lt;br /&gt;
* did you make sure that the reader will understand what thing you refer to when using &amp;quot;it&amp;quot; rather than naming it? &lt;br /&gt;
* did you make sure that all uses of &amp;quot;this&amp;quot; are followed by the object you are referring to? &lt;br /&gt;
* did you use &amp;quot;led&amp;quot; rather than &amp;quot;lead&amp;quot; when using the past tense of the verb &amp;quot;to lead&amp;quot;?&lt;br /&gt;
* did you reread the manuscript for internal consistency after you added comments from your coauthors?&lt;br /&gt;
* did you make sure that your sentences are short (rule of thumb: if a sentence goes over more than three lines it is probably too long)?&lt;br /&gt;
* did you check that you did not combine two sentences that could be separate sentences with &amp;quot;and&amp;quot;?&lt;br /&gt;
* did you avoid abbreviations as much as possible and only used them when they are really, really common (HST, AGN, XMM,...)?&lt;br /&gt;
* did you check that you defined all abbreviations that you used at their first usage? (&amp;quot;...Active Galactic Nucleus (AGN)...&amp;quot; //not// &amp;quot;...AGN (Active Galactic Nucleus)...&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
==== Citations ====&lt;br /&gt;
&lt;br /&gt;
* did you add the journal to all publications where you list the arXiv-reference and not just blindly copy the erroneous ADS bibtex entry?&lt;br /&gt;
* did you make sure that you distinguished between arXiv references where a paper is submitted and references where a paper is already accepted by checking the paper author's comment on the arXiv-page for that article?&lt;br /&gt;
* did you remove the page number for all ATEL-references downloaded from ADS and changed the journal name to &amp;quot;Astron. Tel.&amp;quot; or &amp;quot;ATEL&amp;quot;? (and similar for IAU telegrams)&lt;br /&gt;
* did you add editors and the title of the conference publication to all conference publications?&lt;br /&gt;
* did you add the publisher and place information (city only) to all books, conference publications, and other book-like publications that you are citing?&lt;br /&gt;
* did you check that your references are correct in that you are using ''\citet{biblabel}'' for references in the text and ''\citep{biblabel}'' for references in parentheses?&lt;br /&gt;
* did you make sure that none of your ''\citet{..}'' commands refer to more than one biblabel?&lt;br /&gt;
&lt;br /&gt;
==== Typesetting (mainly in TeX) ====&lt;br /&gt;
&lt;br /&gt;
* did you check for missing spaces between values and units?&lt;br /&gt;
* did you make sure that all scientific units are typeset in &amp;lt;code&amp;gt;\mathrm&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure not to use constructs such as &amp;lt;code&amp;gt;$\mathrm{m}/\mathrm{s}$&amp;lt;/code&amp;gt; by using &amp;lt;code&amp;gt;$\mathrm{m}\,\mathrm{s}^{-1}$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that almost all of your error bars are rounded up to only one significant digit rather than following the DIN-norm (which is not applied in astronomical journals)?&lt;br /&gt;
* did you make sure that you are not using any positioning commands for the table or figure environment such as &amp;lt;code&amp;gt;\begin{table}[htpb]&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure that your tables have captions above the table, and figures have captions below the figure or next to it (where allowed by the style)?&lt;br /&gt;
* did you make sure that you use empty lines to denote the start of a new paragraph rather than the ''\\''-command? (use &amp;lt;code&amp;gt;\parindent{0pt}&amp;lt;/code&amp;gt; if you do not want to indent paragraphs)&lt;br /&gt;
* did you make sure that there are no paragraph endings above or below &amp;lt;code&amp;gt;\begin{equation}...\end{equation}&amp;lt;/code&amp;gt; by ensuring that there is no empty line above or below the ''equation''-environment?&lt;br /&gt;
* did you make sure that you are not using &amp;lt;code&amp;gt;$\frac{a}{b}$&amp;lt;/code&amp;gt; in normal text, but use &amp;lt;code&amp;gt;$a/b$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that you are not using the &amp;lt;code&amp;gt;displaymath&amp;lt;/code&amp;gt;-environment and that all equations are numbered?&lt;br /&gt;
* did you make sure that all of your sections, subsections, paragraphs and so on are numbered?&lt;br /&gt;
* did you avoid any and all uses of &amp;lt;code&amp;gt;\bf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\it&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\sl&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;\em&amp;lt;/code&amp;gt; and use the proper commands &amp;lt;code&amp;gt;\textbf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textit&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textsl&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;\emph&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you use the en-dash of TeX for ranges, even if they occur in math, by using &amp;lt;code&amp;gt;--&amp;lt;/code&amp;gt; in text mode rather than a minus sign? (that is, did you typeset a range in an equation as &amp;lt;code&amp;gt;$3x$--$5x$&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$3x\mbox{--}5x$&amp;lt;/code&amp;gt; rather than, erroneously, &amp;lt;code&amp;gt;$3x-5x$&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you correctly use the minus-sign and dashes in astronomical source names, where the name contains coordinates and the &amp;lt;q&amp;gt;dash&amp;lt;/q&amp;gt; really is a southern declination or Galactic latitude, that is, did you typeset &amp;lt;code&amp;gt;Her X-1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LMC X-3&amp;lt;/code&amp;gt;, but &amp;lt;code&amp;gt;GX\,339$-$4&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;IGR J16318$-$4848&amp;lt;/code&amp;gt; (and as a really difficult one: &amp;lt;code&amp;gt;MCG$-$6-30-15&amp;lt;/code&amp;gt;)?&lt;br /&gt;
&lt;br /&gt;
[[Category:Current Members]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=1876</id>
		<title>Remeis English Checklist</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Remeis_English_Checklist&amp;diff=1876"/>
		<updated>2019-07-01T19:26:34Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Typesetting (mainly in TeX) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== The Remeis English Checklist ======&lt;br /&gt;
&lt;br /&gt;
(by J. Wilms and K. Pottschmidt)&lt;br /&gt;
&lt;br /&gt;
''First of all and most importantly:''&lt;br /&gt;
&lt;br /&gt;
* did you read the instructions to authors of the journal? If you are working on a thesis, did you read those of [http://www.aanda.org/doc_journal/instructions/aadoc.pdf Astronomy and Astrophysics]?&lt;br /&gt;
* did you read appendix A of the [https://journals.aps.org/files/rmpguide.pdf instructions to authors] of Rev Mod Phys?&lt;br /&gt;
&lt;br /&gt;
==== Punctuation ====&lt;br /&gt;
&lt;br /&gt;
* did you remove all commas before &amp;quot;that&amp;quot;?&lt;br /&gt;
* did you end your footnotes and captions with a full stop (&amp;quot;.&amp;quot;)?&lt;br /&gt;
* did you make sure that your use of &amp;quot;data&amp;quot; is correct and uses plural verbs?&lt;br /&gt;
* did you make sure that you do not have a &amp;quot;:&amp;quot; anywhere before an equation, but that your equations are seen as part of your sentences?&lt;br /&gt;
* did you make sure that you have commas surrounding &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
==== Spelling and Word usage ====&lt;br /&gt;
&lt;br /&gt;
* do you consistently use either British or American spelling?&lt;br /&gt;
* did you run a spell checker over your manuscript? For TeX, use &amp;quot;ispell&amp;quot; or the built in spell checker in emacs.&lt;br /&gt;
* did you make sure not to use country prefixes in addresses in the author list?&lt;br /&gt;
* did you avoid passive voice as much as possible?&lt;br /&gt;
* did you make sure that you are //not// using &amp;quot;The found results are...&amp;quot; and similar German constructs in your text?&lt;br /&gt;
* did you make sure that everything in your text that is not your original result is accompanied by proper citations?&lt;br /&gt;
* did you make sure that you distinguish between &amp;quot;estimate&amp;quot; and &amp;quot;estimation&amp;quot; by replacing all &amp;quot;estimation&amp;quot; with &amp;quot;estimate&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;exemplary&amp;quot; by &amp;quot;example&amp;quot;?&lt;br /&gt;
* did you replace all uses of &amp;quot;the actual value&amp;quot; by &amp;quot;the real value&amp;quot;? (if you are German, &amp;quot;actual&amp;quot; does not mean &amp;quot;aktuell&amp;quot;!)&lt;br /&gt;
* did you remove all uses of &amp;quot;hence&amp;quot; and &amp;quot;thereby&amp;quot;?&lt;br /&gt;
* did you make sure that you use &amp;quot;however&amp;quot; as sparingly as possible?&lt;br /&gt;
* did you make sure that you did not use &amp;quot;the equation reads..&amp;quot;, but rather used &amp;quot;the equation is...&amp;quot; or &amp;quot;the equation is given by...&amp;quot;?&lt;br /&gt;
* did you avoid split infinitives? (&amp;quot;to boldly go...&amp;quot; is wrong; yes, in many cases split infinitives are ok in current English, but they tend to be so often used wrongly by non-native speakers that it is best to avoid them)&lt;br /&gt;
* did you make sure that you distinguish properly between &amp;quot;this&amp;quot; and &amp;quot;these&amp;quot;?&lt;br /&gt;
* did you make use of the &amp;quot;Oxford comma&amp;quot;, i.e., do you have a comma before &amp;quot;and&amp;quot; in lists?&lt;br /&gt;
* did you use &amp;quot;i.e.&amp;quot; and &amp;quot;e.g.&amp;quot; correctly, i.e., using &amp;quot;i.e.&amp;quot; for a specific clarification or definition and &amp;quot;e.g.&amp;quot; where you would otherwise use &amp;quot;for example&amp;quot;?&lt;br /&gt;
* did you use the IAU recommended year - month - day sequences (2016 March 15)?&lt;br /&gt;
* did you make sure that you did not use contractions such as &amp;quot;didn't&amp;quot; or &amp;quot;you're&amp;quot;?&lt;br /&gt;
* did you replace &amp;quot;cf.&amp;quot; with &amp;quot;see&amp;quot; everywhere since you know that &amp;quot;cf.&amp;quot; means &amp;quot;compare&amp;quot;?&lt;br /&gt;
* did you make sure that the reader will understand what thing you refer to when using &amp;quot;it&amp;quot; rather than naming it? &lt;br /&gt;
* did you make sure that all uses of &amp;quot;this&amp;quot; are followed by the object you are referring to? &lt;br /&gt;
* did you use &amp;quot;led&amp;quot; rather than &amp;quot;lead&amp;quot; when using the past tense of the verb &amp;quot;to lead&amp;quot;?&lt;br /&gt;
* did you reread the manuscript for internal consistency after you added comments from your coauthors?&lt;br /&gt;
* did you make sure that your sentences are short (rule of thumb: if a sentence goes over more than three lines it is probably too long)?&lt;br /&gt;
* did you check that you did not combine two sentences that could be separate sentences with &amp;quot;and&amp;quot;?&lt;br /&gt;
* did you avoid abbreviations as much as possible and only used them when they are really, really common (HST, AGN, XMM,...)?&lt;br /&gt;
* did you check that you defined all abbreviations that you used at their first usage? (&amp;quot;...Active Galactic Nucleus (AGN)...&amp;quot; //not// &amp;quot;...AGN (Active Galactic Nucleus)...&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
==== Citations ====&lt;br /&gt;
&lt;br /&gt;
* did you add the journal to all publications where you list the arXiv-reference and not just blindly copy the erroneous ADS bibtex entry?&lt;br /&gt;
* did you make sure that you distinguished between arXiv references where a paper is submitted and references where a paper is already accepted by checking the paper author's comment on the arXiv-page for that article?&lt;br /&gt;
* did you remove the page number for all ATEL-references downloaded from ADS and changed the journal name to &amp;quot;Astron. Tel.&amp;quot; or &amp;quot;ATEL&amp;quot;? (and similar for IAU telegrams)&lt;br /&gt;
* did you add editors and the title of the conference publication to all conference publications?&lt;br /&gt;
* did you add the publisher and place information (city only) to all books, conference publications, and other book-like publications that you are citing?&lt;br /&gt;
* did you check that your references are correct in that you are using ''\citet{biblabel}'' for references in the text and ''\citep{biblabel}'' for references in parentheses?&lt;br /&gt;
* did you make sure that none of your ''\citet{..}'' commands refer to more than one biblabel?&lt;br /&gt;
&lt;br /&gt;
==== Typesetting (mainly in TeX) ====&lt;br /&gt;
&lt;br /&gt;
* did you check for missing spaces between values and units?&lt;br /&gt;
* did you make sure that all scientific units are typeset in &amp;lt;code&amp;gt;\mathrm&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure not to use constructs such as &amp;lt;code&amp;gt;$\mathrm{m}/\mathrm{s}$&amp;lt;/code&amp;gt; by using &amp;lt;code&amp;gt;$\mathrm{m}\,\mathrm{s}^{-1}$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that almost all of your error bars are rounded up to only one significant digit rather than following the DIN-norm (which is not applied in astronomical journals)?&lt;br /&gt;
* did you make sure that you are not using any positioning commands for the table or figure environment such as &amp;lt;code&amp;gt;\begin{table}[htpb]&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you make sure that your tables have captions above the table, and figures have captions below the figure or next to it (where allowed by the style)?&lt;br /&gt;
* did you make sure that you use empty lines to denote the start of a new paragraph rather than the ''\\''-command? (use &amp;lt;code&amp;gt;\parindent{0pt}&amp;lt;/code&amp;gt; if you do not want to indent paragraphs)&lt;br /&gt;
* did you make sure that there are no paragraph endings above or below &amp;lt;code&amp;gt;\begin{equation}...\end{equation}&amp;lt;/code&amp;gt; by ensuring that there is no empty line above or below the ''equation''-environment?&lt;br /&gt;
* did you make sure that you are not using &amp;lt;code&amp;gt;$\frac{a}{b}$&amp;lt;/code&amp;gt; in normal text, but use &amp;lt;code&amp;gt;$a/b$&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you make sure that you are not using the &amp;lt;code&amp;gt;displaymath&amp;lt;/code&amp;gt;-environment and that all equations are numbered?&lt;br /&gt;
* did you make sure that all of your sections, subsections, paragraphs and so on are numbered?&lt;br /&gt;
* did you avoid any and all uses of &amp;lt;code&amp;gt;\bf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\it&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\sl&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;\em&amp;lt;/code&amp;gt; and use the proper commands &amp;lt;code&amp;gt;\textbf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textit&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;\textsl&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;\emph&amp;lt;/code&amp;gt; instead?&lt;br /&gt;
* did you use the en-dash of TeX for ranges, even if they occur in math, by using &amp;lt;code&amp;gt;--&amp;lt;/code&amp;gt; in text mode rather than a minus sign? (that is, did you typeset a range in an equation as &amp;lt;code&amp;gt;$3x$--$5x$&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$3x\mbox{--}5x$&amp;lt;/code&amp;gt; rather than, erroneously, &amp;lt;code&amp;gt;$3x-5x$&amp;lt;/code&amp;gt;?&lt;br /&gt;
* did you correctly use the minus-sign and dashes in astronomical source names, where the name contains coordinates and the ``dash'' really is a southern declination or Galactic latitude, that is, did you typeset &amp;lt;code&amp;gt;Her X-1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;LMC X-3&amp;lt;/code&amp;gt;, but &amp;lt;code&amp;gt;GX\,339$-$4&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;IGR J16318$-$4848&amp;lt;/code&amp;gt; (and as a really difficult one: &amp;lt;code&amp;gt;MCG$-$6-30-15&amp;lt;/code&amp;gt;)?&lt;br /&gt;
&lt;br /&gt;
[[Category:Current Members]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Slurm&amp;diff=1684</id>
		<title>Slurm</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Slurm&amp;diff=1684"/>
		<updated>2018-09-01T02:02:18Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Submitting a job array */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Slurm]]&lt;br /&gt;
&lt;br /&gt;
= About =&lt;br /&gt;
&lt;br /&gt;
In order to spread the workload of scientific computations on our compute nodes the resource manager SLURM is used.&lt;br /&gt;
&lt;br /&gt;
From [https://slurm.schedmd.com/overview.html official SLURM website]:&lt;br /&gt;
&lt;br /&gt;
''Slurm is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters. Slurm requires no kernel modifications for its operation and is relatively self-contained. As a cluster workload manager, Slurm has three key functions. First, it allocates exclusive and/or non-exclusive access to resources (compute nodes) to users for some duration of time so they can perform work. Second, it provides a framework for starting, executing, and monitoring work (normally a parallel job) on the set of allocated nodes. Finally, it arbitrates contention for resources by managing a queue of pending work.''&lt;br /&gt;
[[File:entities_slurm.gif|frame|Different entities of Slurm]]&lt;br /&gt;
From [https://slurm.schedmd.com/overview.html official SLURM website]:&lt;br /&gt;
&lt;br /&gt;
''SLURM manages the cluster in partitions, which are a set of compute nodes. Note, that partitions may overlap, e.g. one compute node may be in two or more partitions. A node is a physical computer which provides consumable resources: CPUs and Memory. A CPU does not necessarily have to be a physical processor but is more like a virtual CPU to run one single task on. A dual core with hyper threading technology, for instance, would show up as a node with 4 CPUs consisting of two cores with the capability of running two threads on each core. Physical memory is defined in MB.''&lt;br /&gt;
&lt;br /&gt;
The following partitions exist in the current setup:&lt;br /&gt;
&lt;br /&gt;
* remeis: default partition, all machines, timelimit: 14days&lt;br /&gt;
* erosita: only available for selected people involved in the project, timelimit: infinite&lt;br /&gt;
* power: only the newest machines and servers, higher priority than 'remeis' (e.g. if you submit via power you will get the power machines as soon as possible and not compete with 'remeis' jobs but only other jobs submitted to 'power'), timelimit: 1day&lt;br /&gt;
* messier: only messier cluster, also higher priority than 'remeis', timelimit: 7 days &lt;br /&gt;
* debug: very high priority partition for software development, timelimit: 1h&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Quick users tutorial =&lt;br /&gt;
&lt;br /&gt;
This tutorial will give you a quick overview over the most important commands. The [https://slurm.schedmd.com/overview.html official SLURM website] provides more detailed information.&lt;br /&gt;
&lt;br /&gt;
== Get cluster status ==&lt;br /&gt;
In order to get an overview of the cluster, type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  sinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This command offers a variety of options how to format the output. In order to get a detailed output while focusing on the nodes rather than the partitions, type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  sinfo -N -l&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
An overview over the available partitions can be shown with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  scontrol show partition&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
an the current queued and running jobs can be displayed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  squeue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Executing a job in real-time ==&lt;br /&gt;
In order to allocate for instance 1 CPUs and 100MB of memory for real-time work, type &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  salloc --mem-per-cpu=100 -n1 bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your bash is now connected to the compute nodes. In order to execute a script use the srun-command&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  srun my_script.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Each srun-command you execute now is interpreted as a job step. The currently running job step of submitted jobs can be displayed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  squeue -s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also start a job by simply use the srun command and specify your requirements. In the following case, srun will allocate 100MB of memory and 1 CPU(s) for 1 task, only for the duration of execution.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  srun --mem-per-cpu=100 -n1 my_script.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If resources are available your job will start immediately.&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
== Submitting a job for later execution ==&lt;br /&gt;
&lt;br /&gt;
The most convenient way is to submit a job script for later execution. The top part of the script contains scheduling information for SLURM, the more information you provide here, the better.&lt;br /&gt;
&lt;br /&gt;
First of all, a job name is specified, followed by a maximum time. If your job exceeds this time, it will be killed. However, do not overestimate too much because short jobs might start earlier. Acceptable time formats include &amp;quot;minutes&amp;quot;, &amp;quot;minutes:seconds&amp;quot;, &amp;quot;hours:minutes:seconds&amp;quot;, &amp;quot;days-hours&amp;quot;, &amp;quot;days-hours:minutes&amp;quot; and &amp;quot;days-hours:minutes:seconds&amp;quot;. The output file is set to be test-job(jobID).out and the partition to run the job on is &amp;quot;remeis&amp;quot;.&lt;br /&gt;
The sbatch-script itself will not initiate any job but only allocate the resources. The ''ntasks'' and ''mem-per-cpu'' options advise the SLURM controller that job steps run within the allocation will launch a maximum of number tasks and to provide for sufficient resources.&lt;br /&gt;
&lt;br /&gt;
The ''srun'' commands in the job script launch the job steps. The example below thus consists of two job steps. Each of the ''srun'' commands may have own requirements concerning memory any may also spawn less tasks than given in the header of the script file. However, the values in the header may never be exceeded!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  #SBATCH --job-name my_first_job&lt;br /&gt;
  #SBATCH --time 05:00&lt;br /&gt;
  #SBATCH --output test-job_%A_%a.out&lt;br /&gt;
  #SBATCH --error test-job_%A_%a.err&lt;br /&gt;
  #SBATCH --partition=remeis&lt;br /&gt;
  #SBATCH --ntasks=4&lt;br /&gt;
  #SBATCH --mem-per-cpu=100&lt;br /&gt;
  srun -l my_script1.sh&lt;br /&gt;
  srun -l my_script2.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The ''-l'' parameter of ''srun'' will print the task number in front of a line of stdout/err. You can submit this script by saving it in a file, e.g. ''my_first_job.slurm'', and sumitting it using &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  cepheus:~&amp;gt; sbatch my_first_job.slurm &lt;br /&gt;
  Submitted batch job 144&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check the estimated starting time of your job using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  squeue --start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Submitting a job array ==&lt;br /&gt;
&lt;br /&gt;
In order to submit a array of jobs with the same requirements you have to modify your script file. &lt;br /&gt;
The script above is going to spawn 4 jobs each consisting of one srun command. Note the presence of the new environment variable ''${SLURM_ARRAY_TASK_ID}'' which might be useful for your work. In this example we start an isis-script with different input values. You can also simply use different scripts.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash                     &lt;br /&gt;
  #SBATCH --partition remeis&lt;br /&gt;
  #SBATCH --job-name important_job                                                                   &lt;br /&gt;
  #SBATCH --ntasks=1&lt;br /&gt;
  #SBATCH --time 00:05:00                                                         &lt;br /&gt;
  #SBATCH --output /home/dauser/tmp/jobscript_beta.%A_%a.out          &lt;br /&gt;
  #SBATCH --error /home/dauser/tmp/jobscript_beta.%A_%a.err          &lt;br /&gt;
  #SBATCH --array 0-3&lt;br /&gt;
  &lt;br /&gt;
  cd /home/user/script/&lt;br /&gt;
  &lt;br /&gt;
  COMMAND[0]=&amp;quot;./sim_script.sl 0.00&amp;quot;                                       &lt;br /&gt;
  COMMAND[1]=&amp;quot;./sim_script.sl 0.10&amp;quot;                                       &lt;br /&gt;
  COMMAND[2]=&amp;quot;./sim_script.sl 0.20&amp;quot;                                       &lt;br /&gt;
  COMMAND[3]=&amp;quot;./sim_script.sl 0.30&amp;quot;                                       &lt;br /&gt;
  &lt;br /&gt;
  srun /usr/bin/nice -n +19 ${COMMAND[$SLURM_ARRAY_TASK_ID]} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As above, this code might be saved in a file, for example ''job.slurm'' can be executed using &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  sbatch job.slurm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need a specific machine to run your job on, you can use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --nodelist=leo,draco&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
If you have a job with high I/O and/or traffic on the network you can limit the number of jobs running simultaneously (to 2 in this example) by&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --array 0-3%2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will only allocate resources on the given nodes. However, if all nodes in 'nodelist' cannot fulfill the job requirements, SLURM will also allocate other machines.&lt;br /&gt;
&lt;br /&gt;
If you would like to cancel jobs 1, 2 and 3 from job array 20 use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  scancel 20_[1-3]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that you might have to escape the brackets when using the above command, e.g.,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  tcsh:~&amp;gt; scancel 20_\[1-3\]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to cancel the whole array, ''scancel'' works as usual&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  scancel 20&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note, there is also the option to modify requirements of single jobs later using ''scontrol update job=101_1 ...''.&lt;br /&gt;
&lt;br /&gt;
If you have jobs which are dependent on the result of others or if you want a more detailed description concerning job arrays you can find it in the official SLURM manual: [[https://slurm.schedmd.com/job_array.html]]&lt;br /&gt;
&lt;br /&gt;
== Submitting a job array where each command needs to change into a different directory ==&lt;br /&gt;
&lt;br /&gt;
In order to allow each command of the job array to change into an individual directory (as opposed to all into the same directory as above), modify the script as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash                     &lt;br /&gt;
  #SBATCH --partition remeis&lt;br /&gt;
  #SBATCH --job-name important_job                                                                   &lt;br /&gt;
  #SBATCH --ntasks=1&lt;br /&gt;
  #SBATCH --time 00:05:00                                                         &lt;br /&gt;
  #SBATCH --output /home/dauser/tmp/jobscript_beta.%A_%a.out          &lt;br /&gt;
  #SBATCH --error /home/dauser/tmp/jobscript_beta.%A_%a.err          &lt;br /&gt;
  #SBATCH --array 0-3&lt;br /&gt;
  &lt;br /&gt;
  DIR[0]=&amp;quot;/home/user/dir1&amp;quot;&lt;br /&gt;
  DIR[1]=&amp;quot;/home/user/dir2&amp;quot;&lt;br /&gt;
  DIR[2]=&amp;quot;/userdata/user/dir3&amp;quot;&lt;br /&gt;
  DIR[3]=&amp;quot;/userdata/user/dir4&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
  cd ${DIR[$SLURM_ARRAY_TASK_ID]}&lt;br /&gt;
  &lt;br /&gt;
  COMMAND[0]=&amp;quot;./sim_script.sl 0.00&amp;quot;                                       &lt;br /&gt;
  COMMAND[1]=&amp;quot;./sim_script.sl 0.10&amp;quot;                                       &lt;br /&gt;
  COMMAND[2]=&amp;quot;./sim_script.sl 0.20&amp;quot;                                       &lt;br /&gt;
  COMMAND[3]=&amp;quot;./sim_script.sl 0.30&amp;quot;                                       &lt;br /&gt;
  &lt;br /&gt;
  srun /usr/bin/nice -n +19 ${COMMAND[$SLURM_ARRAY_TASK_ID]} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This also works with paths relative to the directory where the slurm script was submitted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Submitting a job array with varying number of tasks ==&lt;br /&gt;
&lt;br /&gt;
This is not really a job &amp;quot;array&amp;quot;. But to execute multiple jobs with different number of tasks one can use multiple&lt;br /&gt;
srun calls chained with an '&amp;amp;'. This will submit the jobs at once but allow one to specify job parameters individually&lt;br /&gt;
for each job.&lt;br /&gt;
&lt;br /&gt;
Example: Simultaneous fit of multiple datasets with different functions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; line='line'&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --job-name my_simultaneous_fit_%n&lt;br /&gt;
#SBATCH --time 05:00&lt;br /&gt;
#SBATCH --output test-job_%A_%a.out&lt;br /&gt;
#SBATCH --error test-job_%A_%a.err&lt;br /&gt;
#SBATCH --partition=remeis&lt;br /&gt;
#SBATCH --mem-per-cpu=100&lt;br /&gt;
srun -l my_complicated_fit.sh 2 --ntasks=2 &amp;amp; # my_complicated_fit fits 2 line centers -&amp;gt; needs 2 tasks&lt;br /&gt;
srun -l my_complicated_fit.sh 4 --ntasks=4   # my_complicated_fit fits 4 line centers -&amp;gt; needs 4 tasks&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Graphical jobs (srun.x11) ==&lt;br /&gt;
Not all applications run only on the commandline. Slurm does not support graphical applications natively but there is a wrapper script available which allocates the resources on the cluster and then provides a [[screen]] session inside a running [[SSH|SSH-session]] to the host where the resources have been allocated on. For example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@lynx:~$ srun.x11&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
results in a new shell :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@messier15:~$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which forwards the window if you start a graphical program for example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@messier15:~$ kate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
would open the text editor [[https://de.wikipedia.org/wiki/Kate_(KDE) kate]]. However, this only uses the standard resources set for the remeis partition. If you have other requirements you can also specify these in exactly the same way as for ''srun'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[12:06]weber@lynx:~$ srun.x11 --mem=2G&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
would allocate 2GB of memory for the application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Using the ''erosita'' partition (serpens)==&lt;br /&gt;
&lt;br /&gt;
If you are allowed to use the eRosita Partition, contact a SLURM admin (eg. [mailto:simon.kreuzer@fau.de simon.kreuzer@fau.de]). Once your username is added to the list of privileged users, you just have to add &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --partition=erosita&lt;br /&gt;
  #SBATCH --account=erosita&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to your jobfiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other useful commands ==&lt;br /&gt;
&lt;br /&gt;
* ''sstat'' Real-time status information of your running jobs&lt;br /&gt;
&lt;br /&gt;
* ''sattach &amp;lt;jobid.stepid&amp;gt;'' Attach to stdI/O of one of your running jobs &lt;br /&gt;
&lt;br /&gt;
* ''scancel [OPTIONS...] [job_id[_array_id][.step_id]] [job_id[_array_id][.step_id]...]'' Cancel the execution of one of your job arrays/jobs/job steps.&lt;br /&gt;
&lt;br /&gt;
* ''scontrol'' Administration tool, you can for example use this to modify the requirements of your jobs. You can for exaple show your jobs ''show jobs'' or update the time limit ''update JobId=  TimeLimit=2''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* ''smap'' graphically view information about Slurm jobs, partitions, and set configurations parameters.&lt;br /&gt;
&lt;br /&gt;
* ''sview'' graphical user interface for those who prefer clicking over typing. X-Server required. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= SLURM and MPI =&lt;br /&gt;
== About MPI ==&lt;br /&gt;
MPI (the Message Passing Interface) makes it possible to run parallel processes on CPUs of different hosts. To do so it uses TCP packets to communicate via the normal network connection. Some tasks can profit a lot of using more cores for computation.&lt;br /&gt;
At Remeis MPICH2 is used for initialisation of MPI tasks which is well supported within Slurm. The process manager is called '''pmi2''' and is set as default for srun. If an older MPI process manager is needed, for example for older MPI applications used in '''torque''', it can be set with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #SBATCH --mpi=&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
in the submission script.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  srun --mpi=list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
provides a list of supported MPI process managers. &lt;br /&gt;
&lt;br /&gt;
The implementation of MPI for SLang/ISIS is called '''SLMPI'''.&lt;br /&gt;
&lt;br /&gt;
== Best practice for MPI tasks ==&lt;br /&gt;
&lt;br /&gt;
The usage of MPI might cause continuously high network traffic especially on the host which holds the master process. Please consider this when deciding which nodes are used for the job. It's a good idea to provide servers (e.g. leo or lupus) with the ''--nodelist='' option one of which is then used to hold the master process since nobody is sitting in front of it and trying to use a browser. Additional nodes are allocated automatically by Slurm if required to fit the ''--ntasks'' / ''-n'' option.&lt;br /&gt;
&lt;br /&gt;
MPI jobs depend on all allocated nodes to be up and running properly, so I'd like to use this opportunity to remind about shutting down/rebooting PCs on your own without any permission can abort a whole MPI job.&lt;br /&gt;
&lt;br /&gt;
== Requirements and Tips ==&lt;br /&gt;
To use MPI obviously the application or function used should support MPI. Examples range from programs written in C using some MPI features and compiled with the ''mpicc'' compiler to common ISIS-functions such as ''mpi_emcee'' or ''mpi_fit_pars''.&lt;br /&gt;
&lt;br /&gt;
Keep in mind that everything in the compiled programs/scripts which is not an MPI compatible function is executed on each node on its own. For example in ISIS with ''-n 20'':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  fit_counts;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
would fit the defined function to the dataset 20 times at once. That's not very helpful so think about which tasks should be performed in the actual MPI process. Special care has to be taken if something has to be saved as a file. Consider:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  save_par(&amp;quot;test.par&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
with ''-n 20''. This would save the current fit parameters to '''test.par''' in the working directory 20 times at exactly the same time. This might be helpful if the file is needed on the scratch disk of each node, but doing this on for example ''/userdata'' can cause serious trouble. The function ''mpi_master_only'' can be used to perform a user defined task in an MPI job only once. Best way is to only submit an MPI job to Slurm which only contains actual MPI functions. If some models in ISIS are used which output something to stdout or stderr while loading these messages are also generated 20 times since it's loaded in each process individually.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
If the job is a valid MPI process then the submission works exactly like for any other job:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
  #SBATCH --job-name my_first_mpi_job&lt;br /&gt;
  #SBATCH ...&lt;br /&gt;
  #SBATCH --ntasks=20&lt;br /&gt;
  cd /my/working/dir&lt;br /&gt;
  srun /usr/bin/nice -n +15 ./my_mpi_script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It might be necessary to set a higher memory usage than for the according non MPI job since some applications try to limit the network traffic by just copying the required data to each node in the first place.&lt;br /&gt;
&lt;br /&gt;
Also make sure that if it is necessary to specify the number of child processes in the application itself, set it to the same as with the ''--ntasks'' / ''-n'' option in the submission. An example would be the ''num_slaves'' qualifier in ''mpi_emcee''.&lt;br /&gt;
&lt;br /&gt;
Note that the ''srun'' command does not contain ''mpiexec'' or ''mpirun'' which were used in older versions of MPI to launch the processes. The processes manager ''pmi2'' is built into Slurm and makes it possible that Slurm itself can initialize the network communication with the ''srun'' command only.&lt;br /&gt;
&lt;br /&gt;
Of course it's also possible to run the MPI process directly from the commandline. As an example let's have a look at the calculation of pi with the MPI program ''cpi''. The program comes with the source code of MPICH2 and is compiled in the ''check'' rule. It's located in&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /data/system/software/mpich/mpich-3.2/examples&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
To run the calculation in 10 parallel processes directly from the commandline use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  [1:11]weber@lynx:/data/system/software/mpich/mpich-3.2/examples&amp;gt; srun -n 10 ./cpi&lt;br /&gt;
  Process 0 of 10 is on aquarius&lt;br /&gt;
  Process 1 of 10 is on ara&lt;br /&gt;
  Process 6 of 10 is on asterion&lt;br /&gt;
  Process 2 of 10 is on ara&lt;br /&gt;
  Process 8 of 10 is on asterion&lt;br /&gt;
  Process 7 of 10 is on asterion&lt;br /&gt;
  Process 3 of 10 is on aranea&lt;br /&gt;
  Process 5 of 10 is on aranea&lt;br /&gt;
  Process 4 of 10 is on aranea&lt;br /&gt;
  Process 9 of 10 is on cancer&lt;br /&gt;
  pi is approximately 3.1415926544231256, Error is 0.0000000008333325&lt;br /&gt;
  wall clock time = 0.010601&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As we can see Slurm launched 10 processes distributed to aquarius, ara, asterion, aranea and cancer. Keep in mind that running MPI interactively doesn't really make sense. The best way to go is to write a submission script like explained above and let Slurm handle the initialisation.&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=GIT_--_The_Fast_Version_Control_System&amp;diff=1648</id>
		<title>GIT -- The Fast Version Control System</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=GIT_--_The_Fast_Version_Control_System&amp;diff=1648"/>
		<updated>2018-07-30T18:53:23Z</updated>

		<summary type="html">&lt;p&gt;Wilms: /* Usefull git commands */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What is a GIT Repository? (by Matthias Kühnel) =&lt;br /&gt;
&lt;br /&gt;
''A repository is a container for project files and a program, in this case 'git', handles the different versions of the files and takes care about merging of different file versions. That means many persons can work on the same project (or more precisely on the same files) simultaneously without taking care about the modifications of the other editors. So in principle each editor 'clones' the repository to his or her local computer, does some modifications and at last 'pushes' these changes back into the repository.''&lt;br /&gt;
&lt;br /&gt;
= Clone existing repositories and add changes =&lt;br /&gt;
&lt;br /&gt;
=== Get repository clone ===&lt;br /&gt;
&lt;br /&gt;
==== git clone ====&lt;br /&gt;
&lt;br /&gt;
If you want to use or contribute to a repository, you will first have to get a&lt;br /&gt;
full copy of it (called a &amp;quot;clone&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git@serpens.sternwarte.uni-erlangen.de:&amp;lt;group&amp;gt;/&amp;lt;repository&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;&amp;lt;group&amp;gt;&amp;lt;/tt&amp;gt; is the group the &amp;lt;tt&amp;gt;&amp;lt;repository&amp;gt;&amp;lt;/tt&amp;gt; belongs to&lt;br /&gt;
&amp;lt;ref&amp;gt;other repositories are distributed in the file system and can be obtained&lt;br /&gt;
via &amp;lt;code&amp;gt;git clone ssh://&amp;lt;user&amp;gt;@crux.sternwarte.uni-erlangen.de:/path/to/repo&lt;br /&gt;
&amp;lt;/code&amp;gt;(always use this over &amp;lt;code&amp;gt;file://...&amp;lt;/code&amp;gt; !)&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Add changes to the repository ===&lt;br /&gt;
&lt;br /&gt;
Before changing anything in the new clone it is good practice&amp;lt;ref&amp;gt;it might be&lt;br /&gt;
necessary if the repo is located under gitlab&amp;lt;/ref&amp;gt; to work on a new branch.&lt;br /&gt;
&lt;br /&gt;
==== git checkout ====&lt;br /&gt;
&lt;br /&gt;
To create a new branch and change to it, use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git checkout -b &amp;lt;branch-name&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose a representative branch name for the feature you want to add or change!&lt;br /&gt;
&lt;br /&gt;
==== git add / git commit====&lt;br /&gt;
&lt;br /&gt;
In this fresh and new branch you can freely change anything you like. Keep your&lt;br /&gt;
changes logically together and add/commit every time you start working on a new&lt;br /&gt;
feature.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git add &amp;lt;filename1&amp;gt; &amp;lt;filename2&amp;gt; ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
adds all named files to the staging area. &amp;lt;code&amp;gt;git status&amp;lt;/code&amp;gt; might prove&lt;br /&gt;
useful as it will list all untracked changes.&lt;br /&gt;
&lt;br /&gt;
When you have staged all necessary files, use&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to apply your changes locally. (This will ask you for a commit message. See&lt;br /&gt;
[[GIT -- The Fast Version Control System#Good commit practice|here]] for examples on how to explain what you did).&lt;br /&gt;
&lt;br /&gt;
==== git push ====&lt;br /&gt;
&lt;br /&gt;
With&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git push origin &amp;lt;branch-name&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
your changes will be added to the global repository (in the new branch).&lt;br /&gt;
If the repository is located under gitlab and you want to provide your code&lt;br /&gt;
for everyone it is probably necessary to send a merge request. (See&lt;br /&gt;
[[GIT -- The Fast Version Control System#Merge request|here]] for more details)&amp;lt;ref&amp;gt;In smaller projects it might&lt;br /&gt;
be sufficient to directly push to the master branch&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== git merge ====&lt;br /&gt;
&lt;br /&gt;
To combine (merge) the branch ''feature'' with branch ''master'' of the&lt;br /&gt;
same repository it is sufficient to call&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git fetch origin&lt;br /&gt;
git checkout master&lt;br /&gt;
git merge feature&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and probably also&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git branch -d feature&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to delete the branch in your local repository and/or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git push origin :feature&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to delete the ''feature'' branch on the remote repository&lt;br /&gt;
&lt;br /&gt;
= Create your own repository =&lt;br /&gt;
&lt;br /&gt;
The most easy way to create a new repository (empty or from existing code)&lt;br /&gt;
is to use the [http://www.sternwarte.uni-erlangen.de/gitlab gitlab] interface.&lt;br /&gt;
Here you will also find first steps you want to do before start working.&lt;br /&gt;
&lt;br /&gt;
However, if you do not want to use gitlab you can call&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git init --bare --shared&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in an empty folder. This, obviously empty, repository can then get pulled with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git sh://&amp;lt;user&amp;gt;@curx.sternwarte.uni-erlangen.de:/path/to/folder&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and following the steps to&lt;br /&gt;
[[GIT -- The Fast Version Control System#Clone existing repositories and add changes|clone a repository]] and add&lt;br /&gt;
files.&lt;br /&gt;
&lt;br /&gt;
==== Gitignore ====&lt;br /&gt;
&lt;br /&gt;
For many projects (especially latex) it is very convenient to prevent you and&lt;br /&gt;
others from adding temporary or unnecessary files. This can be done by creating&lt;br /&gt;
a file called &amp;lt;code&amp;gt;.gitignore&amp;lt;/code&amp;gt; in the root of the directory.&lt;br /&gt;
&lt;br /&gt;
Example contents of &amp;lt;code&amp;gt;.gitignore&amp;lt;/code&amp;gt; for a latex project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# git ignore file for TeX files&lt;br /&gt;
#&lt;br /&gt;
*~&lt;br /&gt;
*.aux&lt;br /&gt;
*.log&lt;br /&gt;
*.bbl&lt;br /&gt;
*.blg&lt;br /&gt;
*.bak&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example no file ending in &amp;lt;code&amp;gt;~, .aux, .log, .bbl, .blg,&amp;lt;/code&amp;gt; or&lt;br /&gt;
&amp;lt;code&amp;gt;.bak&amp;lt;/code&amp;gt; can get pushed to the repository.&lt;br /&gt;
Be aware that &amp;lt;code&amp;gt;.gitignore&amp;lt;/code&amp;gt; only prevents files from getting pushed.&lt;br /&gt;
It does not affect files that are already part of the repository. So every file&lt;br /&gt;
that is added before the &amp;lt;code&amp;gt;.gitignore&amp;lt;/code&amp;gt; was added must be explicitly&lt;br /&gt;
removed with &amp;lt;code&amp;gt;git rm &amp;lt;filename1&amp;gt; &amp;lt;filename2&amp;gt; ...&amp;lt;/code&amp;gt; (also &amp;lt;code&amp;gt;git&lt;br /&gt;
push origin master&amp;lt;/code&amp;gt; to apply it to the remote repository).&lt;br /&gt;
&lt;br /&gt;
= Configure git =&lt;br /&gt;
&lt;br /&gt;
Every time you commit changes to a repository your message is appended with&lt;br /&gt;
your name and mail address. If you have not specified a name and/or a mail&lt;br /&gt;
address you can do this (globally) with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git config --global user.name &amp;quot;John Doe&amp;quot;&lt;br /&gt;
git config --global user.email johndoe@example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will also overwrite existing entries, in case your mail address has&lt;br /&gt;
changed.&lt;br /&gt;
&lt;br /&gt;
= Gitlab =&lt;br /&gt;
&lt;br /&gt;
The gitlab interface provides a powerful overview of all projects you are&lt;br /&gt;
involved in. Also it gives you hints about what you should do with a fresh&lt;br /&gt;
repository.&lt;br /&gt;
&lt;br /&gt;
To create a new repository you first have to log in at &lt;br /&gt;
[http://www.sternwarte.uni-erlangen.de/gitlab www.sternwarte.uni-erlangen.de/gitlab]&lt;br /&gt;
&lt;br /&gt;
For creating the new repository just click on the &amp;quot;new project&amp;quot; button.&lt;br /&gt;
Following the steps you will end up with a fresh repository.&lt;br /&gt;
&lt;br /&gt;
=== Good commit practice ===&lt;br /&gt;
&lt;br /&gt;
When you contribute to a repository there are a few rules for best practice&lt;br /&gt;
which make life much more easier:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
  every time you work on a new (or old) feature&lt;br /&gt;
  do your changes in a new branch with a meaningful name.&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
  commit frequently and each time for separate changes/features that are not related to&lt;br /&gt;
  each other&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;&lt;br /&gt;
  commit messages should start with a &amp;lt;50 character summary in&lt;br /&gt;
  ''imperative mode''. This is a headline! Capitalize the first word and no periods. &lt;br /&gt;
  A more complete description of what you did, where, and how, may follow&lt;br /&gt;
  '''after''' a blank line.&lt;br /&gt;
  Example commit message:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Add awesome_feature&lt;br /&gt;
  &lt;br /&gt;
This adds the awesome feature to foo by using the functionality&lt;br /&gt;
bar. foo may now be unstable when used with out of range values.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
Although this message is very generic here, notice the ~80 character&lt;br /&gt;
line break for better appearance.&lt;br /&gt;
  &lt;br /&gt;
In general try to complete the following sentence with your summary:&lt;br /&gt;
&amp;quot;With this commit you &amp;lt;insert summary here&amp;gt;&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
In the description explain why you did something, how did you accomplish it&lt;br /&gt;
and what are the consequences.&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
Further information about good commit practice can be found on &lt;br /&gt;
[https://chris.beams.io/posts/git-commit/ this web page].&lt;br /&gt;
&lt;br /&gt;
=== Merge request ===&lt;br /&gt;
&lt;br /&gt;
When you work on a repository located on gitlab, it might be necessary to fill&lt;br /&gt;
a merge request. A merge request informs the maintainers of the repository that&lt;br /&gt;
a new feature is available and ready for publication.&lt;br /&gt;
&lt;br /&gt;
The easiest way to send a merge request is to follow the link that is given in your&lt;br /&gt;
command line when you've pushed your branch.&lt;br /&gt;
&lt;br /&gt;
On this page just select one maintainer to send the request to and check the mark for&lt;br /&gt;
&amp;quot;delete branch after merge&amp;quot;. You are not forced to delete your branch, but it is very&lt;br /&gt;
good practice. Under normal conditions when you will work any further on the same feature&lt;br /&gt;
(e.g., bug fixing) just checkout a new branch instead of keeping old ones. This will just&lt;br /&gt;
lead to an unnecessary amount of dead branches. &lt;br /&gt;
&lt;br /&gt;
= Useful git commands =&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| git log || list log overview&lt;br /&gt;
|-&lt;br /&gt;
| git log --stat || list commits with stats&lt;br /&gt;
|-&lt;br /&gt;
| git log --oneline || display only first line of commit messages&lt;br /&gt;
|-&lt;br /&gt;
| git branch || list local branches&lt;br /&gt;
|-&lt;br /&gt;
| git branch -v || list local branches with more information&lt;br /&gt;
|-&lt;br /&gt;
| git branch -d &amp;lt;branch-name&amp;gt; || delete branch &amp;lt;branch-name&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| git branch &amp;lt;branch-name&amp;gt; || add branch &amp;lt;branch-name&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| git remote || list repository urls&lt;br /&gt;
|-&lt;br /&gt;
| git remote rename &amp;lt;old&amp;gt; &amp;lt;new&amp;gt; || rename &amp;lt;old&amp;gt; url to &amp;lt;new&amp;gt; url&lt;br /&gt;
|-&lt;br /&gt;
| git remote add &amp;lt;url-name&amp;gt; &amp;lt;address&amp;gt; || add new remote address under &amp;lt;url-name&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| git push &amp;lt;url-name&amp;gt; &amp;lt;branch-name&amp;gt; || push &amp;lt;branch-name&amp;gt; to &amp;lt;url-name&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| git push &amp;lt;url-name&amp;gt; :&amp;lt;branch-name&amp;gt; || delete &amp;lt;branch-name&amp;gt; from remote &amp;lt;url-name&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| git status || list untracked files/changes&lt;br /&gt;
|-&lt;br /&gt;
| git add &amp;lt;filename&amp;gt; || add &amp;lt;filename&amp;gt; to staging&lt;br /&gt;
|-&lt;br /&gt;
| git commit || commit staged changes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- add many more here --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More information about the different tools of git can be found in the man page&lt;br /&gt;
&amp;lt;code&amp;gt;git &amp;lt;tool&amp;gt; --help&amp;lt;/code&amp;gt; or [https://git-scm.com/docs here].&lt;br /&gt;
&lt;br /&gt;
= git and latexdiff =&lt;br /&gt;
Find the version you want to compare your current document with via&lt;br /&gt;
&amp;lt;pre&amp;gt; git log &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produce a pdf showing the differences between the two files via&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
latexdiff-vc --git --flatten -r long_weird_number_of_the_older_commit --pdf --disable-citation-markup file.tex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No need to checkout the older version! See latexdiff documentation for further options.&lt;br /&gt;
&lt;br /&gt;
= Notes =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- = Existing Repositories: How to clone and commit changes =&lt;br /&gt;
&lt;br /&gt;
''The following text is copied from an e-mail from Joern concerning the software scripts of the Remeis observatory. More information one these scripts can be found at [[Software at the Remeis-Observatory]].''&lt;br /&gt;
&lt;br /&gt;
== Get the files ==&lt;br /&gt;
&lt;br /&gt;
If you want to modify scripts, you will first have to get a full copy&lt;br /&gt;
of the repository (called a &amp;quot;clone&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
  git clone ssh://account@crux.sternwarte.uni-erlangen.de/data/git/aitlib&lt;br /&gt;
&lt;br /&gt;
(same for intscripts, xmmscripts, xtescripts, xspecscripts,&lt;br /&gt;
isisscripts, cyclo, fpipe) where account is your account at the&lt;br /&gt;
Sternwarte. &lt;br /&gt;
&lt;br /&gt;
Please use the above command EVEN IF YOU ARE WORKING locally in&lt;br /&gt;
Bamberg/Erlangen. Do NOT do a clone with the file://-syntax of git to&lt;br /&gt;
allow you to work on several machines (since the git push command will&lt;br /&gt;
not work properly). Just forget that file://... is an allowed git URL.&lt;br /&gt;
&lt;br /&gt;
== Committing your changes ==&lt;br /&gt;
&lt;br /&gt;
After doing the clone, edit the scripts and check them. In case you edit the isisscripts: Do not forget to &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; the isisscripts, i.e. compile your changes into the overall &amp;lt;code&amp;gt;isisscripts.sl&amp;lt;/code&amp;gt; by typing&lt;br /&gt;
  make&lt;br /&gt;
in the &amp;lt;code&amp;gt;isisscripts/&amp;lt;/code&amp;gt; directory.  &lt;br /&gt;
You should usually do your changes in smallish steps, i.e., applying a few changes,&lt;br /&gt;
checking them, and then committing them to the repository as follows: &lt;br /&gt;
&lt;br /&gt;
  git commit filename&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
  git commit -a &lt;br /&gt;
&lt;br /&gt;
(the last if you've made changes to many files). This command will ask&lt;br /&gt;
you to enter information for the change log.&lt;br /&gt;
&lt;br /&gt;
CONTRARY to CVS, a commit does not yet make your changes available to&lt;br /&gt;
others. This is advantageous, because it allows you to do commits&lt;br /&gt;
locally while you're developing a code, and then go back to an older&lt;br /&gt;
version once you realize that you've made a mistake. However, let's&lt;br /&gt;
assume that you've programmed something that is working and you want&lt;br /&gt;
to make it available to everybody. In this case, commit everything as&lt;br /&gt;
described above and then do a &lt;br /&gt;
&lt;br /&gt;
  git push&lt;br /&gt;
&lt;br /&gt;
(do NOT forget this last command).&lt;br /&gt;
&lt;br /&gt;
After you have committed and pushed your changes, WE STRONGLY&lt;br /&gt;
RECOMMEND THAT YOU REMOVE YOUR CLONED REPOSITORY (rm -r repo). The&lt;br /&gt;
reason is that experience shows that people often start working on&lt;br /&gt;
their &amp;quot;private&amp;quot; versions of the scripts and then either forget to&lt;br /&gt;
commit their changes (=nobody else gets access to them) OR they forget&lt;br /&gt;
to do regular updates of their local clones and then run into problems&lt;br /&gt;
that have already been fixed in the official repository. Access to the&lt;br /&gt;
current version of the scripts is better obtained using the approach&lt;br /&gt;
outlined below (and implemented on the Remeis machines, for example).&lt;br /&gt;
&lt;br /&gt;
== Other useful commands ==&lt;br /&gt;
* assuming you've already cloned the repository and you want to update it to the newest version, use &amp;lt;pre&amp;gt;git pull&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* to obtain a change log of the repository &amp;lt;pre&amp;gt;git log&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* to obtain a change log for one file &amp;lt;pre&amp;gt;git log filename&amp;lt;/pre&amp;gt; (which will work pretty much for all files, but for some reason does not work for the intscripts; note that even for the intscripts the full change log is still available and you can still check out older versions of the script should you desire to do so)&lt;br /&gt;
&lt;br /&gt;
* to tag one of the commits with a tagname, e.g., to mark the submitted version of your paper as submitted, get the commit id from &amp;lt;code&amp;gt;git log&amp;lt;/code&amp;gt; and do &amp;lt;pre&amp;gt;git tag 'tagname' id&amp;lt;/pre&amp;gt; where tagname only needs quotes if it contains, e.g., spaces&lt;br /&gt;
&lt;br /&gt;
* to push the tag&amp;lt;pre&amp;gt;git push --tags&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* optimize the local git repository &amp;lt;pre&amp;gt;git gc --aggressive&amp;lt;/pre&amp;gt; this will optimize the tree of stored local changes, removing intermediate data that are not needed anymore. This makes your local repository dramatically faster and can save significant space. You should run this every now and then (on very active directories probably once a week). &lt;br /&gt;
  &lt;br /&gt;
* find out where the repository originally came from before it was cloned:&amp;lt;pre&amp;gt;git remote -v&amp;lt;/pre&amp;gt;or for a little more information&amp;lt;pre&amp;gt;git remote show origin&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* showing the differences between the old and new file:&amp;lt;pre&amp;gt;diff -u new_file old_file&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Create your own repository =&lt;br /&gt;
&lt;br /&gt;
'' The following entry is from an email by Matthias Kühnel to Jieun (with additional comments added afterwards) and was intended to explain '''how to create a repository in order to edit a paper together using GIT'''.''&lt;br /&gt;
&lt;br /&gt;
Now we'll create a git-repository for your paper: in your Remeis home&lt;br /&gt;
directory create a directory where to store all your repositories in,&lt;br /&gt;
such as ~/git (at the moment we'll create only one ;-)). Create a&lt;br /&gt;
subdirectory for your paper in there, ~/git/choi2011a for example.&lt;br /&gt;
Change into that directory and create an empty repository by&lt;br /&gt;
   git init --bare --shared&lt;br /&gt;
You should get a message like &amp;quot;Initialized empty Git repository in&lt;br /&gt;
/home/choi/git/choi2011a/&amp;quot;. Add &amp;lt;code&amp;gt;--shared&amp;lt;/code&amp;gt; only if everyone in your group should be able to &lt;br /&gt;
commit changes.&lt;br /&gt;
All in all, this should create a structure of&lt;br /&gt;
files and subdirectories in your repository directory. Later your files&lt;br /&gt;
will be hidden somewhere in this structure (I'm not sure where to be&lt;br /&gt;
honest). The thing is that a bare repository only contains&lt;br /&gt;
modifications, that means no whole file, only different pieces depending&lt;br /&gt;
on the file version.&lt;br /&gt;
Now you have to modify the 'config' file of the repository (//note:// you should not need the following modifications if you initialized the repository with the &amp;lt;code&amp;gt;--shared&amp;lt;/code&amp;gt; option), for example&lt;br /&gt;
   /home/choi/git/choi2011a/config&lt;br /&gt;
The file should look like&amp;lt;pre&amp;gt;&lt;br /&gt;
   [core]&lt;br /&gt;
        repositoryformatversion = 0&lt;br /&gt;
        filemode = true&lt;br /&gt;
        bare = true&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your repository is now ready to be used, but empty. So let's add some&lt;br /&gt;
files into it!&lt;br /&gt;
&lt;br /&gt;
Create an empty directory somewhere that will contain your paper. We now clone your&lt;br /&gt;
(empty) repository into your source directory:&lt;br /&gt;
   git clone crux:/home/choi/git/choi2011a .&lt;br /&gt;
Note that we clone from machine &amp;lt;code&amp;gt;crux&amp;lt;/code&amp;gt;, even if we are working on that machine. This approach will make your life easier if you are working on multiple machines in the Remeis cluster. Do not forget the trailing dot!&lt;br /&gt;
&lt;br /&gt;
Now your directory is a clone of the repository. Copy all files and subdirectories that you would like to be part of the repository into the directory and then add these files to git&lt;br /&gt;
  git add filenames&lt;br /&gt;
where filenames can include (relative) paths to files somewhere in the directory tree of your repository.&lt;br /&gt;
&lt;br /&gt;
A general rule for tex repositories for papers is to only add the source code and&lt;br /&gt;
*no* compiled or auxiliary files. That means, just add the .tex file,&lt;br /&gt;
any used styles (.sty) and images (.pdf, .ps, .eps or whatever). If you have&lt;br /&gt;
also isis scripts (.sl) which creates some plots, you may add them also.&lt;br /&gt;
Once you have added all necessary files, you have to 'commit' the changes:&lt;br /&gt;
  git commit -a&lt;br /&gt;
Now your default editor should open automatically, where you have to&lt;br /&gt;
enter a comment describing the changes (attention: the default editor should be set first in the ~/.cshrc, see [[csh:start|TC shell]]). This&lt;br /&gt;
comment will be put into the log. The editor also shows a list of files&lt;br /&gt;
which will be added/modified/removed. Please note that this list is for&lt;br /&gt;
your information *only*. Any changes to the list have no effect!&lt;br /&gt;
After you have entered a comment, quick save the file (if you use jed&lt;br /&gt;
Ctrl-X-S) and exit the editor (Ctrl-X-C). You should see something like:&amp;lt;pre&amp;gt;&lt;br /&gt;
  [master 5e91497] your_entered_comment&lt;br /&gt;
   1_or_more files changed, 3341_or_any_other_number insertions(+), 0&lt;br /&gt;
   deletions(-)&lt;br /&gt;
   create mode 100644 a_file_you_have_added&lt;br /&gt;
   ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
In order to avoid being prompted that unnecessary files such as editor backup files (e.g., filenames ending in a tilde or with .bak and other unnecessary files are not part of the repository, you can generate files called &amp;lt;code&amp;gt;.gitignore&amp;lt;/code&amp;gt; in your git directories. These files contain descriptions of files which should not be in the repository. a &amp;lt;code&amp;gt;.gitignore&amp;lt;/code&amp;gt; file is valid in the current directory and all of its subdirectories. These may contain further &amp;lt;code&amp;gt;.gitignore&amp;lt;/code&amp;gt;-files. A good &amp;lt;code&amp;gt;.gitignore&amp;lt;/code&amp;gt; for a paper would be:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# git ignore file for TeX files&lt;br /&gt;
#&lt;br /&gt;
*~&lt;br /&gt;
*.aux&lt;br /&gt;
*.log&lt;br /&gt;
*.bbl&lt;br /&gt;
*.blg&lt;br /&gt;
*.bak&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that after creating the file you will have to add it to the repository! Files that were checked in before the .gitignore exists are not affected by adding the .gitignore, even if the filename is explicitly written down there. In this case, do a git rm [filename] and commit, and afterwards the file will not be checked in again.&lt;br /&gt;
&lt;br /&gt;
That's a summary of the changes, which will be put into the repository&lt;br /&gt;
once you have 'push'ed them:&lt;br /&gt;
   git push origin master&lt;br /&gt;
Please note, that the usual command is&lt;br /&gt;
   git push&lt;br /&gt;
without the origin-master-stuff, which has to be done only once if an&lt;br /&gt;
empty repository was created!&lt;br /&gt;
If you modify previously added files later, you don't have to add them&lt;br /&gt;
again, of course. Instead skip the adding command and 'commit' and&lt;br /&gt;
'push' the changes directly.&lt;br /&gt;
&lt;br /&gt;
Everybody knowing the path to your repository can now clone it, edit&lt;br /&gt;
files and push changes. To update your local copy with the repository&lt;br /&gt;
(i.e. to get the changes of somebody else) use&lt;br /&gt;
   git pull&lt;br /&gt;
&lt;br /&gt;
= Committing only parts of the modifications =&lt;br /&gt;
''A further functionality Manfred finds particularly useful.''&lt;br /&gt;
&lt;br /&gt;
It has been mentioned above that one can only commit selected files with&lt;br /&gt;
&lt;br /&gt;
  git add file1 [file2 ...]  &amp;amp;&amp;amp;  git commit&lt;br /&gt;
&lt;br /&gt;
(Do not use &amp;lt;code&amp;gt;git commit -a&amp;lt;/code&amp;gt; in this case. If you really want to commit all changes, there is no need to first &amp;lt;code&amp;gt;git add&amp;lt;/code&amp;gt; the files for this next commit.) &lt;br /&gt;
&lt;br /&gt;
It is also possible to &amp;lt;code&amp;gt;git add&amp;lt;/code&amp;gt; only parts of the modifications, namely with the &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;(nteractive) Option. When I run&lt;br /&gt;
  &lt;br /&gt;
  git add -i file1 [file2 ...]&lt;br /&gt;
&lt;br /&gt;
and press &amp;lt;code&amp;gt;p&amp;lt;/code&amp;gt; for (patch), 1 for the first file, and then hit [Return], I can decide for every changed block (&amp;quot;hunk&amp;quot;) in file 1 whether (&amp;lt;code&amp;gt;y&amp;lt;/code&amp;gt;) I want to add (&amp;quot;stage&amp;quot;) this change to the next commit or not (&amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt;). If I want to commit only part of what git considers a &amp;quot;hunk&amp;quot; in first place, I can press &amp;lt;code&amp;gt;s&amp;lt;/code&amp;gt; in order to split the current hunk. When I'm done with file 1 or when I quit with &amp;lt;code&amp;gt;q&amp;lt;/code&amp;gt;, I can start over from the beginning, e.g. patching the next file.&lt;br /&gt;
&lt;br /&gt;
After the desired hunks have been staged to the index, you run&lt;br /&gt;
&lt;br /&gt;
   git commit&lt;br /&gt;
&lt;br /&gt;
as usual, without &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
= GIT Config =&lt;br /&gt;
&lt;br /&gt;
Make sure to update your name and e-mail-address in your home under ''.gitconfig'' like&amp;lt;pre&amp;gt;&lt;br /&gt;
  [user]&lt;br /&gt;
        email = matthias.kuehnel@sternwarte.uni-erlangen.de&lt;br /&gt;
        name = Matthias Kuehnel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:GIT]]&lt;/div&gt;</summary>
		<author><name>Wilms</name></author>
	</entry>
</feed>