Skip to content

Commit

Permalink
Changing default footprint_edge_threshold value
Browse files Browse the repository at this point in the history
  • Loading branch information
astronomerritt committed Oct 17, 2024
1 parent 571956a commit 533df63
Show file tree
Hide file tree
Showing 14 changed files with 483 additions and 542 deletions.
9 changes: 5 additions & 4 deletions benchmarks/test_bench_config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ phase_function = HG
camera_model = footprint

# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configurationn file if not using the default built-in LSSTCam detector
# configuration or not using the circle footprint model.
# detector configuration file if not using the default built-in LSSTCam detector
# configuration for the actual camera footprint.
# footprint_path= ./data/detectors_corners.csv

# Fraction of detector surface area which contains CCD -- simulates chip gaps
Expand All @@ -97,8 +97,9 @@ camera_model = footprint
# circle_radius = 1.75

# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object.
# footprint_edge_threshold = 0.0001
# at which we will not correctly extract an object. By default this is 10px or 2 arcseconds.
# Comment out or do not include if using footprint camera model.
footprint_edge_threshold = 2.


[FADINGFUNCTION]
Expand Down
9 changes: 5 additions & 4 deletions src/sorcha/data/demo/sorcha_config_demo.ini
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ phase_function = HG
camera_model = footprint

# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configurationn file if not using the default built-in LSSTCam detector
# configuration or not using the circle footprint model.
# detector configuration file if not using the default built-in LSSTCam detector
# configuration for the actual camera footprint.
# footprint_path= ./data/detectors_corners.csv

# Fraction of detector surface area which contains CCD -- simulates chip gaps
Expand All @@ -100,8 +100,9 @@ camera_model = footprint
# circle_radius = 1.75

# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object.
# footprint_edge_threshold = 0.0001
# at which we will not correctly extract an object. By default this is 10px or 2 arcseconds.
# Comment out or do not include if using footprint camera model.
footprint_edge_threshold = 2.


[FADINGFUNCTION]
Expand Down
9 changes: 5 additions & 4 deletions src/sorcha/data/survey_setups/Rubin_full_footprint.ini
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,13 @@ phase_function = HG
camera_model = footprint

# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object.
# footprint_edge_threshold = 0.0001
# at which we will not correctly extract an object. By default this is 10px or 2 arcseconds.
# Comment out or do not include if using footprint camera model.
footprint_edge_threshold = 2.

# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configurationn file if not using the default built-in LSSTCam detector
# configuration or not using the circle footprint model.
# detector configuration file if not using the default built-in LSSTCam detector
# configuration for the actual camera footprint.
# footprint_path= ./data/detectors_corners.csv


Expand Down
18 changes: 5 additions & 13 deletions src/sorcha/data/survey_setups/Rubin_known_object_prediction.ini
Original file line number Diff line number Diff line change
Expand Up @@ -77,22 +77,14 @@ phase_function = HG
camera_model = footprint

# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configurationn file if not using the default built-in LSSTCam detector
# configuration or not using the circle footprint model.
# detector configuration file if not using the default built-in LSSTCam detector
# configuration for the actual camera footprint.
# footprint_path= ./data/detectors_corners.csv

# Fraction of detector surface area which contains CCD -- simulates chip gaps
# for OIF output. Comment out if using camera footprint.
# Default: 0.9.
# fill_factor = 0.9

# Radius of the circle for a circular footprint (in degrees). Float.
# Comment out or do not include if using footprint camera model.
# circle_radius = 1.75

# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object.
# footprint_edge_threshold = 0.0001
# at which we will not correctly extract an object. By default this is 10px or 2 arcseconds.
# Comment out or do not include if using footprint camera model.
footprint_edge_threshold = 2.


[FADINGFUNCTION]
Expand Down
22 changes: 7 additions & 15 deletions tests/data/PPConfig_goldens_test.ini
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,15 @@ phase_function = HG
# Options: circle, footprint.
camera_model = footprint

# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configurationn file if not using the default built-in LSSTCam detector
# configuration or not using the circle footprint model.
# footprint_path= ./data/detectors_corners.csv

# Fraction of detector surface area which contains CCD -- simulates chip gaps
# for OIF output. Comment out if using camera footprint.
# Default: 0.9.
# fill_factor = 0.9

# Radius of the circle for a circular footprint (in degrees). Float.
# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object. By default this is 10px or 2 arcseconds.
# Comment out or do not include if using footprint camera model.
# circle_radius = 1.75
footprint_edge_threshold = 2.

# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object.
# footprint_edge_threshold = 0.0001
# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configuration file if not using the default built-in LSSTCam detector
# configuration for the actual camera footprint.
# footprint_path= ./data/detectors_corners.csv


[FADINGFUNCTION]
Expand Down
22 changes: 7 additions & 15 deletions tests/data/PPConfig_test_chunked.ini
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,15 @@ phase_function = HG
# Options: circle, footprint.
camera_model = footprint

# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configurationn file if not using the default built-in LSSTCam detector
# configuration or not using the circle footprint model.
# footprint_path= ./data/detectors_corners.csv

# Fraction of detector surface area which contains CCD -- simulates chip gaps
# for OIF output. Comment out if using camera footprint.
# Default: 0.9.
# fill_factor = 0.9

# Radius of the circle for a circular footprint (in degrees). Float.
# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object. By default this is 10px or 2 arcseconds.
# Comment out or do not include if using footprint camera model.
# circle_radius = 1.75
footprint_edge_threshold = 2.

# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object.
# footprint_edge_threshold = 0.0001
# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configuration file if not using the default built-in LSSTCam detector
# configuration for the actual camera footprint.
# footprint_path= ./data/detectors_corners.csv


[FADINGFUNCTION]
Expand Down
22 changes: 7 additions & 15 deletions tests/data/PPConfig_test_unchunked.ini
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,15 @@ phase_function = HG
# Options: circle, footprint.
camera_model = footprint

# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configurationn file if not using the default built-in LSSTCam detector
# configuration or not using the circle footprint model.
# footprint_path= ./data/detectors_corners.csv

# Fraction of detector surface area which contains CCD -- simulates chip gaps
# for OIF output. Comment out if using camera footprint.
# Default: 0.9.
# fill_factor = 0.9

# Radius of the circle for a circular footprint (in degrees). Float.
# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object. By default this is 10px or 2 arcseconds.
# Comment out or do not include if using footprint camera model.
# circle_radius = 1.75
footprint_edge_threshold = 2.

# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object.
# footprint_edge_threshold = 0.0001
# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configuration file if not using the default built-in LSSTCam detector
# configuration for the actual camera footprint.
# footprint_path= ./data/detectors_corners.csv


[FADINGFUNCTION]
Expand Down
22 changes: 7 additions & 15 deletions tests/data/config_for_ephemeris_unit_test.ini
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,15 @@ phase_function = HG
# Options: circle, footprint.
camera_model = footprint

# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configurationn file if not using the default built-in LSSTCam detector
# configuration or not using the circle footprint model.
# footprint_path= ./data/detectors_corners.csv

# Fraction of detector surface area which contains CCD -- simulates chip gaps
# for OIF output. Comment out if using camera footprint.
# Default: 0.9.
# fill_factor = 0.9

# Radius of the circle for a circular footprint (in degrees). Float.
# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object. By default this is 10px or 2 arcseconds.
# Comment out or do not include if using footprint camera model.
# circle_radius = 1.75
footprint_edge_threshold = 2.

# The distance from the edge of a detector (in arcseconds on the focal plane)
# at which we will not correctly extract an object.
# footprint_edge_threshold = 0.0001
# Path to camera footprint file. Uncomment to provide a path to the desired camera
# detector configuration file if not using the default built-in LSSTCam detector
# configuration for the actual camera footprint.
# footprint_path= ./data/detectors_corners.csv


[FADINGFUNCTION]
Expand Down
Loading

0 comments on commit 533df63

Please sign in to comment.