Note
Go to the end to download the full example code.
Example Photometry Settings#
A sample set of photometry settings.
{
"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
}
}
from stellarphot.settings import photometry_settings_example
model_json = photometry_settings_example.model_dump_json(indent=4)
print(model_json)
Total running time of the script: (0 minutes 0.002 seconds)