.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_example_settings.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_plot_example_settings.py: Example Photometry Settings =========================== A sample set of photometry settings. .. GENERATED FROM PYTHON SOURCE LINES 7-12 .. rst-class:: sphx-glr-script-out .. code-block:: none { "camera": { "name": "test camera", "data_unit": "adu", "gain": "2.0 electron / adu", "read_noise": "10.0 electron", "dark_current": "0.01 electron / s", "pixel_scale": "0.563 arcsec / pix", "max_data_value": "50000.0 adu" }, "observatory": { "name": "test observatory", "latitude": "45d00m00s", "longitude": "43d00m00s", "elevation": "311.0 m", "AAVSO_code": "test", "TESS_telescope_code": "tess test" }, "passband_map": { "name": "Example map", "your_filter_names_to_aavso": [ { "your_filter_name": "V", "aavso_filter_name": "V" }, { "your_filter_name": "B", "aavso_filter_name": "B" }, { "your_filter_name": "rp", "aavso_filter_name": "SR" } ] }, "photometry_apertures": { "variable_aperture": false, "radius": 5.0, "gap": 10.0, "annulus_width": 15.0, "fwhm_estimate": 3.2 }, "source_location_settings": { "source_list_file": "test.ecsv", "use_coordinates": "pixel", "shift_tolerance": 5.0 }, "photometry_optional_settings": { "include_dig_noise": false, "reject_too_close": false, "reject_background_outliers": false, "fwhm_method": "fit", "partial_pixel_method": "center" }, "logging_settings": { "logfile": "test.log", "console_log": false } } | .. code-block:: Python from stellarphot.settings import photometry_settings_example model_json = photometry_settings_example.model_dump_json(indent=4) print(model_json) .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.002 seconds) .. _sphx_glr_download_auto_examples_plot_example_settings.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_example_settings.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_example_settings.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_example_settings.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_