Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing stella deprecations and tutorial #33

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bellalongo
Copy link

Changes:
requirements.txt:

  • updating packages to be compatible

download_nn_set.py:

  • old code downloaded the incorrect catalog, adjusted it so it downloads the catalog from sectors 1 and 2 from Vizier

nueral_network.py:

  • cleaned the lightcurve data to remove NaNs by creating a function called clean_data()
  • made sure that the cadence for the input shape was an integer instead of a np.array
  • created a new model using the same input layer and outputs for it to be compilable
  • when compiling, adding metrics parameters and pointing the model to the compiled model
  • adjusted lightcurve formatting to check if the lightcurve data is in array format or not
  • reformatted the lightcurve to be of type float
  • adjusted formatting for checking if the time or lightcurve are NaNs

results:

  • folder to store the ensemble models

trainig_data:

  • folder to store the flare catalog and the training data

tutorial.py:

  • adjusted directories for downloading the data so it is accessible to all users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant