satsim


Namesatsim JSON
Version 0.20.4 PyPI version JSON
download
home_pagehttps://github.com/ssc-ai/satsim
SummarySatellite observation and scene simulator.
upload_time2025-07-14 19:43:57
maintainerNone
docs_urlNone
authorAlex Cabello
requires_pythonNone
licenseNone
keywords satsim
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            SatSim
======

**SatSim source code was developed under contract with AFRL/RDSM, and is approved for public release under Public Affairs release approval
#AFRL-2022-1116.**

SatSim is a high fidelity space surveillance optical scene simulation environment built on top of TensorFlow to utilize the speed of CUDA GPUs. SatSim is capable of generating synthetic observation data for SatNet, a deep learning platform for satellite object detection, and can provide users with nearly limitless labeled data. SatSim allows for systematic changes in the synthetic data, such as object brightness and star drift rate. The synthetic data is useful for training deep learning models. The synthetic data can also be used for model evaluation, characterizing performance metrics such as false alarm rate and minimum detectable target (MDT).

![SatSim Example](satsim.jpg)

Documentation
-------------

* [Installation](docs/installation.rst)
* [Usage](docs/usage.rst)
* [Developers](CONTRIBUTING.rst#getting-started)

Versions
--------

* [History](HISTORY.md)

History
=======

0.20.4
---------------------

* Update analytical observation for specified observation frames. `analytical_obs_frame` can be `barycentric`, `geocentric`, or `observer`.


0.20.3
---------------------

* Fix star stellar aberration.
* Add simulation configuration options for deflection, light transit, and stellar aberration.


0.20.2
---------------------

* Refactor keras_tensor import logic to support multiple TensorFlow/Keras versions.
* Refactor great circle into separate module.
* Reorganize CLI tests to run first to prevent TensorFlow configuration errors.


0.20.1
---------------------

* Refactor two-body propagation to remove `poliastro` dependency.
* Add object identification fields to analytical observations.


0.20.0
---------------------

* Add analytical observations with noise modeling capability.
* Fix electronic noise casting issue in add_read_noise function.


0.19.4
---------------------

* Fix observer altitude units.
* Fix apparent position of stars to include stellar aberration.


0.19.3
---------------------

* Add object ID to FITS and annotations.


0.19.2
---------------------

* Add `rate-sidereal` track mode. This mode takes n - 1 rate track frames and the last frame in sidereal tracking mode.


0.19.1
---------------------

* Add `TRKMODE` to fits header.


0.19.0
---------------------

* Add lambertian sphere brightness model for objects. Set object key `model` `mode` to `lambertian_sphere` and set `albedo` and `size` (meters) parameters. For 2D simulations, `distance` (km) and `phase_angle` (degrees) parameters must also be specified.


0.18.0
---------------------

* Add turbulent atmosphere to POPPY PSF generation. Set with psf option `turbulent_atmosphere` and sim option `psf_sample_frequency`.
* Add star and object segmentation annotation. Set sim option `save_segmentation` to `true` and `star_annotation_threshold` to limit stars annotated.


0.17.1
---------------------

* Copy useful TensorFlow Addon (TFA) functions into `tfa` as the TFA project is no longer maintained.
* Copy tests.


0.17.0
---------------------

* Add JSON schema definitions. See `schema/v1/Document.json` for root schema file.
* Add observation object type.
* Add support for cropped sensors.
* Add altitude to site object. Set site `alt` parameter in km. Default is 0.


0.16.0
---------------------

* Add option to annotate stars. Set sim option `star_annotation_threshold` to the minimum star brightness magnitude or `false` to disable. Disabled by default.
* Add option to show annotated stars in annotated images. Set sim option `show_star_boxes` to `true` to enable.


0.15.1
---------------------

* Remove clipping of negative values in ground truth files by default.
* Fix missing dependencies for ground truth file generation.


0.15.0
---------------------

* Add support to save ground truth image data to the Annotations directory. Set sim option `save_ground_truth` to `true`.
* Add support for running on CPU with no GPU acceleration.
* Add CZML options for sensor visualization and object billboard image.


0.14.0
---------------------

* Add vector math library.
* Add CZML output for sensor visualization.
* Fix objects not updating properly when image renderer is off.


0.13.1
---------------------

* Add argument to set folder name in `gen_multi`.
* Add environment variable, `SATSIM_SKYFIELD_LOAD_DIR`, to specify location of Skyfield ephemeris files.
* Fix incorrect CZML output when image renderer is off.


0.13.0
---------------------

* Add ephemeris objects that are propagated with the Lagrange interpolator.
* Add Cesium CZML output. Set sim option `save_czml` to `false` to disable.
* Add CSV text file star catalog loader. This feature is useful for small catalogs such as Hipparcos and simulating wide FOV sensors.
* Add multiplier and clipping for radial cosine.
* Add option to skip image rendering. Set sim option `mode` to `none` to bypass image rendering.
* Update interfaces for newest version of Skyfield, Poliastro, POPPY, and AstroPy.
* Fix star renderer issue removing stars in field of view for non-square arrays.


0.12.0
---------------------

* Add augmentation of SatNet `tf.data.Dataset`. This feature allows injecting synthetic targets into real data during training.
* Add FFT convolution to `add_patch` sprite render and `scatter_shift` image augmenter for speed improvement.
* Add cache last PSF FFT to `fftconv2p` for speed improvement for static PSFs.
* Add two-body state vector as a trackable target.
* Add moon and sun model and misc methods to calculate phase angle and target brightness.


0.11.0
---------------------

* Add support to render star motion with FFT. Set sim option `star_render_mode` to `fft`.
* Add option to sample photon noise multiple times. Set sim option `num_shot_noise_samples` to integer number.
* Add support to render a satellite as a sprite. Set `model` option in obs.
* Add support to load and augment sprite model with `$pipeline` operator.
* Add cropped POPPY PSF generation.
* Fix GreatCircle propagator tracking offset.
* Fix runtime exception when site and track_mode are not defined.
* Add TensorFlow 2.6 and update TensorFlow 2.2 and 2.4 Docker build file.


0.10.0
---------------------

* Add support for piecewise rendering. Set sim option `render_size` to enable. For example, [256, 256].
* Add `fixed` tracking mode with mount azimuth and elevation.
* Add great circle propagator for targets.
* Add in-memory image generation. See generator function `image_generator`.
* Fix missing stars when FOV crosses zero degree RA.
* Add curved targets using bezier curve raster. Enabled by default. Set sim option `num_target_samples` to 2 to enable linear raster.
* Add LRU cache to star catalog reader.
* Add option to turn off SNR calculation. Set sim option `calculate_snr` to false will render targets and stars together.
* Handle unstable SGP4 TLEs.
* Add TensorFlow 2.4 Docker build file.
* Add debug output for pristine images of targets and stars.


0.9.1
---------------------

* Calculate POPPY input wavefront resolution to avoid PSF aliasing.
* Add support for additional FITS image data types (`int16`, `uint16`, `int32`, `uint32`, `float32`).
* Add batch processing to `transform_and_add_counts` to support batch processing of stars.
* Add `auto` option to calculate temporal oversample factor based on star velocities.
* Add option to turn off serializing config data to pickle file (`save_pickle`).
* Add option to turn off png movie output (`save_movie`).
* Add `crop_and_resize` and `flip` image augmentation.
* Set pixels with values beyond the pixel data type's capacity to the maximum value for that data type.
* Add `lognormal` function to generate a distribution with a true target mean.
* Fix issue with sidereal track.
* Fix issue with fragment velocity not being randomly sampled.


0.9.0
---------------------

* Add Physical Optics Propagation in Python (POPPY) PSF generation.
* Add PSF augmentation with `$pipeline` replacement key.
* Add `$function` and `$compound` replacement key.
* Add ability to generate stray light from a `$function` replacement key.
* Add built-in 2D polynomial image generator for stray light, `polygrid2d`.
* Add built-in cosine fourth image generator for irradiance falloff, `radial_cos2d`.
* Add built-in sine wave image generator for fix pattern noise, `sin2d`.
* Add built-in image generator from AstroPy model, `astropy_model2d`.
* Add built-in image augmentation, `scatter_shift` and `scatter_shift_polar`.
* Add `$cache` replacement key (caching works for PSF and `$function`).


0.8.3
---------------------

* Fix new Skyfield incompatibility.


0.8.2
---------------------

* Prefix replacement keys with `$` in SatSim configuration file.
* Add option to scale collision fragments by cosine of the exit angle.


0.8.1
---------------------

* Add astrometric metadata into FITS header
* Refactor WCS library
* Add option to flip images about x or y axis
* Add option to refresh stars for each frame
* Add RPO from TLE generator


0.8.0
---------------------

* Add two body propagator
* Add object `create`, `delete`, and `update` events
* Add collision generator
* Add breakup generator
* Add `ref` keyword to configuration
* Add `key` keyword to `import` configuration
* Refactor astrometric library


0.7.2
---------------------

* Add option to specify star and obs velocity in polar coordinates


0.7.1
---------------------

* Add option to turn off shot noise: `sim.enable_shot_noise: true`
* Add option to turn off annotation boxes in image: `sim.show_obs_boxes: true`
* Add option to specify velocity in arcseconds: `sim.velocity_units: arcsec`
* Fix PNG output threading issue


0.7.0
---------------------

* Add function pipelines to support variable target brightness


0.6.1
---------------------

* Fix built-in generators not included in distribution
* Add dockerfile


0.6.0
---------------------

* Add configuration import.
* Add configuration generator functions.
* Add built-in generator for breakups.
* Add built-in generator for CSOs.
* Add built-in generator for loading TLE files.


0.5.0
---------------------

* Runtime optimization.
* Add parallel processing and multi-gpu utilization.
* Add option to limit gpu memory usage.


0.4.0
---------------------

* Add signal to noise calculation for target pixels.


0.3.0
---------------------

* Add support for two line element set SGP4 satellite propagator.
* Add support for rate and sidereal track from topocentric site.


0.2.0
---------------------

* Add support for SSTR7 star catalog.


0.1.1
---------------------

* Add target position to annotation file.
* Updates to run GitLab CI.


0.1.0
---------------------

* First release.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ssc-ai/satsim",
    "name": "satsim",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "satsim",
    "author": "Alex Cabello",
    "author_email": "alexander.cabello@algoritics.com",
    "download_url": "https://files.pythonhosted.org/packages/6e/02/42de8212d8601cbfd50fa708ceb39d4f25488271d8a8cc236eefe25d4611/satsim-0.20.4.tar.gz",
    "platform": null,
    "description": "SatSim\n======\n\n**SatSim source code was developed under contract with AFRL/RDSM, and is approved for public release under Public Affairs release approval\n#AFRL-2022-1116.**\n\nSatSim is a high fidelity space surveillance optical scene simulation environment built on top of TensorFlow to utilize the speed of CUDA GPUs. SatSim is capable of generating synthetic observation data for SatNet, a deep learning platform for satellite object detection, and can provide users with nearly limitless labeled data. SatSim allows for systematic changes in the synthetic data, such as object brightness and star drift rate. The synthetic data is useful for training deep learning models. The synthetic data can also be used for model evaluation, characterizing performance metrics such as false alarm rate and minimum detectable target (MDT).\n\n![SatSim Example](satsim.jpg)\n\nDocumentation\n-------------\n\n* [Installation](docs/installation.rst)\n* [Usage](docs/usage.rst)\n* [Developers](CONTRIBUTING.rst#getting-started)\n\nVersions\n--------\n\n* [History](HISTORY.md)\n\nHistory\n=======\n\n0.20.4\n---------------------\n\n* Update analytical observation for specified observation frames. `analytical_obs_frame` can be `barycentric`, `geocentric`, or `observer`.\n\n\n0.20.3\n---------------------\n\n* Fix star stellar aberration.\n* Add simulation configuration options for deflection, light transit, and stellar aberration.\n\n\n0.20.2\n---------------------\n\n* Refactor keras_tensor import logic to support multiple TensorFlow/Keras versions.\n* Refactor great circle into separate module.\n* Reorganize CLI tests to run first to prevent TensorFlow configuration errors.\n\n\n0.20.1\n---------------------\n\n* Refactor two-body propagation to remove `poliastro` dependency.\n* Add object identification fields to analytical observations.\n\n\n0.20.0\n---------------------\n\n* Add analytical observations with noise modeling capability.\n* Fix electronic noise casting issue in add_read_noise function.\n\n\n0.19.4\n---------------------\n\n* Fix observer altitude units.\n* Fix apparent position of stars to include stellar aberration.\n\n\n0.19.3\n---------------------\n\n* Add object ID to FITS and annotations.\n\n\n0.19.2\n---------------------\n\n* Add `rate-sidereal` track mode. This mode takes n - 1 rate track frames and the last frame in sidereal tracking mode.\n\n\n0.19.1\n---------------------\n\n* Add `TRKMODE` to fits header.\n\n\n0.19.0\n---------------------\n\n* Add lambertian sphere brightness model for objects. Set object key `model` `mode` to `lambertian_sphere` and set `albedo` and `size` (meters) parameters. For 2D simulations, `distance` (km) and `phase_angle` (degrees) parameters must also be specified.\n\n\n0.18.0\n---------------------\n\n* Add turbulent atmosphere to POPPY PSF generation. Set with psf option `turbulent_atmosphere` and sim option `psf_sample_frequency`.\n* Add star and object segmentation annotation. Set sim option `save_segmentation` to `true` and `star_annotation_threshold` to limit stars annotated.\n\n\n0.17.1\n---------------------\n\n* Copy useful TensorFlow Addon (TFA) functions into `tfa` as the TFA project is no longer maintained.\n* Copy tests.\n\n\n0.17.0\n---------------------\n\n* Add JSON schema definitions. See `schema/v1/Document.json` for root schema file.\n* Add observation object type.\n* Add support for cropped sensors.\n* Add altitude to site object. Set site `alt` parameter in km. Default is 0.\n\n\n0.16.0\n---------------------\n\n* Add option to annotate stars. Set sim option `star_annotation_threshold` to the minimum star brightness magnitude or `false` to disable. Disabled by default.\n* Add option to show annotated stars in annotated images. Set sim option `show_star_boxes` to `true` to enable.\n\n\n0.15.1\n---------------------\n\n* Remove clipping of negative values in ground truth files by default.\n* Fix missing dependencies for ground truth file generation.\n\n\n0.15.0\n---------------------\n\n* Add support to save ground truth image data to the Annotations directory. Set sim option `save_ground_truth` to `true`.\n* Add support for running on CPU with no GPU acceleration.\n* Add CZML options for sensor visualization and object billboard image.\n\n\n0.14.0\n---------------------\n\n* Add vector math library.\n* Add CZML output for sensor visualization.\n* Fix objects not updating properly when image renderer is off.\n\n\n0.13.1\n---------------------\n\n* Add argument to set folder name in `gen_multi`.\n* Add environment variable, `SATSIM_SKYFIELD_LOAD_DIR`, to specify location of Skyfield ephemeris files.\n* Fix incorrect CZML output when image renderer is off.\n\n\n0.13.0\n---------------------\n\n* Add ephemeris objects that are propagated with the Lagrange interpolator.\n* Add Cesium CZML output. Set sim option `save_czml` to `false` to disable.\n* Add CSV text file star catalog loader. This feature is useful for small catalogs such as Hipparcos and simulating wide FOV sensors.\n* Add multiplier and clipping for radial cosine.\n* Add option to skip image rendering. Set sim option `mode` to `none` to bypass image rendering.\n* Update interfaces for newest version of Skyfield, Poliastro, POPPY, and AstroPy.\n* Fix star renderer issue removing stars in field of view for non-square arrays.\n\n\n0.12.0\n---------------------\n\n* Add augmentation of SatNet `tf.data.Dataset`. This feature allows injecting synthetic targets into real data during training.\n* Add FFT convolution to `add_patch` sprite render and `scatter_shift` image augmenter for speed improvement.\n* Add cache last PSF FFT to `fftconv2p` for speed improvement for static PSFs.\n* Add two-body state vector as a trackable target.\n* Add moon and sun model and misc methods to calculate phase angle and target brightness.\n\n\n0.11.0\n---------------------\n\n* Add support to render star motion with FFT. Set sim option `star_render_mode` to `fft`.\n* Add option to sample photon noise multiple times. Set sim option `num_shot_noise_samples` to integer number.\n* Add support to render a satellite as a sprite. Set `model` option in obs.\n* Add support to load and augment sprite model with `$pipeline` operator.\n* Add cropped POPPY PSF generation.\n* Fix GreatCircle propagator tracking offset.\n* Fix runtime exception when site and track_mode are not defined.\n* Add TensorFlow 2.6 and update TensorFlow 2.2 and 2.4 Docker build file.\n\n\n0.10.0\n---------------------\n\n* Add support for piecewise rendering. Set sim option `render_size` to enable. For example, [256, 256].\n* Add `fixed` tracking mode with mount azimuth and elevation.\n* Add great circle propagator for targets.\n* Add in-memory image generation. See generator function `image_generator`.\n* Fix missing stars when FOV crosses zero degree RA.\n* Add curved targets using bezier curve raster. Enabled by default. Set sim option `num_target_samples` to 2 to enable linear raster.\n* Add LRU cache to star catalog reader.\n* Add option to turn off SNR calculation. Set sim option `calculate_snr` to false will render targets and stars together.\n* Handle unstable SGP4 TLEs.\n* Add TensorFlow 2.4 Docker build file.\n* Add debug output for pristine images of targets and stars.\n\n\n0.9.1\n---------------------\n\n* Calculate POPPY input wavefront resolution to avoid PSF aliasing.\n* Add support for additional FITS image data types (`int16`, `uint16`, `int32`, `uint32`, `float32`).\n* Add batch processing to `transform_and_add_counts` to support batch processing of stars.\n* Add `auto` option to calculate temporal oversample factor based on star velocities.\n* Add option to turn off serializing config data to pickle file (`save_pickle`).\n* Add option to turn off png movie output (`save_movie`).\n* Add `crop_and_resize` and `flip` image augmentation.\n* Set pixels with values beyond the pixel data type's capacity to the maximum value for that data type.\n* Add `lognormal` function to generate a distribution with a true target mean.\n* Fix issue with sidereal track.\n* Fix issue with fragment velocity not being randomly sampled.\n\n\n0.9.0\n---------------------\n\n* Add Physical Optics Propagation in Python (POPPY) PSF generation.\n* Add PSF augmentation with `$pipeline` replacement key.\n* Add `$function` and `$compound` replacement key.\n* Add ability to generate stray light from a `$function` replacement key.\n* Add built-in 2D polynomial image generator for stray light, `polygrid2d`.\n* Add built-in cosine fourth image generator for irradiance falloff, `radial_cos2d`.\n* Add built-in sine wave image generator for fix pattern noise, `sin2d`.\n* Add built-in image generator from AstroPy model, `astropy_model2d`.\n* Add built-in image augmentation, `scatter_shift` and `scatter_shift_polar`.\n* Add `$cache` replacement key (caching works for PSF and `$function`).\n\n\n0.8.3\n---------------------\n\n* Fix new Skyfield incompatibility.\n\n\n0.8.2\n---------------------\n\n* Prefix replacement keys with `$` in SatSim configuration file.\n* Add option to scale collision fragments by cosine of the exit angle.\n\n\n0.8.1\n---------------------\n\n* Add astrometric metadata into FITS header\n* Refactor WCS library\n* Add option to flip images about x or y axis\n* Add option to refresh stars for each frame\n* Add RPO from TLE generator\n\n\n0.8.0\n---------------------\n\n* Add two body propagator\n* Add object `create`, `delete`, and `update` events\n* Add collision generator\n* Add breakup generator\n* Add `ref` keyword to configuration\n* Add `key` keyword to `import` configuration\n* Refactor astrometric library\n\n\n0.7.2\n---------------------\n\n* Add option to specify star and obs velocity in polar coordinates\n\n\n0.7.1\n---------------------\n\n* Add option to turn off shot noise: `sim.enable_shot_noise: true`\n* Add option to turn off annotation boxes in image: `sim.show_obs_boxes: true`\n* Add option to specify velocity in arcseconds: `sim.velocity_units: arcsec`\n* Fix PNG output threading issue\n\n\n0.7.0\n---------------------\n\n* Add function pipelines to support variable target brightness\n\n\n0.6.1\n---------------------\n\n* Fix built-in generators not included in distribution\n* Add dockerfile\n\n\n0.6.0\n---------------------\n\n* Add configuration import.\n* Add configuration generator functions.\n* Add built-in generator for breakups.\n* Add built-in generator for CSOs.\n* Add built-in generator for loading TLE files.\n\n\n0.5.0\n---------------------\n\n* Runtime optimization.\n* Add parallel processing and multi-gpu utilization.\n* Add option to limit gpu memory usage.\n\n\n0.4.0\n---------------------\n\n* Add signal to noise calculation for target pixels.\n\n\n0.3.0\n---------------------\n\n* Add support for two line element set SGP4 satellite propagator.\n* Add support for rate and sidereal track from topocentric site.\n\n\n0.2.0\n---------------------\n\n* Add support for SSTR7 star catalog.\n\n\n0.1.1\n---------------------\n\n* Add target position to annotation file.\n* Updates to run GitLab CI.\n\n\n0.1.0\n---------------------\n\n* First release.\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Satellite observation and scene simulator.",
    "version": "0.20.4",
    "project_urls": {
        "Homepage": "https://github.com/ssc-ai/satsim"
    },
    "split_keywords": [
        "satsim"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "311bb47217ffe6ba51324f5d1af36e245dfbdf41e125dee845919347fbaef4b2",
                "md5": "3bf6ea030b8c93fd6c27fdbc870c93b3",
                "sha256": "148989fa3b616360862b717dcfe0e09758655093a257d65e509329054617c92a"
            },
            "downloads": -1,
            "filename": "satsim-0.20.4-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3bf6ea030b8c93fd6c27fdbc870c93b3",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 144525,
            "upload_time": "2025-07-14T19:43:55",
            "upload_time_iso_8601": "2025-07-14T19:43:55.277973Z",
            "url": "https://files.pythonhosted.org/packages/31/1b/b47217ffe6ba51324f5d1af36e245dfbdf41e125dee845919347fbaef4b2/satsim-0.20.4-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e0242de8212d8601cbfd50fa708ceb39d4f25488271d8a8cc236eefe25d4611",
                "md5": "13c84d560868279213f72c7d618fa641",
                "sha256": "f2d7ed0eccf86d1c283d9549cf6f4d2ef9090f7eb169a770a1747d645709651f"
            },
            "downloads": -1,
            "filename": "satsim-0.20.4.tar.gz",
            "has_sig": false,
            "md5_digest": "13c84d560868279213f72c7d618fa641",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 930892,
            "upload_time": "2025-07-14T19:43:57",
            "upload_time_iso_8601": "2025-07-14T19:43:57.408171Z",
            "url": "https://files.pythonhosted.org/packages/6e/02/42de8212d8601cbfd50fa708ceb39d4f25488271d8a8cc236eefe25d4611/satsim-0.20.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-14 19:43:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ssc-ai",
    "github_project": "satsim",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "satsim"
}
        
Elapsed time: 0.84263s