{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## Observing from different sites\n", "Since observations are depending on the location, a `telescopes` module is available to the user. \n", "\n", "To print all available telescopes:" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ " \u001b[33mPRINT \u001b[0m | \u001b[33mPrinting available telescopes:\u001b[0m\n", " \u001b[32mINFO \u001b[0m | \u001b[32mUse the first name to access the telescope object.\u001b[0m\n", " \u001b[32mINFO \u001b[0m | \u001b[32m e.g., to access the VLT telescope, use \"VLT\" instead of \"Very Large Telescope (VLT)\"\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mVLT_4UT : Very Large Telescope (VLT) 4-UT | 16.4 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['ESPRESSO_4UT']\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mVLT : Very Large Telescope (VLT) | 8.2 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['ESPRESSO', 'UVES']\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mGeminiNorth : Gemini North Telescope | 8.1 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['MAROON-X']\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mLowellDiscovery : Lowell Discovery Telescope | 4.3 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['EXPRES']\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mLaSilla3_6m : ESO 3.6m Telescope (La Silla) | 3.6 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['HARPS', 'NIRPS']\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mCFHT : Canada-France-Hawaii Telescope (CFHT) | 3.6 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['SPIRou']\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mTNG : Telescopio Nazionale Galileo (TNG) | 3.58 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['GIANO', 'HARPS-N']\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mCalarAlto : Calar Alto Observatory | 3.5 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['CARMENES']\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mHauteProvence : Haute-Provence Observatory | 1.93 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['SOPHIE']\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mSwissEuler : Swiss Euler Telescope | 1.2 m | Operational: True\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m ['CORALIE']\u001b[0m\n" ] } ], "source": [ "import PTO.telescopes.telescopes as tel\n", "tel.print_all_telescopes()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Currently, only few telescopes are available. You can see that the order is based on telescope size.\n", "\n", "If your telescope is not available, please raise an Issue on GitHub to add it to the package. You can define a custom telescope by using the `Telescope` class" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "import astropy.coordinates as coord\n", "custom_telescope = tel.Telescope(\n", " name= \"Custom Telescope\",\n", " location= coord.EarthLocation.of_site('Paranal'),\n", " instruments= [],\n", " operational= True,\n", ")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "You might have noticed there is an instrument list for each telescope. Currently, this is mostly placeholder, however it will be expanded to create simulation of datasets. The instruments involve only high-resolution spectrographs at this moment, but different types of observations might be added on request. Available instruments (and their modes) can be accessed." ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mCARMENES: CARMENES\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m VIS: R= 94600 | Simulator: False | Simultaneous to: with NIR CARMENES mode\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m NIR: R= 80400 | Simulator: False | Simultaneous to: with VIS CARMENES mode\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mCORALIE: CORALIE\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 50000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mESPRESSO: ESPRESSO\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 134000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m UHR: R= 190000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mESPRESSO_4UT: ESPRESSO_4UT\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m MR: R= 70000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mEXPRES: EXPRES\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 137000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mGIANO: GIANO\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 50000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m LR: R= 25000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mHARPS: HARPS\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 115000 | Simulator: False | Simultaneous to: with NIRPS\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mHARPS_N: HARPS-N\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 115000 | Simulator: False | Simultaneous to: with_GIANO\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mMAROON_X: MAROON-X\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 80000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m UHR: R= 100000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mNIRPS: NIRPS\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 100000 | Simulator: False | Simultaneous to: with HARPS\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m MR: R= 75000 | Simulator: False | Simultaneous to: with HARPS\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mSOPHIE: SOPHIE\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 75000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HE: R= 40000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mSPIROU: SPIRou\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 70000 | Simulator: False | Simultaneous to: None\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m=========================\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mUVES: UVES\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33mModes:\u001b[0m\n", " \u001b[33mPRINT \u001b[0m | \u001b[33m HR: R= 75000.0 | Simulator: False | Simultaneous to: None\u001b[0m\n" ] } ], "source": [ "import PTO.telescopes.instruments as inst\n", "inst.print_all_spectrographs()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "As you can see, multiple spectrographs are already available. However, no additional functionality is currently implemenented. Soon, a simulator for ESPRESSO will be introduced, which will allow user to simulate a dataset for a transit observations as proposed by `PTO`.\n", "\n" ] } ], "metadata": { "kernelspec": { "display_name": ".venv", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.12" } }, "nbformat": 4, "nbformat_minor": 2 }