Skip to content

Commit 7b1a50a

Browse files
committed
Release 0.0.142
1 parent 85a28d8 commit 7b1a50a

29 files changed

+259
-178
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "axiomatic"
33

44
[tool.poetry]
55
name = "axiomatic"
6-
version = "0.0.141"
6+
version = "0.0.142"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

+32-8
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,7 @@ client = Axiomatic(
11291129
api_key="YOUR_API_KEY",
11301130
)
11311131
client.digital_twin.optimize(
1132+
model_name="PNJunctionSiliconOnInsulatorWavelength",
11321133
parameters=[
11331134
NamedQuantity(
11341135
name="name",
@@ -1186,6 +1187,14 @@ client.digital_twin.optimize(
11861187
<dl>
11871188
<dd>
11881189

1190+
**model_name:** `ModelNames`
1191+
1192+
</dd>
1193+
</dl>
1194+
1195+
<dl>
1196+
<dd>
1197+
11891198
**parameters:** `typing.Sequence[NamedQuantity]`
11901199

11911200
</dd>
@@ -1286,12 +1295,19 @@ Evaluate Digital Twin Model
12861295
<dd>
12871296

12881297
```python
1289-
from axiomatic import Axiomatic, NamedQuantity, NamedQuantityList, Quantity
1298+
from axiomatic import (
1299+
Axiomatic,
1300+
EvaluatePoint,
1301+
InputValues,
1302+
NamedQuantity,
1303+
Quantity,
1304+
)
12901305

12911306
client = Axiomatic(
12921307
api_key="YOUR_API_KEY",
12931308
)
12941309
client.digital_twin.evaluate(
1310+
model_name="PNJunctionSiliconOnInsulatorWavelength",
12951311
parameters=[
12961312
NamedQuantity(
12971313
name="name",
@@ -1301,11 +1317,19 @@ client.digital_twin.evaluate(
13011317
),
13021318
)
13031319
],
1320+
target_function="delta_n_eff",
13041321
target_unit="target_unit",
1305-
input=NamedQuantityList(
1322+
input_values=InputValues(
13061323
name="name",
13071324
unit="unit",
1308-
magnitudes=[1.1],
1325+
points=[
1326+
EvaluatePoint(
1327+
value_x=1.1,
1328+
percentage_coord_x=1.1,
1329+
value_y=1.1,
1330+
percentage_coord_y=1.1,
1331+
)
1332+
],
13091333
),
13101334
)
13111335

@@ -1323,39 +1347,39 @@ client.digital_twin.evaluate(
13231347
<dl>
13241348
<dd>
13251349

1326-
**parameters:** `typing.Sequence[NamedQuantity]`
1350+
**model_name:** `ModelNames`
13271351

13281352
</dd>
13291353
</dl>
13301354

13311355
<dl>
13321356
<dd>
13331357

1334-
**target_unit:** `str`
1358+
**parameters:** `typing.Sequence[NamedQuantity]`
13351359

13361360
</dd>
13371361
</dl>
13381362

13391363
<dl>
13401364
<dd>
13411365

1342-
**input:** `NamedQuantityList`
1366+
**target_function:** `Targets`
13431367

13441368
</dd>
13451369
</dl>
13461370

13471371
<dl>
13481372
<dd>
13491373

1350-
**constants:** `typing.Optional[typing.Sequence[NamedQuantity]]`
1374+
**target_unit:** `str`
13511375

13521376
</dd>
13531377
</dl>
13541378

13551379
<dl>
13561380
<dd>
13571381

1358-
**plot_meta:** `typing.Optional[PlotMeta]`
1382+
**input_values:** `InputValues`
13591383

13601384
</dd>
13611385
</dl>

src/axiomatic/__init__.py

+22-24
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
CreateApiKeyrequest,
1717
CreateUserRequest,
1818
CreateUserResponse,
19+
EvaluatePoint,
1920
EvaluateResult,
20-
EvaluateResultEvalValue,
21+
EvaluateResultValue,
2122
ExecuteCodeResponse,
2223
ExecuteResponse,
2324
Expression,
@@ -42,11 +43,13 @@
4243
GetSpectrumResponseSpectrumValueItem,
4344
HttpValidationError,
4445
InformalizeStatementResponse,
46+
InputValues,
4547
LayoutInfo,
4648
LeanFormalizeResponse,
4749
LeanProveResponse,
4850
ListModelsResult,
4951
ModelInfo,
52+
ModelNames,
5053
ModelParameterInfo,
5154
ModelTargetInfo,
5255
NamedQuantity,
@@ -81,17 +84,12 @@
8184
PlotInfoDtoYAxisMax,
8285
PlotInfoDtoYAxisMin,
8386
PlotInfoDtoYAxisTickValuesItem,
84-
PlotInfoInputXAxisMax,
85-
PlotInfoInputXAxisMin,
86-
PlotInfoInputYAxisMax,
87-
PlotInfoInputYAxisMin,
88-
PlotInfoOutputXAxisMax,
89-
PlotInfoOutputXAxisMin,
90-
PlotInfoOutputXAxisTickValuesItem,
91-
PlotInfoOutputYAxisMax,
92-
PlotInfoOutputYAxisMin,
93-
PlotInfoOutputYAxisTickValuesItem,
94-
PlotMeta,
87+
PlotInfoXAxisMax,
88+
PlotInfoXAxisMin,
89+
PlotInfoXAxisTickValuesItem,
90+
PlotInfoYAxisMax,
91+
PlotInfoYAxisMin,
92+
PlotInfoYAxisTickValuesItem,
9593
PlotParserOutput,
9694
PlotParserOutputV2Dto,
9795
PortInstanceLayoutInfo,
@@ -109,6 +107,7 @@
109107
StatusResponse,
110108
SummarizerResponse,
111109
Symbol,
110+
Targets,
112111
ToolsListResponse,
113112
Type,
114113
UnformalizableStatement,
@@ -147,8 +146,9 @@
147146
"CreateApiKeyrequest",
148147
"CreateUserRequest",
149148
"CreateUserResponse",
149+
"EvaluatePoint",
150150
"EvaluateResult",
151-
"EvaluateResultEvalValue",
151+
"EvaluateResultValue",
152152
"ExecuteCodeResponse",
153153
"ExecuteResponse",
154154
"Expression",
@@ -173,11 +173,13 @@
173173
"GetSpectrumResponseSpectrumValueItem",
174174
"HttpValidationError",
175175
"InformalizeStatementResponse",
176+
"InputValues",
176177
"LayoutInfo",
177178
"LeanFormalizeResponse",
178179
"LeanProveResponse",
179180
"ListModelsResult",
180181
"ModelInfo",
182+
"ModelNames",
181183
"ModelParameterInfo",
182184
"ModelTargetInfo",
183185
"NamedQuantity",
@@ -212,17 +214,12 @@
212214
"PlotInfoDtoYAxisMax",
213215
"PlotInfoDtoYAxisMin",
214216
"PlotInfoDtoYAxisTickValuesItem",
215-
"PlotInfoInputXAxisMax",
216-
"PlotInfoInputXAxisMin",
217-
"PlotInfoInputYAxisMax",
218-
"PlotInfoInputYAxisMin",
219-
"PlotInfoOutputXAxisMax",
220-
"PlotInfoOutputXAxisMin",
221-
"PlotInfoOutputXAxisTickValuesItem",
222-
"PlotInfoOutputYAxisMax",
223-
"PlotInfoOutputYAxisMin",
224-
"PlotInfoOutputYAxisTickValuesItem",
225-
"PlotMeta",
217+
"PlotInfoXAxisMax",
218+
"PlotInfoXAxisMin",
219+
"PlotInfoXAxisTickValuesItem",
220+
"PlotInfoYAxisMax",
221+
"PlotInfoYAxisMin",
222+
"PlotInfoYAxisTickValuesItem",
226223
"PlotParserOutput",
227224
"PlotParserOutputV2Dto",
228225
"PortInstanceLayoutInfo",
@@ -240,6 +237,7 @@
240237
"StatusResponse",
241238
"SummarizerResponse",
242239
"Symbol",
240+
"Targets",
243241
"ToolsListResponse",
244242
"Type",
245243
"UnformalizableStatement",

src/axiomatic/core/client_wrapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "axiomatic",
19-
"X-Fern-SDK-Version": "0.0.141",
19+
"X-Fern-SDK-Version": "0.0.142",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

0 commit comments

Comments
 (0)