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

todo: incorporate distance in the image #1

Open
SergeKrier opened this issue May 14, 2017 · 3 comments
Open

todo: incorporate distance in the image #1

SergeKrier opened this issue May 14, 2017 · 3 comments

Comments

@SergeKrier
Copy link
Collaborator

No description provided.

@raresct
Copy link
Owner

raresct commented May 16, 2017

As per Marteen's email, we should transform the mass to mass to luminosity ratio, and luminosity = 4 * pi * d^2 * flux. Then we should remove distance from the features.

@SergeKrier
Copy link
Collaborator Author

in initial implementation, we totally missed the fact that original image size :

  1. varies -> need to image size as feature
  2. size is usually smaller than 224x224 (for vgg/resnet) , thus need upscaling -> use cv2 linear or cubic interpolation

@raresct
Copy link
Owner

raresct commented May 26, 2017

Currently we use:

  • flux as the sum of the image after imagecleanup2 step.
  • for evaluation, the error is defined as:
df['lin_mass'] = np.power(10, df.logMstar)
df['lin_err'] = df.lin_mass * np.log(10) * df.err_logMstar
err_lin_to_L = df.lin_err.values[:N]/(df.LtoFlux[:N]*Xflux)

Current gold solution is using linear interpolation, I haven't tried cubic yet.

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

No branches or pull requests

2 participants