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

"Name ferr is not defined" #9

Closed
kathmcp opened this issue Jul 7, 2021 · 7 comments
Closed

"Name ferr is not defined" #9

kathmcp opened this issue Jul 7, 2021 · 7 comments

Comments

@kathmcp
Copy link

kathmcp commented Jul 7, 2021

Hi, I am trying to run a contact binary model using the PHOEBE web client, and I keep getting the error "Name ferr is not defined". This is my first attempt so it's quite possible I am missing something.

Also, I am not sure if I will need to flip constraints or not yet, but if I do, is this possible with the web UI, or would I need to use Python?

Any help would be much appreciated. Thanks!

@kecnry
Copy link
Member

kecnry commented Jul 7, 2021

Are you using ui.phoebe-project.org? If not, can you please let me know the UI and phoebe version (shown in the lower right and lower left, respectively)?

I can't reproduce the error, so can you please try to reproduce it from scratch and let me know the steps you take that give this error message?

You can flip constraints from the UI. The constraint parameters themselves are hidden by default, you can view them in one of two ways:

  1. Unhide all constraints under the "show options" menu in the top-left:
    image

  2. or follow the link to a constraint from a constrained parameter (click the empty square to "pin" the parameter and then again to follow the link to the constraint parameter itself):
    constraint_show

You can then click on the "value" of the constraint parameter and choose which parameter you want to be constrained in its place.
constraint_edit
constraint_edit

@kathmcp
Copy link
Author

kathmcp commented Jul 9, 2021

Hi,

Thanks for the information on flipping constraints, that's really helpful.

I am using ui.phoebe-project.org, in Google Chrome, and it gives UI and Phoebe versions of 1.0.0 and 2.3.44 in the lower right and left.

I start with a default binary, add light curves (times, fluxes and flux errors) from a csv file, enter the exposure time, filter type, set the period, and add an envelope. I leave everything else as default values for now. When I run compute, it initially says success, then it says the error "Name ferr is not defined" when it gets to the attached screen.

If I run it leaving the period at the default of 1.0d, the error doesn't appear. When it gets to the screen below, it does initially have a red skull and crossbones against the detached_job@latest@model, but then this changes to loaded and 3 other parameters appear below it.

I have also tried changing the rest of the inputs from default to what I think are correct for my system, but it still comes up with this error (when I use the correct period).
ferrError

Hope this helps! Thanks again.

@kathmcp
Copy link
Author

kathmcp commented Jul 9, 2021

Hi again,

I just tried it again, with all my calculated inputs for my system, and the error has disappeared! Thanks again anyway!

@kecnry
Copy link
Member

kecnry commented Jul 9, 2021

Ok, I can't seem to reproduce the "ferr" message. As long as it doesn't crash and still provides the synthetic model, then I don't think its anything to worry about too much.

The skull and crossbones just allows you to cancel a job that is currently running (the symbol will probably change in a future release since it seems to cause confusion).

If you have a contact system, I would suggest starting with a contact system instead of adding an envelope (otherwise you need to update the hierarchy parameter in python, as that is not supported in the UI yet). In fact, I created a separate issue (#10) to remove the ability to add components from the UI in the meantime.

@kecnry kecnry closed this as completed Jul 9, 2021
@kathmcp
Copy link
Author

kathmcp commented Jul 9, 2021

OK thanks for that. I thought by adding an envelope I was making it a contact binary. How do I start with a contact system from the web UI?

@kecnry
Copy link
Member

kecnry commented Jul 9, 2021

Yep, I'll try to make that more clear in the UI in the future. If you click the arrow that appears on the right when hovering over "default binary" you'll get options for detached, semi-detached, or contact.

@kathmcp
Copy link
Author

kathmcp commented Jul 9, 2021

Fantastic, thanks again! 👍

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