Last active
February 17, 2020 16:55
-
-
Save tspriggs/d40f0ea9a2f9c960efc436b754c14855 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logger.info(f"N fitted PNe: {}") | |
logger.info(f"PNLF N: {}") | |
logger.info(f"Bolometric luminosity: {}") | |
logger.info(f"L_bol error: {} {}") | |
logger.info(f"Rmag: {}") | |
logger.info(f"Vmag: {}") | |
logger.info(f"Distance (Mpc) +/-: {} {}") | |
logger.info(f"dM +/-: {} {}") | |
logging.basicConfig(filename=f"{EXPORT_DIR}{galaxy_name}_{loc}_log.log", level=logging.INFO, format="%(asctime)s -%(message)s", datefmt="%d-%b-%y %H:%M:%S") | |
logger = logging.getLogger() | |
logger.info("Starting PNe analysis") | |
import logging | |
peak_filter = np.where(objects["peak"]<30) | |
x_sep = objects["x"][peak_filter] | |
y_sep = objects["y"][peak_filter] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment