<gh_stars>0
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Command-line utility to simulate TESS FITS images for the photometry pipeline.

Structure inspired by `run_tessphot` by <NAME>.

.. codeauthor:: <NAME> <<EMAIL>>
"""

#import os
import argparse
#import logging
from simulation.simulateFITS import simulateFITS

if __name__ == '__main__':

	# Parse command-line arguments:
	parser = argparse.ArgumentParser(description='Simulate FITS images to be used by the photometry pipeline.')
	parser.add_argument('-s', '--Nstars', help='Number of stars in image', type=int, default=5)
	parser.add_argument('-t', '--Ntimes', help='Number of time steps and FITS images', type=int, default=5)
	parser.add_argument('-d', '--debug', help='Print debug messages.', action='store_true')
	parser.add_argument('-q', '--quiet', help='Only report warnings and errors.', action='store_true')
	args = parser.parse_args()

#	# Set logging level:
#	logging_level = logging.INFO
#	if args.quiet:
#		logging_level = logging.WARNING
#	elif args.debug:
#		logging_level = logging.DEBUG

	# Run the program:
	simulateFITS(Nstars=args.Nstars, Ntimes=args.Ntimes,
		save_images=True, overwrite_images=True)

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Command-line utility to simulate TESS FITS images for the photometry pipeline.

Structure inspired by `run_tessphot` by <NAME>.

.. codeauthor:: <NAME> <<EMAIL>>
"""

#import os
import argparse
#import logging
from simulation.simulateFITS import simulateFITS

if __name__ == '__main__':

	# Parse command-line arguments:
	parser = argparse.ArgumentParser(description='Simulate FITS images to be used by the photometry pipeline.')
	parser.add_argument('-s', '--Nstars', help='Number of stars in image', type=int, default=5)
	parser.add_argument('-t', '--Ntimes', help='Number of time steps and FITS images', type=int, default=5)
	parser.add_argument('-d', '--debug', help='Print debug messages.', action='store_true')
	parser.add_argument('-q', '--quiet', help='Only report warnings and errors.', action='store_true')
	args = parser.parse_args()

#	# Set logging level:
#	logging_level = logging.INFO
#	if args.quiet:
#		logging_level = logging.WARNING
#	elif args.debug:
#		logging_level = logging.DEBUG

	# Run the program:
	simulateFITS(Nstars=args.Nstars, Ntimes=args.Ntimes,
		save_images=True, overwrite_images=True)
#!/usr/bin/env python3 # -*- coding: utf-8 -*- Command-line utility to simulate TESS FITS images for the photometry pipeline.  Structure inspired by `run_tessphot` by <NAME>.  .. codeauthor:: <NAME> <<EMAIL>> #import os #import logging # Parse command-line arguments: #	# Set logging level: #	logging_level = logging.INFO #	if args.quiet: #		logging_level = logging.WARNING #	elif args.debug: #		logging_level = logging.DEBUG # Run the program: